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
AI-powered code search for scientific simulation documentation. Search PyBaMM, Cantera, and other simulators directly from your AI coding assistant.
🚀 Quick Start
Using the Public Hosted Service (Recommended)
SimDoc provides a free public MCP server - no installation required.
Endpoint: https://simdoc.subspace-lab.com/sse
Step 1: Add SimDoc to your AI assistant
Choose your tool:
<details> <summary><b>Claude Desktop</b></summary>
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"simdoc": {
"url": "https://simdoc.subspace-lab.com/sse"
}
}
}
</details>
<details> <summary><b>Claude Code</b></summary>
Config file location:
- Project:
.mcp.json(in project root) - User:
~/.claude/settings.local.json
Add this configuration:
{
"mcpServers": {
"simdoc": {
"type": "sse",
"url": "https://simdoc.subspace-lab.com/sse"
}
}
}
</details>
<details> <summary><b>Cursor</b></summary>
Config file location: ~/.cursor/mcp.json
Add this configuration:
{
"mcpServers": {
"simdoc": {
"url": "https://simdoc.subspace-lab.com/sse"
}
}
}
</details>
<details> <summary><b>Cline (VS Code)</b></summary>
Setup: Click "Configure MCP Servers" in Cline extension panel
Add this configuration:
{
"mcpServers": {
"simdoc": {
"url": "https://simdoc.subspace-lab.com/sse",
"alwaysAllow": []
}
}
}
</details>
<details> <summary><b>Windsurf</b></summary>
Config file location: Windsurf MCP settings
Add this configuration:
{
"mcpServers": {
"simdoc": {
"url": "https://simdoc.subspace-lab.com/sse"
}
}
}
</details>
Step 2: Restart your AI assistant
Completely quit and reopen your AI tool.
Step 3: Try it!
Ask your AI assistant:
- "How do I simulate battery aging in PyBaMM?"
- "Show me Cantera reactor network examples"
- "How can I model battery degradation over drive cycles?"
🎯 What You Get
Available Simulators
| Simulator | Documentation | Examples |
|---|---|---|
| PyBaMM | Battery modeling | 120+ files |
| Cantera | Chemical kinetics & thermodynamics | 98+ files |
MCP Tools
resolve-simulator-id- Find simulators by name with metadataget-simulator-docs- Search code snippets and documentation
Example Queries
-
Battery Simulations
- "How do I simulate SEI layer growth in PyBaMM?"
- "Show me battery calendar aging examples"
- "How to simulate realistic driving conditions?"
-
Reactor Networks
- "Set up a continuously stirred reactor in Cantera"
- "Calculate ignition delay times"
-
Thermodynamics
- "How to calculate specific heat of gas mixtures?"
- "Get entropy and enthalpy properties"
🏗️ How It Works
┌──────────────────┐
│ Your AI Client │
│ (Claude/Cursor) │
└────────┬─────────┘
│
│ HTTPS MCP Protocol
│
┌────────▼─────────┐
│ SimDoc Service │ https://simdoc.subspace-lab.com/sse
│ (Hosted) │
└──────────────────┘
SimDoc provides MCP tools to search scientific simulation documentation. Just add the endpoint to your AI client and start asking questions.
🐛 Troubleshooting
MCP tools not appearing in your AI client
-
Verify config file location and syntax
# Claude Desktop (macOS) cat ~/Library/Application\ Support/Claude/claude_desktop_config.json # Validate JSON syntax python3 -m json.tool < config.json -
Check the URL is correct
- Should be:
https://simdoc.subspace-lab.com/sse - Common mistake: Using
http://instead ofhttps://
- Should be:
-
Restart your AI client completely
# Claude Desktop (macOS) killall Claude && open -a Claude -
Test the endpoint directly
curl https://simdoc.subspace-lab.com/sse # Expected: "event: endpoint" response -
Check your AI client's MCP logs
- Claude Desktop (macOS):
~/Library/Logs/Claude/mcp*.log - Look for connection errors or timeout messages
- Claude Desktop (macOS):
📖 More Information
- Example Queries: MCP Showcase - Real usage examples
- Main Repository: SimDoc README - Full project overview
- Report Issues: GitHub Issues
🤝 Contributing
Contributions welcome! See the main repository for guidelines.
📝 License
MIT License - see LICENSE file for details.
Built with ❤️ for the scientific computing community
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.