demeter-mcp
MCP bridge for Demeter/Artemis EXAFS fitting. Enables headless fits, building Artemis projects, generating LaTeX reports, and launching the Artemis GUI.
README
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.
D:\DemeterPerl) - Python 3.10+ with
mcppackage - XeLaTeX (optional, for PDF reports via
demeter_fit_and_report)
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 = 900
Restart Grok and verify with /mcps.
MCP tools (6)
| Tool | Description |
|---|---|
demeter_check |
Verify Demeter/Perl/IFEFFIT |
demeter_list_prj_records |
List Athena .prj records |
demeter_run_fit |
Generic headless EXAFS fit |
demeter_build_artemis_project |
Build .fpj (2-shell a-MoO₃ model) |
demeter_fit_and_report |
One-click Fit_XX batch (fpj + PDF + other/) |
demeter_open_artemis |
Launch Artemis GUI |
One-click fit batch
demeter_fit_and_report with project_base pointing to your XAFS project root:
project_base = E:\XAFS\...\Mo
Defaults: data/MoOx.prj, results/Feff_aMoO3/feff.inp, ΔE₀ restrained to ±10 eV.
Output layout:
Fit_XX/
├── *.fpj
├── *_report.pdf
└── other/ # tex, json, logs
CLI (without MCP)
python scripts/fit_and_report.py config.json
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.