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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。