HFSS

v1.0.0Data Science & MLstable

HFSS MCP Server

hfss-mcpservermcpai-integration
Share:
9
Stars
0
Downloads
0
Weekly
0/5

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

Access HFSS electromagnetic simulation through MCP.
leonardwy

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx hfss-mcpserver

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

Clone the repository

Clone the HFSS MCP Server repository from GitHub.

git clone https://github.com/leonardwy/HFSS_McpServer.git
cd HFSS_McpServer
2

Install 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.txt
3

Start 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__)"
4

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.py
5

Configure 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.

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.

Quick Config Preview

{ "mcpServers": { "hfss-mcpserver": { "command": "npx", "args": ["-y", "hfss-mcpserver"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides