YADE MCP Server — Claude Code MCP server: features and setup
Connect an AI agent to YADE to search its API, run Python in a live session, and manage long-running simulations.
claude mcp add yade-mcp -- uvx yade-mcpWhat YADE MCP Server does
The server lets an agent browse YADE’s class tree and search API documentation by keyword. With the bridge running, it can execute Python in YADE’s active process, submit scripts as background tasks, inspect their status and output, or stop a task. REPL state persists across calls.
You need YADE and uv; the client starts the server with uvx yade-mcp. Install yade-mcp-bridge into the Python interpreter YADE uses, restart YADE, then start the bridge from its console. Installing the package in a separate conda or venv interpreter won’t work: YADE cannot see packages installed there. The API browsing and search tools work without the bridge.
What it helps with
- look up a YADE class or method
- run Python in an active YADE session
- submit a simulation script as a background task
- inspect task output and status
- stop a run at an iteration boundary
Example prompts for the agent
- Find the YADE API details for
GlobalStiffnessTimeStepperand add it to this model. - Run this simulation script in the background and show me its output.
- Check the current unbalanced force without stopping the simulation.
How to install YADE MCP Server
Platform CLI
claude mcp add yade-mcp -- uvx yade-mcpuvx runs the command named after the package; if the README names another one, use uvx --from yade-mcp <command>
Platform CLI
codex mcp add yade-mcp-server -- uvx yade-mcpuvx runs the command named after the package; if the README names another one, use uvx --from yade-mcp <command>
Config file
{
"mcpServers": {
"yade-mcp-server": {
"command": "uvx",
"args": [
"yade-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from yade-mcp <command>
Config file
{
"servers": {
"yade-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"yade-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from yade-mcp <command>
Platform CLI
gemini mcp add yade-mcp-server uvx yade-mcpuvx runs the command named after the package; if the README names another one, use uvx --from yade-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about YADE MCP Server
How do I install YADE MCP Server in Claude Code?
Register it with claude mcp add yade-mcp -- uvx yade-mcp. Then install yade-mcp-bridge into YADE’s Python interpreter, restart YADE, and start the bridge in its console.
What does YADE MCP Server do?
It gives an agent tools to search YADE’s API, execute Python in the active session, and manage simulation tasks running in the background.
Does API search require the YADE bridge?
No. The class browser and keyword search work without it; code execution and task management require the bridge running in YADE.