dcir-mcp
Enables DC IR drop analysis on Ansys HFSS 3D Layout boards, including configuring current/voltage sources and pin groups, setting up and solving simulations, and retrieving results.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dcir-mcpRun DC IR drop on C:/boards/my_design.aedb: U1 draws 5A on VCORE, U2 supplies 1.2V. Solve it."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DCIR-MCP
A Model Context Protocol server that lets an AI assistant drive DC IR drop analysis on Ansys HFSS 3D Layout through natural language — describe a board's power source and current loads, and the assistant configures, solves, and reports back, without opening the GUI.
Status: early / actively developed. Configuration and solving work end to end and are validated against Ansys's own official example. Post-processing (loop resistance, via-current hotspots, voltage/current plots) is currently done ad hoc through the script escape hatch rather than as typed tools — see Roadmap.
Why gRPC, not COM
Ansys automation is commonly done through SIwave's standalone COM interface. This project deliberately avoids that path after hitting real reliability problems with it in practice: intermittent apartment-threading failures, and a hard AEDT crash traced to an EDB version mismatch (a board that opened fine on AEDT 2025 R2 crashed AEDT outright on 2026 R1).
Instead, everything here runs through:
Hfss3dLayout(fromansys.aedt.core) — gRPC-based, same reliable family as PyAEDT'sHfss/Icepakclasses.pyedb.Edb— also gRPC-backed on AEDT 2025 R2+, used standalone (no live AEDT desktop) to configure sources and pin groups directly on the.aedb.
No COM, no pythonnet automation of a live SIwave session.
Known-good version: AEDT 2025 R2. AEDT 2026 R1 has shown real bugs in this workflow (an EDB-backend crash on one board, a KeyError in pyedb's configuration loader on another) — stick to 2025.2 until that's resolved upstream.
Related MCP server: hfss-agent-native
How it works
configure_dcir— applies current/voltage sources, auto-generated pin groups, and asiwave_dcsetup to an.aedb, standalone. AEDT must be closed for this step (a live desktop and a standaloneEdb()session can't hold the same board open — hits"Can't acquire license"). Idempotent: every call fully redefines the DC IR configuration rather than merging with a previous one.open_edb— launches AEDT fresh with the now-configured board loaded.run_dcir_script— the escape hatch: runs arbitrary PyAEDT/PyEDB code against the live session. Solving (h3d.analyze(setup=...)) and result extraction currently go through here.
Setup
cd dcir-mcp
python -m venv venv
venv\Scripts\python.exe -m pip install -e .Add to your MCP client config:
{
"mcpServers": {
"dcir-mcp": {
"command": "C:/path/to/dcir-mcp/venv/Scripts/python.exe",
"args": ["C:/path/to/dcir-mcp/dcir_mcp_server.py"],
"env": {
"ANSYSEM_ROOT252": "C:/Program Files/ANSYS Inc/v252/AnsysEM"
}
}
}
}Set the ANSYSEM_ROOTxxx env var(s) to match your installed AEDT version(s) — the number encodes the version (ROOT252 = 2025 R2, ROOT261 = 2026 R1).
Tools
Tool | Does |
| Apply sources, pin groups, and the DC setup to a board, standalone (no AEDT needed) |
| Launch AEDT with a configured board loaded |
| Attach to an AEDT session that's already open, by gRPC port |
| Check current connection status |
| Release the AEDT connection without closing the project |
| Escape hatch: run arbitrary PyAEDT/PyEDB code against the live session |
| Retrieve output of a |
Usage
"Here's my board:
C:/boards/my_design.aedb. U1 draws 5A on net VCORE — that's the load. U2 supplies 1.2V on the same net — that's the regulator. Set up and solve a DC IR drop analysis."
The assistant will typically:
configure_dcirwith the sources you described (AEDT must be closed at this point)open_edbto load the configured boardrun_dcir_scriptto solve and pull back results
A real gotcha worth knowing
A component you'd call "the voltage source" on a schematic doesn't always share a physical net with the loads you'd expect — power-sequenced designs (rails split by state, e.g. S0/S3/S5 domains) can look disconnected until you check what the solver actually reports as included in the simulation. Always verify the source and sink nets genuinely connect (or are bridged by a low-impedance component like a ferrite bead) before trusting a result — this project's configure_dcir won't catch that mismatch for you.
Roadmap
Typed
solve_dcirtool (currently done viarun_dcir_script)Typed result-retrieval tools: loop resistance, via currents, voltage/current field plots
Board-import tooling (bringing in a raw layout from a non-EDB format)
Thermal handoff to Icepak
License
MIT — see LICENSE
This server cannot be deployed
Maintenance
Related MCP Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
AI data-center design engine: size, validate & lay out Rubin-era data centers. Korea live.
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to control Ansys Electronics Desktop (HFSS, Maxwell, Q3D, etc.) using MCP tools for simulation automation.10045PolyForm Noncommercial 1.0.0
- AlicenseNot gradedqualityBmaintenanceEnables natural language control of HFSS (v2019-2025) for antenna modeling, simulation, and result extraction via win32com without PyAEDT.5MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with ANSYS Icepak through natural language commands, supporting geometry import, material assignment, thermal loads, meshing, solving, and result retrieval.-
- FlicenseNot gradedqualityCmaintenanceMCP server for automating ANSYS HFSS simulations, enabling persistent connections, modeling, simulation setup, and S-parameter extraction through AI assistants.1-