ITASCA MCP Server MCP Server
io.github.yusong652/itasca-mcp
Connect AI agents to ITASCA numerical modeling software—PFC, FLAC, 3DEC, MPoint, MassFlow—for docs, simulations, and code execution.
What is the ITASCA MCP Server MCP server?
The ITASCA MCP Server connects AI agents to ITASCA's numerical modeling software (PFC, FLAC, 3DEC, MPoint, MassFlow) through the Model Context Protocol. It provides access to documentation, Python APIs, and execution capabilities, enabling agents to browse commands, run simulations, and execute code through natural conversation.
This server bridges AI agents to ITASCA's suite of numerical modeling tools. It offers 5 documentation tools for browsing commands and APIs across multiple engine versions, and 5 execution tools for running code, submitting simulations, monitoring progress, and managing tasks. Useful for automating model setup, running parametric studies, and interactive exploration of simulation results.
How to install ITASCA MCP Server
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
Documentation browsing— Browse and search ITASCA engine commands, Python API, and reference documentation for PFC, FLAC, 3DEC, MPoint, and MassFlow across multiple versionsInteractive REPL— Execute Python code interactively while simulations are running to check model state and intermediate resultsTask submission— Submit long-running simulations and scripts for executionProgress monitoring— Monitor the progress of running tasks and simulationsTask interruption— Interrupt and stop running tasksTask history— Browse and review the history of submitted tasks and executionsPlot documentation— Access enhanced documentation for plot items supplementing official referencesMulti-version support— Access command documentation across different engine versions (PFC 6.0/7.0/9.0, FLAC 7.0/9.0)Multi-engine corpus— Switch between PFC, FLAC, 3DEC, MPoint, and MassFlow documentation via software parameterHierarchical command navigation— Navigate engine command trees to discover capabilities and reduce hallucinated commands
Use cases
- Set up and configure ITASCA numerical models through conversational prompts
- Run parametric studies by automating simulation submission and monitoring across multiple configurations
- Query simulation results and intermediate states without stopping running tasks
- Explore model documentation and discover available commands and APIs interactively
- Generate and execute Python scripts for post-processing and analysis of simulation outputs
ITASCA MCP Server MCP server FAQ
It's an MCP server that gives AI agents like Claude access to ITASCA's numerical modeling software (PFC, FLAC, 3DEC, MPoint, MassFlow). You can browse documentation, run simulations, and execute Python code through natural conversation.
Yes, the server itself is MIT-licensed and free. However, you need a licensed ITASCA engine (PFC, FLAC, 3DEC, MPoint, or MassFlow 9.0+) installed locally to use it.
Register it with a single command: `claude mcp add itasca-mcp -- uvx itasca-mcp` for Claude Code, or add it to your MCP config file manually. Then start the bridge by running `itasca_mcp_bridge.start()` in your ITASCA engine's IPython console.
You need an ITASCA engine installed (PFC, FLAC, 3DEC, MPoint, or MassFlow 9.0+), Python 3.10+, and `uv` installed for package management. An MCP-capable AI client like Claude Code or Codex CLI is also required.
No API keys or authentication are required. The server communicates directly with your locally installed ITASCA engine via a bridge started from within the engine GUI.
Yes, the server supports PFC, FLAC, 3DEC, MPoint, and MassFlow. You select which engine to use via the `software` parameter, and it supports multiple versions (e.g., PFC 6.0/7.0/9.0, FLAC 7.0/9.0).
README (reference)
Source of truth, from the repository.
itasca-mcp
itasca>model new ;now, with LLM.
itasca-mcp connects AI agents to ITASCA's numerical modeling software — PFC, FLAC, 3DEC, MPoint, and MassFlow — through the Model Context Protocol. Browse documentation, run simulations, and execute code, all through natural conversation.
itasca>model solve ;LLM solves.

Tools (10)
5 documentation tools — browse and search the selected engine's commands, Python API, and reference docs. No bridge required.
5 execution tools — interactive REPL, task submission, progress monitoring, interruption, and history. Requires bridge.
First-time Setup
Prerequisites
- An ITASCA engine installed — PFC, FLAC, 3DEC, MPoint, or MassFlow. 9.0+ recommended; PFC 6.0 / 7.0 and FLAC 7.0 are also supported.
- uv installed (for
uvx) - An AI agent — Claude Code, Codex CLI, Gemini CLI, or any MCP-capable client
Agentic Setup (Recommended)
Copy this to your AI agent and let it self-configure:
Fetch and follow this bootstrap guide end-to-end:
https://raw.githubusercontent.com/yusong652/itasca-mcp/main/docs/agentic/itasca-mcp-bootstrap.md
Manual Setup
1. Register the MCP server with your agent.
Most agents register it with a single command:
# Claude Code
claude mcp add itasca-mcp -- uvx itasca-mcp
# Codex / Codex-cli
codex mcp add itasca-mcp -- uvx itasca-mcp
# Gemini CLI
gemini mcp add itasca-mcp uvx itasca-mcp
Or fill in the MCP config file manually:
{
"mcpServers": {
"itasca-mcp": {
"command": "uvx",
"args": ["itasca-mcp"]
}
}
}
2. Start the bridge from inside the ITASCA engine:
Download addon.py, then use either of these two flows inside the engine GUI (PFC, FLAC, 3DEC, ...):
- Copy the file contents into the engine's IPython console and run them
- Or download the file and execute it in the engine GUI
Verify
Restart your AI agent and ask it to call itasca_execute_code to verify the connection.
Daily Startup
Once first-time setup is done, each new engine session only needs the bridge re-started — run this in the engine's IPython console and you're back online:
import itasca_mcp_bridge
itasca_mcp_bridge.start()
start() checks PyPI for a newer bridge release and self-upgrades before starting. The MCP client config persists.
Features
- Multi-engine corpus - command, Python API, and reference docs for PFC, FLAC, 3DEC, MPoint, and MassFlow, selected via the required
softwareparameter - Multi-version support - command docs across engine versions (PFC: 6.0/7.0/9.0, FLAC: 7.0/9.0) via the
versionparameter - Hierarchical documentation browsing - agents navigate the engine command tree to discover capabilities and boundaries, reducing hallucinated commands
- Enhanced plot documentation - plot items reference docs supplementing the official documentation
- Live REPL alongside running tasks - execute code while a simulation is running: check model state and intermediate results without stopping the task; also useful for quick iteration before writing a full script
- Task lifecycle management - submit long-running simulations, monitor progress, interrupt running tasks, and browse task history
- Multi-client compatible - works with Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, OpenCode, toyoura-nagisa, and other MCP clients
Troubleshooting
See Troubleshooting in the bootstrap guide.
Development
See Developer Guide: Install and Run from Source.
<a href="https://glama.ai/mcp/servers/yusong652/itasca-mcp"> <img width="200" height="105" src="https://glama.ai/mcp/servers/yusong652/itasca-mcp/badge" alt="itasca-mcp MCP server" /> </a>Contributing
PRs and issues are welcome! See the Developer Guide to get started.
License
MIT - see LICENSE.
<!-- mcp-name: io.github.yusong652/itasca-mcp -->Related MCP servers

YADE MCP Server
MCP server for YADE discrete element method engine — run simulations, browse API docs, and execute code through natural conversation.

Measured web UI findings for AI agents — contrast ratios, touch targets, and accessibility checks as text, not guesses from screenshots.

Run AI-generated code safely. gVisor-isolated Python/JS sandboxes for any MCP client. Pay per run.
Generate AI UGC videos with talking heads, B-roll, and subtitles.
View repository →
