Skip to main content
Glama
simonluke
by simonluke

dymola-mcp-server

Modelica/Dymola 仿真工具的 MCP (Model Context Protocol) 服务器。让任何 MCP 兼容的 AI Agent 能够加载、翻译、仿真和分析 Dymola 中的 Modelica 模型。

Works with: Hermes Agent, Claude Desktop, Claude Code, Cline, Continue.dev and any MCP-compatible client.

Quick Start

git clone https://github.com/simonluke/dymola-mcp.git
cd dymola-mcp
pip install mcp fastmcp
python server/dymola_mcp_server.py

Related MCP server: Ansys MCP Server

MCP Tools (12)

Tool

Description

load_model

Load .mo file or package

translate_model

Compile model

simulate

Run simulation

set_parameter

Change parameter value

close_dymola

Release license

list_variables

List result variables (wildcard *)

get_variable

Get single variable value

get_variable_trajectory

Get time trajectory

read_simulation_result_vars

Read variables from .mat

dymola_version

Return Dymola version

execute_command

Arbitrary DymolaScript command

plot_variables

Plot and export PNG

Configuration

Claude Desktop (claude_desktop_config.json):

{"mcpServers": {"dymola": {"command": "python", "args": ["path/to/dymola_mcp_server.py"]}}}

Environment: DYMOLA_INSTALL_DIR (default: C:\Program Files\Dymola 2023x)

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Enables AI agents to automate COMSOL Multiphysics simulations, including model management, geometry building, physics configuration, meshing, solving, and results visualization through the MCP protocol.
    78
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to automate COMSOL Multiphysics simulations, including model management, geometry building, physics configuration, meshing, solving, and results visualization via the MCP protocol.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to understand, query, and manipulate Honeybee building energy models through natural language via the Model Context Protocol.
    17
    GPL 3.0