Skip to content
Tresca

Gmsh MCP servers and AI agent skills

One community MCP server is built for Gmsh itself: it creates structured meshes from box, cylinder O-H and pipe templates, checks element quality, shows checkpoints in the Gmsh window and exports to OpenFOAM, using the pinned Gmsh 4.15.2 Python wheel. Two other servers call Gmsh as a step in a wider chain, one meshing STEP parts for CalculiX and one feeding Elmer FEM and ParaView. Gmsh is free, so no licence is involved.

  • No official Open source server yet.
  • 3 MCP servers listed.
Open source3 serversChecked 4 Nov 2026

Integrations for Gmsh

Community and commercial servers

MCP serverCommunity

@casys/mcp-calculixby Casys AI (superWorldSavior)

Meshes a STEP part with Gmsh and analyses it in CalculiX inside Docker, returning unit-bearing results and a small viewer app.

LocalLinuxCan modify models0· updated 5 weeks ago
MCP serverCommunity

Gmsh MCP Serverby OFFTECH

Builds structured Gmsh meshes from box, O-H cylinder and pipe templates, checks quality, shows checkpoints and exports to OpenFOAM.

LocalWindows, macOS, LinuxCan modify models0· updated 6 weeks ago
MCP serverCommunity

FEP Agent Hubby S2mon123

Three local MCP servers for a FreeCAD to Elmer FEM to ParaView chain, with workspace limits and physics checks on every result.

LocalWindowsCan modify models5· updated 3 months ago

Listings are sorted by origin, then by recent activity. GitHub data is refreshed nightly. Nothing here is ranked.

How AI connects to Gmsh

An MCP server or skill can only do what Gmsh lets programs do. Gmsh exposes 2 automation interfaces:

  • Gmsh API (Python, C++, C, Julia, Fortran) (Python): Everything Gmsh does in its GUI is available through its API, with official bindings for C++, C, Python, Julia and Fortran, and the Python package installs with pip. The Gmsh MCP server uses it for OpenCASCADE geometry operations, entity inspection, meshing and quality checks. The Gmsh MCP server runs each model in its own worker process because the API keeps global state. Documentation
  • .geo script files (Input files): Gmsh also has its own scripting language, stored in .geo files, as the second route to the same geometry and meshing features. Short .geo files are plain text that an agent can write and you can review line by line, which suits simple parametric parts better than a full API program. Documentation

What Open source offers

Gmsh is an open-source 3D finite element mesh generator with a built-in CAD engine and post-processor, released under the GNU GPL by Christophe Geuzaine and Jean-Francois Remacle. The project hasn't announced an AI assistant or MCP server, so the integrations listed here are third-party.

Checked 4 Nov 2026. Sources: Gmsh home page

What you can do with Gmsh and AI

  • Build a structured hex mesh for a straight pipe or a box with geometric grading toward the walls.
  • Create an O-H block mesh around a cylinder for an external-flow case and check minSICN and minDetJac histograms.
  • Export the mesh to MSH 2.2, convert it with gmshToFoam and confirm OpenFOAM's checkMesh passes.
  • Mesh a STEP part with tetrahedra and pass it to CalculiX for a static analysis.
  • Mesh a CAD part for Elmer FEM in a FreeCAD to Elmer to ParaView chain.

Taken from the listings' own documentation. Check each listing for exactly what it supports.

Installing

The listings here document setup for Codex. Install steps, copied from each project's own documentation, are on each listing's page. Most Gmsh integrations run on your own computer next to Gmsh, so you need Gmsh installed and licensed on the same machine unless the listing says otherwise.

Questions

Is there a Gmsh MCP server?

Yes, OFFTECH's Gmsh MCP Server, a community project under GPL-3.0. It favours structured meshes and doesn't import arbitrary CAD or decompose it into blocks automatically.

Can Claude generate a mesh for OpenFOAM with Gmsh?

Yes. The Gmsh MCP Server can export MSH 2.2, run gmshToFoam and check the result with checkMesh; its author validated this with OpenFOAM 13 under WSL.

Which Gmsh version does it use?

The pinned gmsh 4.15.2 Python wheel by default. You can select a matching Gmsh 5 SDK explicitly; a mismatched SDK is treated as an error rather than silently replaced.

AI-generated models, drawings and results must be checked by a qualified engineer before use.

Sources (checked 4 Nov 2026): Gmsh home page · Gmsh reference manual · OFFTECH/gmsh-mcp-server README · Gmsh product page

Gmsh is developed by its own project (Open source). Tresca is independent and not affiliated with or endorsed by the Gmsh project.