SimDoc MCP Server

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.

Category
访问服务器

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 metadata
  • get-simulator-docs - Search code snippets and documentation

Example Queries

  1. Battery Simulations

    • "How do I simulate SEI layer growth in PyBaMM?"
    • "Show me battery calendar aging examples"
    • "How to simulate realistic driving conditions?"
  2. Reactor Networks

    • "Set up a continuously stirred reactor in Cantera"
    • "Calculate ignition delay times"
  3. 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

  1. 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
    
  2. Check the URL is correct

    • Should be: https://simdoc.subspace-lab.com/sse
    • Common mistake: Using http:// instead of https://
  3. Restart your AI client completely

    # Claude Desktop (macOS)
    killall Claude && open -a Claude
    
  4. Test the endpoint directly

    curl https://simdoc.subspace-lab.com/sse
    # Expected: "event: endpoint" response
    
  5. Check your AI client's MCP logs

    • Claude Desktop (macOS): ~/Library/Logs/Claude/mcp*.log
    • Look for connection errors or timeout messages

📖 More Information


🤝 Contributing

Contributions welcome! See the main repository for guidelines.


📝 License

MIT License - see LICENSE file for details.


Built with ❤️ for the scientific computing community

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选