mcp-atomictoolkit
An MCP-compatible server providing atomistic simulation capabilities through ASE, pymatgen, etc.
βοΈ MCP Atomic Toolkit
[!NOTE] This project is under active development. Interfaces and behavior may evolve.
A FastMCP server for atomistic modeling workflows powered by ASE, pymatgen, and modern ML interatomic potentials.
It gives MCP clients a practical toolkit for:
- building structures,
- running geometry optimization + molecular dynamics,
- analyzing structures/trajectories,
- and downloading generated artifacts (data + plots).
β¨ Why this repo
If you need atomistic workflows exposed as MCP tools (instead of hand-wiring scripts), this project gives you:
- ready-to-call MCP tools for common simulation tasks,
- file-first outputs that are easy to inspect/reuse,
- artifact download URLs so clients donβt need binary blobs in chat context,
- deployment-ready HTTP app with health and server-card endpoints.
π Features
- MCP-native workflows via FastMCP tools
- Structure generation: bulk, surface, molecule, supercell, amorphous, liquid, bicrystal, polycrystal
- Optimization workflows with MLIPs (
kimdefault,nequix/orbsupported) - Molecular dynamics workflows (Velocity Verlet, Langevin, NVT Berendsen)
- Analysis outputs:
- RDF + coordination stats
- MSD + thermodynamic trends
- VACF + diffusion (Green-Kubo)
- Downloadable artifacts (
xyz,extxyz,cif,traj,png,svg,csv,dat, ...) - Registry-friendly endpoints (
/healthz, server card, Streamable HTTP root)
β‘ Quick Start
1) Requirements
- Python 3.11+
2) Install
pip install -r requirements.txt
3) Run locally
uvicorn mcp_atomictoolkit.http_app:app --host 0.0.0.0 --port 10000
Alternative:
python main.py
4) Smoke check
curl -s http://localhost:10000/healthz
Expected response:
{"status":"ok"}
π§° Tooling Overview
Main MCP tools exposed by the server:
build_structure_workflowanalyze_structure_workflowwrite_structure_workflowoptimize_structure_workflowrun_md_workflowanalyze_trajectory_workflowautocorrelation_workflow
Legacy aliases are also included for backward compatibility.
π Endpoints
POST /β primary MCP Streamable HTTP endpointGET /healthzβ health checkGET /.well-known/mcp/server-card.jsonβ MCP server card metadataGET /artifacts/{artifact_id}/{filename}β artifact download route/sse/β compatibility alias path mounted to the MCP app
π¦ Deployment
Render
render.yaml is included and ready to use.
Default start command:
uvicorn mcp_atomictoolkit.http_app:app --host 0.0.0.0 --port $PORT
Docker
docker build -t mcp-atomictoolkit .
docker run --rm -p 7860:7860 mcp-atomictoolkit
ποΈ Project Structure
src/mcp_atomictoolkit/
mcp_server.py # FastMCP tool definitions
http_app.py # Starlette app + routing/endpoints
workflows/core.py # High-level workflow orchestration
analysis/ # Structure/trajectory/VACF analysis logic
structure_operations.py
optimizers.py
md_runner.py
artifact_store.py # Download artifact registration + URLs
π GitHub Pulse
Add your repository path in the URLs below to enable live charts.
Star history
π€ Contributing
- Keep outputs file-based and artifact-friendly.
- When adding tools, usually update both:
workflows/core.pymcp_server.py
- Preserve
http_app.pycompatibility behavior unless intentionally changing deployment contracts.
π License
MIT β see LICENSE.
Related Servers
ShapeBridge
MCP Agent to understand 3D models
PancakeSwap PoolSpy
Tracks newly created liquidity pools on PancakeSwap, providing real-time data for DeFi analysts, traders, and developers.
Medical Terminologies MCP
Unified access to global medical terminologies: ICD-11, SNOMED CT, LOINC, RxNorm, MeSH. 27 tools for medical coding, terminology lookup, and crosswalk mappings.
MCP Location Services for LLM
Provides geocoding, reverse geocoding, routing, and driving distance calculations for LLMs using pgGeocoder and pgrServer.
Malaysia Prayer Time MCP Server
Provides accurate Islamic prayer times for locations throughout Malaysia using the waktusolat.app API.
Hyteria MCP
A server for looking up the daily menu at the Hyteria (B1) restaurant.
Time MCP Server
Provides time-related functions such as current time queries, timezone conversions, and time difference calculations.
Map Traveler
A virtual travel environment for an avatar on Google Maps, utilizing various Google Maps and optional AI image generation APIs.
MCP Hub
A lightweight MCP Hub to centralize your MCP servers in one place.
Trayd
Trade Robinhood with natural language in Claude Code