demeter-mcp
Generates LaTeX-based PDF reports for EXAFS fitting results using XeLaTeX.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@demeter-mcprun a headless EXAFS fit on my sample"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
demeter-mcp
MCP bridge for Demeter / Artemis / IFEFFIT EXAFS fitting. Lets Grok (or any MCP client) run headless fits, build Artemis projects, generate LaTeX reports, and launch the Artemis GUI.
Requirements
Windows (tested)
Demeter / Artemis (e.g.
<DEMETER_INSTALL_DIR>)Python 3.10+ with
mcppackageXeLaTeX (optional, for PDF reports via
demeter_fit_and_report)
Related MCP server: xraylarch-mcp
Grok configuration
Add to ~/.grok/config.toml:
[mcp_servers.demeter]
command = "D:\\anaconda3\\python.exe"
args = ["C:\\path\\to\\demeter-mcp\\server.py"]
env = { DEMETER_BASE = "D:\\DemeterPerl", DEMETER_PYTHON = "D:\\anaconda3\\python.exe" }
enabled = true
startup_timeout_sec = 30
tool_timeout_sec = 900Restart Grok and verify with /mcps.
MCP tools (6)
Tool | Description |
| Verify Demeter/Perl/IFEFFIT |
| List Athena |
| Generic headless EXAFS fit |
| Build |
| One-click |
| Launch Artemis GUI |
One-click fit batch
demeter_fit_and_report with project_base pointing to your XAFS project root:
project_base = <YOUR_XAFS_PROJECT_DIR>Defaults: data/MoOx.prj, results/Feff_aMoO3/feff.inp, ΔE₀ restrained to ±10 eV.
Output layout:
Fit_XX/
├── *.fpj
├── *_report.pdf
└── other/ # tex, json, logsCLI (without MCP)
python scripts/fit_and_report.py config.jsonLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
QuLab MCP remote server (Streamable HTTP) for computational science and lab tools.
NREL MCP — wraps the US National Renewable Energy Laboratory developer API
UMLS MCP — wraps the NLM UMLS Terminology Services REST API (uts-ws.nlm.nih.gov/rest)
MCP server for aerospace calculations: orbital mechanics, ephemeris, DSN operations, ...
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables to interact with Abaqus FEA software through an MCP bridge, supporting connection checks, script execution, model queries, job submission, and simulation automation.3-
- AlicenseNot gradedqualityDmaintenanceMCP server that wraps xraylarch for X-ray spectroscopy analysis, enabling loading, processing, analyzing, and plotting XAS/XAFS spectra through natural language.2BSD 3-Clause
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides access to xraylib X-ray interaction data through a standardized interface. Query cross-sections, fluorescence lines, edge energies, and more from any MCP-compatible client.1003BSD 3-Clause
- FlicenseNot gradedqualityCmaintenanceA clean MCP server and ACT extension for controlling ANSYS Workbench and ANSYS Mechanical from any MCP client, enabling launching Workbench journals, executing Mechanical Python scripts, and interacting with a running Mechanical session via file queue or socket timer bridge.-