Logo vun CATIA V5 MCP Server

CATIA V5 MCP Server

Communautéit
daiemon12

CATIA V5 MCP Server - Control CATIA V5 with AI via Model Context Protocol

Editeurdaiemon12
Repositorycatia-v5-mcp-server
SproochPython
Forks
23
Stären
100
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    CATIA V5 MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    100 Stären an 23 Forks aus dem verlinkte Repository.

CATIA V5 MCP Server

Connect Claude AI to Dassault Systemes CATIA V5 via the Model Context Protocol (MCP).

Clones Views

The first open-source MCP server for CATIA V5. Drive CATIA V5 CAD modeling from Claude Desktop or Claude Code using natural language.

Repository traffic

What it does

This MCP server exposes 78 tools that let Claude:

  • Create and manage documents — new Part, Product (assembly), open, save, close
  • 2D Sketching — lines, rectangles, circles, arcs, splines, points, constraints
  • Part Design — Pad, Pocket, Shaft, Groove, Fillet, Chamfer, Hole, Shell, Draft, Thickness, Patterns (rectangular/circular), Mirror
  • Generative Shape Design (GSD) — 3D wireframe (points, lines, planes, splines, circles), Multi-sections Surface (loft), Sweep, Extrude, Revolve, Fill, Blend, Offset, Join, Split, Trim, Symmetry, ThickSurface/CloseSurface to solids
  • Assembly — add components, Fix/Coincidence/Offset/Angle constraints, move/rotate
  • Measurement — distance, inertia, bounding box, parameters
  • Export — STEP, IGES, STL, 3DXML, VRML, screenshots
  • View control — set standard views, fit all, capture screenshots

Requirements

  • Windows (COM automation is Windows-only)
  • CATIA V5 installed and licensed (R2016+)
  • Python 3.10+
  • Claude Desktop or Claude Code

Quick Install (Recommended)

bash
git clone https://github.com/daiemon12/catia-v5-mcp-server.git
cd catia-v5-mcp-server
bash setup.sh

The script handles everything: dependencies, Claude Desktop config, and verification.

Manual Installation

1. Clone the repository

bash
git clone https://github.com/daiemon12/catia-v5-mcp-server.git
cd catia-v5-mcp-server

2. Install dependencies

bash
pip install -e .

Or manually:

bash
pip install mcp pywin32

3. Configure Claude Desktop

Edit your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add the server:

json
{
  "mcpServers": {
    "catia-v5": {
      "command": "python",
      "args": ["-m", "catia_mcp"]
    }
  }
}

Or with an absolute path:

json
{
  "mcpServers": {
    "catia-v5": {
      "command": "python",
      "args": ["C:/path/to/catia-v5-mcp-server/catia_mcp/server.py"]
    }
  }
}

4. For Claude Code

bash
claude mcp add catia-v5 python -- -m catia_mcp

5. Start CATIA V5

Make sure CATIA V5 is running before asking Claude to interact with it. The server will automatically connect to the running instance.

If CATIA V5 is not running, the server will attempt to launch it (requires CATIA to be registered as COM server: cnext.exe /regserver).

Usage Examples

Once configured, just talk to Claude:

Create a simple part

"Create a new CATIA part. Draw a 100x60mm rectangle centered at the origin on the XY plane, then extrude it 40mm."

Design a bracket

"Design a mounting bracket: start with a 120x80mm base plate, 5mm thick. Add 4 M6 mounting holes at the corners with 10mm edge distance. Then add two vertical ribs 30mm tall."

Parametric modification

"Show me all parameters of the active part. Then change the pad height to 60mm."

Export for manufacturing

"Export the current part to STEP format at C:/export/bracket.stp and take a screenshot of the isometric view."

Assembly

"Create a new assembly. Add the bracket from C:/parts/bracket.CATPart and the base from C:/parts/base.CATPart. Fix the base, then create a coincidence constraint between the two."

Architecture

catia-v5-mcp-server/
├── catia_mcp/
│   ├── __init__.py
│   ├── __main__.py          # python -m catia_mcp entry point
│   ├── server.py            # MCP Server — tool registration & routing
│   ├── connection.py        # COM connection manager (win32com)
│   └── tools/
│       ├── __init__.py
│       ├── document.py      # Document management (9 tools)
│       ├── sketcher.py      # 2D Sketch tools (11 tools)
│       ├── part_design.py   # 3D Part Design features (15 tools)
│       ├── gsd.py           # Generative Shape Design — wireframe & surfaces (24 tools)
│       ├── assembly.py      # Assembly/Product tools (9 tools)
│       ├── measurement.py   # Measurement & analysis (6 tools)
│       └── export.py        # Export & view control (4 tools)
├── pyproject.toml
├── requirements.txt
└── README.md

How it works

Claude (Desktop/Code)
    │
    │ stdio (MCP JSON-RPC)
    ▼
catia_mcp/server.py (MCP Server)
    │
    │ Tool routing
    ▼
