mcp-server-solidworks

MCP.Pizza Chef: eyfel

The mcp-server-solidworks is an MCP server that connects SolidWorks CAD software with the Model Context Protocol by structuring SolidWorks API data into context streams compatible with Claude and other LLMs. It features a modular architecture with a Python prompt layer, C# adapter for version-specific automation, and a COM bridge, enabling real-time, structured interaction between SolidWorks and language models for enhanced AI-assisted CAD workflows.

Use This MCP server To

Expose SolidWorks CAD model data as structured context for LLMs Enable AI-driven automation within SolidWorks via MCP Support version-specific SolidWorks automation through C# adapters Generate prompt templates for improved LLM understanding of CAD data Test MCP logic with multiple local language models Extend SolidWorks API coverage for richer AI interactions

README

mcp-server-solidworks

This MCP server integrates with SolidWorks API and structuring it into Claude-compatible context streams.

🚀 Contributing to SolidPilot

SolidPilot is an open-source AI Assistant for SolidWorks. Its architecture is modular, version-aware, and designed to work with local language models like Claude through the MCP (Model Context Protocol).

🧩 Architecture Overview

mermaid-diagram-2025-04-12-134629

The assistant is composed of:

  • A Claude UI interface
  • A Python layer for prompt generation and context building
  • A C# Adapter Layer for SolidWorks version-specific automation
  • A COM bridge via PythonNET

🛠️ How You Can Help

We welcome contributions in areas like:

  • New Adapter DLLs for SolidWorks versions
  • 🧠 Improved Prompt Templates for model understanding
  • 🧪 Testing MCP logic with various LLMs
  • 🧰 Extending the C# API coverage
  • 🧾 Enhancing context builders (e.g., capturing dimensions, mates, assemblies)
  • 🔐 Security & filter logic for Claude's action suggestions

Check the CONTRIBUTING.md file for details on how to get started.


Want to propose a change?

Fork this repo, make your improvements, and open a pull request. For large-scale changes, please open an issue first to discuss it.


mcp-server-solidworks FAQ

How does mcp-server-solidworks handle different SolidWorks versions?
It uses version-specific C# adapter DLLs to ensure compatibility and automation across SolidWorks versions.
Can mcp-server-solidworks work with local LLMs other than Claude?
Yes, it is designed to support local language models like Claude and can be extended to others compatible with MCP.
What role does the Python layer play in mcp-server-solidworks?
The Python layer handles prompt generation and context building to structure SolidWorks data for LLM consumption.
How is the SolidWorks API accessed by this MCP server?
Through a COM bridge implemented via PythonNET, enabling seamless integration with SolidWorks automation.
Is it possible to contribute new features to mcp-server-solidworks?
Yes, contributions such as new adapter DLLs, improved prompt templates, and extended API coverage are welcome.
Does mcp-server-solidworks support real-time context streaming?
Yes, it structures SolidWorks API data into real-time context streams compatible with MCP clients.
What programming languages are involved in mcp-server-solidworks?
It uses C# for adapters, Python for prompt and context management, and COM for bridging with SolidWorks.