SimDoc MCP Server
Enables access to scientific simulation documentation and code snippets for simulators like PyBaMM and Cantera. Provides AI-powered search and retrieval of simulation examples and documentation through natural language queries.
README
SimDoc MCP Server
MCP (Model Context Protocol) server providing access to scientific simulation documentation through Claude Desktop and Cursor.
For End Users
Just want to use SimDoc? You don't need to run this server yourself!
Quick Setup (2 minutes)
Step 1: Locate your config file
- Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json - Cursor:
~/.cursor/mcp.json
Step 2: Add SimDoc to your config
{
"mcpServers": {
"simdoc": {
"url": "http://simdoc.subspace-lab.com:8080/sse"
}
}
}
Step 3: Restart Claude Desktop or Cursor
Step 4: Try it out!
Ask Claude:
- "How do I simulate battery aging in PyBaMM?"
- "Show me Cantera reactor network examples"
Features
- π Search scientific simulation documentation (PyBaMM, Cantera, and more)
- π€ AI-powered code snippet retrieval with relevance scoring
- π Structured simulator metadata and version resolution
- π Works with Claude Desktop and Cursor
- π Hosted and maintained - no setup required
Available MCP Tools
resolve-simulator-id
Find simulators by name with metadata, versions, and trust scores.
Example usage in Claude:
"What simulators are available for battery modeling?"
get-simulator-docs
Search and retrieve code snippets from simulator documentation.
Example usage in Claude:
"Show me PyBaMM examples for SEI layer growth" "How do I create a premixed flame in Cantera?"
For Developers
This repository contains the open-source MCP server implementation. It's provided for transparency and as a reference for MCP protocol implementation.
Running Your Own Instance (Optional)
If you want to run your own MCP server instance:
# 1. Clone the repository
git clone https://github.com/jiweiqi/simdoc-mcp.git
cd simdoc-mcp
# 2. Configure backend URL
cp .env.example .env
# Edit .env and set BACKEND_URL
# 3. Run with Docker Compose
docker-compose up -d
Note: You'll need access to a SimDoc backend API. The hosted version uses our internal backend.
Environment Variables
| Variable | Default | Description |
|---|---|---|
BACKEND_URL |
Required | SimDoc backend API endpoint |
HOST |
0.0.0.0 |
Server host to bind to |
PORT |
8080 |
Server port |
LOG_LEVEL |
INFO |
Logging level |
TRANSPORT |
sse |
MCP transport protocol |
Architecture
ββββββββββββββββ
β Claude/Cursorβ MCP Protocol over SSE
ββββββββ¬ββββββββ
β
ββββββββΌββββββββ
β MCP Server β Port 8080 (FastMCP)
β simdoc-mcp β This repository
ββββββββ¬ββββββββ
β HTTP REST API
ββββββββΌββββββββ
β Backend API β SimDoc backend
β β (Separate deployment)
ββββββββββββββββ
This repository contains only the MCP protocol layer. The backend (search, indexing, AI summarization) is maintained separately.
Supported Simulators
Currently available:
- PyBaMM - Python Battery Mathematical Modeling
- Cantera - Chemical kinetics, thermodynamics, and transport
- More coming soon!
Troubleshooting
Tools not appearing in Claude/Cursor
- Verify config file location and syntax
- Make sure you restarted Claude Desktop completely (quit and reopen)
- Check the URL is correct:
http://simdoc.subspace-lab.com:8080/sse
Getting errors when using tools
The hosted server should be running 24/7. If you encounter issues, please open a GitHub issue.
Contributing
This repository is maintained by the SimDoc team. We develop internally and sync to this public repo for transparency.
Want to help?
- Report issues if tools don't work
- Suggest new simulators to add
- Share feedback on search quality
We don't accept code contributions at this time, but appreciate bug reports and feature requests!
Development
Development happens in our private repository and is synced here. This ensures:
- Quality control of the MCP implementation
- Coordination with backend development
- Consistent user experience
License
MIT License - see LICENSE file for details.
Acknowledgments
- Built with FastMCP
- Supports Model Context Protocol
- Designed for scientific computing communities
Support
- Issues: GitHub Issues
- Questions: Open a GitHub issue with your question
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
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.
E2B
Using MCP to run code via e2b.