INTERNAL TEST ONLY - will be ready soon
Public MCP server to run modelica simulation
Orthogonalpub
README
INTERNAL TEST ONLY - will be ready soon
Modelica MCP Server
A Model Context Protocol server that provides modelica model simulation capabilities. This server enables LLMs to retrieve and process modelica related tasks.
What is MCP, refer to https://modelcontextprotocol.io/
Available Tools
-
modelica_simulate
- run modelica model simulation by source code.modelica_code
(string, required): the source code of modelica model
-
modelica_service_available
- check modelica service availability ( later will be used to start backend env ).- no input
Prompts - not supported yet
- Simulation Prompt
- Simulation result
- Arguments:
modelica code
(string, required): ...
Installation
Get "ORTHOGONAL_TOKEN"
- You need to register in paas.orthogonal.cc
- Logging to orthogonal: open browser, log into https://paas.orthogonal.cc
- Retrieve token: after sucessful login, type F12 enter into dev mode, then click 'Network', finally type F5 to refresh, the network communications will be shown here, find 'status/' record and show its headers, the token is something like
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ1MjI3NjAzLCJpYXQiOjE3NDQ2MjI4MDMsImp0aSI6IjY4MmFmOTA0MjA5ZDRmYWZiNTI1MmIyYTg1MjMxZDQ3IiwidXNlcl9pZCI6OH0.NKbo6NNtSzyzNebXSlmbRLYkf_5ffdWALT7OxXDr6b8
(Without starting 'Bearer ' ) - Record this token, it will be used to fill in mcp configuration <center><img src="temp_auth_token.png" width="50%" height="50%" ></center>
Cursor Installation: using uv (recommended)
When using uv
no specific installation is needed. We will
use uvx
to directly run modelica_simulate.
uv installation <br>
curl -LsSf https://astral.sh/uv/install.sh | sh
-
clone mcp server<br>
git clone https://github.com/Orthogonalpub/modelica_simulation_mcp_server
-
enter into the directory<br>
cd modelica_simulation_mcp_server
-
create virtual env<br>
uv venv
-
activate virtual env<br> Windows: <br>
.venv\Scripts\activate
<br>
Mac / Linux: <br>
source .venv\Scripts\activate
<br>
- add dependencies<br>
uv add "mcp[cli]" httpx websocket-client pandas --active
Configuration
Configure for cursor/Claude.app
Add to your cursor/Claude settings: mcp.json ( located in your user home directly or .cursor/ directory ) in cursor you can open this file by clicking "Settings" -> "MCP" -> "Add new global MCP server"
<details> <summary>Using uvx</summary>
Example:
- set "ORTHOGONAL_TOKEN" correctly
- set path of "args" and "command" correctly by your local installation
<br>Windows mcp.json example <br>
{
"mcpServers": {
"modelica-mcp-server": {
"connectionType": "stdio",
"command": "C:\\arbeit\\99.fmi\\modelica_simulation_mcp_server\\.venv\\Scripts\\python.exe",
"args": [
"C:\\arbeit\\99.fmi\\modelica_simulation_mcp_server\\main.py"
],
"env": {
"ORTHOGONAL_TOKEN": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ0NzE3MDk1LCJpYXQiOjE3NDQxMTIyOTUsImp0aSI6IjMyYTczOTljMDJjZDQxZDBiNWYwNzVmZDBiNjk3YmI4IiwidXNlcl9pZCI6OH0.49PfrGwxpP0yehrb6_bd0TZh4v_uo2pj5jvy10xH18U",
"DEBUG": "true",
"LOG_LEVEL": "verbose",
"PORT": "9223"
},
"disabled": false,
"autoApprove": []
}
}
}
<br>Mac mcp.json example <br>
{
"mcpServers": {
"modelica-mcp-server": {
"connectionType": "stdio",
"command": "/opt/homebrew/bin/uv",
"args": [
"--directory",
"/Users/rainnie/Downloads/halo/modelica_simulation_mcp_server/",
"run",
"/Users/rainnie/Downloads/halo/modelica_simulation_mcp_server/main.py"
],
"env": {
"ORTHOGONAL_TOKEN": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ0OTY2OTQxLCJpYXQiOjE3NDQzNjIxNDEsImp0aSI6ImE5M2RlNDUyMGU1ZDQ3M2RiZjVjOTFhMDgxZDEyYThjIiwidXNlcl9pZCI6NDR9.k0RM8as9PtFX1cvCowOQeZraDPM-Qks4dl9uFauHUH8",
"DEBUG": "true",
"LOG_LEVEL": "verbose",
"PORT": "9223"
},
"disabled": false,
"autoApprove": []
}
}
}
</details>
after successful installation, the mcp server will be shown and the status icon is GREEN <center><img src="./mcp_server_running.png" width="50%" height="50%" ></center>
Customization - simulation parameters - not supported yet
In future the server can be configured to use different simulation parameters --stop-time
and --step-size
...
Debug
using mcp inspector
mcp dev main.py
it needs to add environment variable in mcp inspector window
License
modelica-simulation is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.