dfxm-geo-mcp
An MCP server that lets an AI client drive the dfxm-geo dark-field X-ray microscopy forward model: validate and scaffold configs, enumerate reachable reflections, and render preview-scale simulations.
Run
uvx dfxm-geo-mcp
Claude Desktop (claude_desktop_config.json):
{"mcpServers": {"dfxm-geo": {"command": "uvx", "args": ["dfxm-geo-mcp"]}}}
Or: pip install dfxm-geo-mcp then dfxm-geo-mcp.
First run pulls a heavy scientific stack (numba/scipy) and warms a JIT cache (~10 s once). No fake demo mode — the sims are real.
Tools
validate_config · find_reflections · predict_visibility (g·b reflection-visibility ranking; structured scores plus a self-contained .html) · scaffold_config · run_forward (analytic preview; saves a PNG and a self-contained .html) · run_rocking (interactive φ-rocking-curve viewer: a single self-contained .html with a frame scrubber + live rocking-curve plot) · start_bootstrap / get_job_status / get_job_result (MC fidelity).
Both run_forward and run_rocking write self-contained HTML (image(s) embedded, all CSS/JS inline, no external origins) that opens full-size in any browser and is surfaced by file-showing clients.
Architecture
A protocol-agnostic ops layer wrapping dfxm-geo, under a thin FastMCP adapter. See docs/superpowers/specs/.
Roadmap (v2)
run_identify · remote HTTP transport · .mcpb bundle.
Release files for dfxm-geo-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dfxm_geo_mcp-0.1.0.tar.gz | 49.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dfxm_geo_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 91.6 kB
Release files / dfxm_geo_mcp-0.1.0.tar.gz
| Download URL | dfxm_geo_mcp-0.1.0.tar.gz |
|---|---|
| Size | 49.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98d384802b53811e11eb44bcab337276469bcc8a2a155ebf10169cdca24bbf71
|
|
BLAKE2b-256 checksum How to use checksums |
c3b31bc585be0704b0b15cf4b6ffee8f7f16e4a21ab33d26a81546ab53a0065b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logRelease files / dfxm_geo_mcp-0.1.0-py3-none-any.whl
| Download URL | dfxm_geo_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 41.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3ea3ba1aba4a4d4102df05a24214914f2b9a8c2ea0b1d61e3d5d87bedf78761
|
|
BLAKE2b-256 checksum How to use checksums |
2c14874f251193d8b2fe39a0c686f3cd508fcd9517c6f8bf18863131cc8aa6b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency log