HFSS
HFSS MCP Server
What is HFSS?
HFSS is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to hfss mcp server
HFSS MCP Server
This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- HFSS MCP Server
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx hfss-mcpserverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use HFSS
HFSS MCP Server gives Claude and other AI agents programmatic control over ANSYS HFSS electromagnetic simulation software through 26 specialized tools. It covers the full simulation workflow — session management, 3D geometry creation, port and boundary assignment, variable management, analysis setup and execution, S-parameter retrieval, and a knowledge base query tool for HFSS modeling best practices.
Prerequisites
- ANSYS AEDT 2026.1 installed and licensed (verified compatible version)
- PyAEDT 0.25.1 or higher (pip install pyaedt)
- Python 3.12+ installed
- HFSS application running and accessible via gRPC on port 50051
- Claude Desktop or VS Code with MCP extension as the client
Clone the repository
Clone the HFSS MCP Server repository from GitHub.
git clone https://github.com/leonardwy/HFSS_McpServer.git
cd HFSS_McpServerInstall Python dependencies
Install all required packages including mcp, pyaedt, psutil, and pypdf. If your C: drive has limited space, redirect the pip cache to an alternate drive before installing.
# Optional: redirect pip cache if C: drive is full (Windows)
set TEMP=E:\pip-tmp
set TMP=E:\pip-tmp
set PIP_CACHE_DIR=E:\pip-tmp
# Install dependencies
pip install -r requirements.txtStart the HFSS application
HFSS must be running before the MCP server starts. Launch AEDT/HFSS normally through the Windows Start menu or application shortcut. The MCP server connects to the running instance via PyAEDT.
# On Windows, launch HFSS via Start menu or:
"C:\Program Files\AnsysEM\v251\Win64\ansysedt.exe"
# Verify HFSS is accessible via PyAEDT in Python
python -c "import pyaedt; print(pyaedt.__version__)"Start the MCP server
Run the hfss_server.py script to start the MCP server. It listens on stdio for MCP client connections.
python hfss_server.pyConfigure VS Code or Claude Desktop
Add the HFSS MCP server to your client configuration. For VS Code, edit .vscode/mcp.json. For Claude Desktop, edit claude_desktop_config.json.
{
"servers": {
"hfss": {
"command": "python",
"args": ["C:\\path\\to\\HFSS_McpServer\\hfss_server.py"],
"type": "stdio"
}
}
}HFSS Examples
Client configuration
VS Code mcp.json entry for the HFSS MCP server using the system Python with PyAEDT installed.
{
"servers": {
"hfss": {
"command": "python",
"args": ["C:\\Users\\user\\HFSS_McpServer\\hfss_server.py"],
"type": "stdio"
}
}
}Prompts to try
Sample prompts that exercise session management, geometry creation, and simulation tools.
- "Check the HFSS session status and tell me what projects are currently open"
- "Create a box centered at the origin with dimensions 10mm x 10mm x 10mm and material copper"
- "Create a cylinder with radius 5mm and height 20mm at position [0, 0, -10]"
- "Assign a wave port to the face at z=-10mm and run the analysis setup"
- "Get the S-parameters from the last simulation and plot S11 vs frequency"Troubleshooting HFSS
PyAEDT cannot connect to HFSS — gRPC connection refused on port 50051
HFSS must be running before the MCP server starts. Launch ANSYS AEDT/HFSS first, then start hfss_server.py. If HFSS is running but the connection still fails, check that AEDT version matches PyAEDT expectations and that no firewall is blocking localhost port 50051.
pyaedt import error or version mismatch
Install PyAEDT version 0.25.1 or higher: pip install pyaedt>=0.25.1. The server was verified against ANSYS AEDT 2026.1 — older AEDT versions may have API incompatibilities. Check the installed version with: python -c "import pyaedt; print(pyaedt.__version__)"
pip install fails with disk space errors on Windows
Set the TEMP, TMP, and PIP_CACHE_DIR environment variables to a drive with sufficient space before running pip install -r requirements.txt. For example: set PIP_CACHE_DIR=D:\pip-cache
Frequently Asked Questions about HFSS
What is HFSS?
HFSS is a Model Context Protocol (MCP) server that hfss mcp server It connects AI assistants to external tools and data sources through a standardized interface.
How do I install HFSS?
Follow the installation instructions on the HFSS GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with HFSS?
HFSS works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is HFSS free to use?
Yes, HFSS is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
HFSS Alternatives — Similar Data Science & ML Servers
Looking for alternatives to HFSS? Here are other popular data science & ml servers you can use with Claude, Cursor, and VS Code.
Ultrarag
★ 5.6kA Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines
RocketRide
★ 3.1k📇 🏠 - MCP server that exposes RocketRide AI pipelines as t
Aix Db
★ 2.1kAix-DB 基于 LangChain/LangGraph 框架,结合 MCP Skills 多智能体协作架构,实现自然语言到数据洞察的端到端转换。
NeMo Data Designer
★ 1.9k🎨 NeMo Data Designer: Generate high-quality synthetic data from scratch or from seed data.
PaperBanana
★ 1.7kOpen source implementation and extension of Google Research’s PaperBanana for automated academic figures, diagrams, and research visuals, expanded to new domains like slide generation.
MiniMax
★ 1.5kBridges MiniMax AI capabilities to the Model Context Protocol, enabling AI agents to perform image understanding, text-to-image generation, and speech synthesis. It provides a standardized interface for accessing MiniMax's core tools via JSON-RPC.
Browse More Data Science & ML MCP Servers
Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up HFSS in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use HFSS?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.