ITASCA MCP Server
Lets your AI agent search ITASCA docs and run geomechanics simulations in PFC, FLAC3D, 3DEC, MPoint and MassFlow.
227 stars on GitHubby yusong652License MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add itasca -- uvx itasca-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Run a biaxial compression test on a dense specimen and plot the stress-strain curve.
Build a slope model in FLAC3D and find the factor of safety.
What it is
itasca-mcp connects your agent to ITASCA simulation software for geotechnical and geomechanics work. The agent can browse the engine's command and Python documentation, run code in a live console, submit long simulations and check progress. A small bridge script runs inside the ITASCA engine to make the link.
What it can do
- 2 documentation tools: browse by path and search by keywords (no bridge needed)
- 5 execution tools: interactive REPL, task submission, progress monitoring, interruption and history
itasca_execute_code: run code in the engine
When to use
- βΊWhen you want your agent to build and run a slope or tunnel model
- βΊWhen you need to look up the right ITASCA command before writing a script
- βΊWhen a simulation is running and you want to check its state without stopping it
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
cobrapyHelps your agent run metabolic models of cells, such as flux balance analysis and gene knockout simulations, using the COBRApy Python library.mfa-pipeline-orchestratorHelps your agent run a full metabolic flux analysis, from model loading through simulations and analysis to phenotype predictions and figures.cli-tunnelStarts and stops secure tunnels such as ngrok or Cloudflare from the command line, and checks whether they can be reached from outside.Frequently asked questions
Is it free and open source?
The package is MIT licensed. The ITASCA engines themselves are separate software that you must have installed.
Which engines does it support?
PFC, FLAC, 3DEC, MPoint and MassFlow. PFC 6.0 and 7.0, FLAC 7.0 and 3DEC 7.0 are also supported.
Do I need to start something inside the engine?
Yes. You run the addon.py bridge in the engine's IPython console, then import itasca_mcp_bridge and call start() on later sessions.
Which clients work with it?
Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, OpenCode and other MCP clients.
Can the agent see what I do in the GUI?
Yes. The readme says GUI actions such as cells you run and files you save reach the agent on its next call.
Can the agent start the bridge itself?
Yes, through the engine's console.exe.
If it does not work
- βΊStart the bridge inside the ITASCA engine before asking the agent to run code.
- βΊInstall uv so that uvx itasca-mcp can run.
- βΊRestart your agent and ask it to call itasca_execute_code to verify the connection.
5 new skills a week. 1 minute to read.