catia_mcp/tools/*.py (Tool modules)
    │
    │ win32com.client (COM Automation)
    ▼
CATIA V5 Application
  1. Claude sends MCP tool calls over stdio
  2. The server routes each call to the appropriate tool module
  3. Each tool module uses win32com.client to drive CATIA V5 via COM
  4. Results (JSON, text) are returned to Claude

Tool Reference

Document Tools (9)

ToolDescription
catia_connectConnect to CATIA V5
catia_disconnectDisconnect from CATIA V5
catia_new_partCreate a new Part document
catia_new_productCreate a new Product (assembly)
catia_open_documentOpen an existing document
catia_save_documentSave / Save As
catia_close_documentClose active document
catia_list_documentsList all open documents
catia_get_active_document_infoGet detailed info about active document

Sketcher Tools (11)

ToolDescription
catia_create_sketchCreate sketch on XY/YZ/ZX plane
catia_close_sketchClose sketch, return to Part Design
catia_sketch_lineDraw a line
catia_sketch_rectangleDraw a rectangle (2 corners)
catia_sketch_centered_rectangleDraw a centered rectangle
catia_sketch_circleDraw a circle
catia_sketch_arcDraw an arc
catia_sketch_splineDraw a spline through points
catia_sketch_pointCreate a point
catia_sketch_constraintAdd dimensional/geometric constraint
catia_sketch_get_geometryList sketch geometry elements

Part Design Tools (15)

ToolDescription
catia_padPad (extrusion)
catia_pocketPocket (cut extrusion)
catia_shaftShaft (revolution)
catia_grooveGroove (revolution cut)
catia_filletFillet (edge rounding)
catia_chamferChamfer (edge bevel)
catia_holeHole (simple, counterbored, countersunk)
catia_rect_patternRectangular pattern
catia_circ_patternCircular pattern
catia_mirrorMirror about a plane
catia_shellShell (hollow out)
catia_draftDraft angle
catia_thicknessThickness offset
catia_list_featuresList features in body
catia_list_edgesList edges for fillet/chamfer

Generative Shape Design Tools (24)

ToolDescription
catia_gsd_create_geosetCreate a Geometrical Set and make it active
catia_gsd_set_active_geosetSelect the target Geometrical Set
catia_gsd_list_elementsList geosets, wireframe/surface elements, sketches
catia_gsd_point3D point at (x, y, z)
catia_gsd_line3D line between two points
catia_gsd_plane_offsetPlane offset from a reference plane
catia_gsd_plane_3pointsPlane through three points
catia_gsd_spline3D spline through points
catia_gsd_circle3D circle on a support plane
catia_gsd_projectProject a curve/point onto a support
catia_gsd_intersectionIntersection of two elements
catia_gsd_multi_section_surfaceMulti-sections Surface (loft) through sections + guides
catia_gsd_sweepSwept surface (profile along guide)
catia_gsd_extrudeExtruded surface along a direction
catia_gsd_revolveSurface of revolution around an axis
catia_gsd_fillFill surface from boundary curves
catia_gsd_blendBlend surface between two curves
catia_gsd_offset_surfaceOffset surface
catia_gsd_joinJoin curves/surfaces into one element
catia_gsd_splitSplit an element by a cutter
catia_gsd_trimMutual trim of two elements
catia_gsd_symmetryMirror an element about a plane
catia_gsd_thick_surfaceSurface → solid by thickness (Part Design)
catia_gsd_close_surfaceClosed surface → solid (Part Design)

Assembly Tools (9)

ToolDescription
catia_add_componentAdd existing part to assembly
catia_add_new_partCreate new part in assembly
catia_fix_constraintFix a component in place
catia_coincidence_constraintCoincidence constraint
catia_offset_constraintOffset constraint
catia_angle_constraintAngle constraint
catia_move_componentMove/rotate a component
catia_list_componentsList assembly components
catia_list_constraintsList assembly constraints

Measurement Tools (6)

ToolDescription
catia_measure_distanceMeasure distance between elements
catia_get_inertiaVolume, area, mass, center of gravity
catia_get_bounding_boxBounding box dimensions
catia_get_parametersList all parameters
catia_set_parameterModify a parameter value
catia_update_partForce rebuild

Export Tools (4)

ToolDescription
catia_exportExport to STEP/IGES/STL/3DXML/VRML
catia_screenshotCapture 3D view to image
catia_set_viewSet view orientation
catia_fit_allFit all in view

Troubleshooting

"pywin32 is not installed"

bash
pip install pywin32

This server requires Windows. It will not work on macOS or Linux.

"Failed to connect to CATIA V5"

  1. Make sure CATIA V5 is running
  2. Register CATIA as COM server: navigate to C:\Program Files\Dassault Systemes\B<version>\<os>\code\bin\ and run cnext.exe /regserver
  3. Check that no modal dialog is blocking CATIA

"No active document"

Create or open a document first using catia_new_part or catia_open_document.

COM ByRef array limitations

Some measurement methods may not work with late binding. If you encounter issues, try using pycatia as an alternative backend (contribution welcome).

Contributing

This project is open-source. See CONTRIBUTING.md for guidelines. Contributions welcome:

  • Drawing tools (2D drafting)
  • Knowledgeware (formulas, rules, check)
  • pycatia backend as alternative to raw win32com
  • Tests with COM mocking
  • 3DEXPERIENCE CATIA support

License

MIT

Credits

Inspired by:

Installatioun

TypingMind
{
  "mcpServers": {
    "catia-v5-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "catia_mcp"
      ]
    }
  }
}

CATIA V5 MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal CATIA V5 MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

CATIA V5 MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu CATIA V5 MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "catia-v5-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu CATIA V5 MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu CATIA V5 MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat CATIA V5 MCP Server?
CATIA V5 MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat CATIA V5 MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server CATIA V5 MCP Server benotzt?

CATIA V5 MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech CATIA V5 MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir CATIA V5 MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat CATIA V5 MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann CATIA V5 MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech CATIA V5 MCP Server MCP mat TypingMind?

CATIA V5 MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt CATIA V5 MCP Server MCP an TypingMind zur Verfügung?

CATIA V5 MCP Server stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir CATIA V5 MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann CATIA V5 MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