SolidWorks API MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SolidWorks API MCP Serverlook up the ISldWorks.OpenDoc6 method"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SolidWorks API MCP Server
TypeScript MCP server that provides search and lookup access to the SolidWorks API documentation corpus in this repository.
Features
Full-text and keyword search over SolidWorks API docs.
Interface/member lookup for methods, properties, and events.
Enum value lookup from JSON or markdown sources.
Related member and example discovery helpers.
Stdio MCP JSON-RPC transport for local and Claude Desktop usage.
Related MCP server: solidworks-mcp
Runtime and Tooling
Runtime: Bun + TypeScript
MCP transport: stdio (
stdin/stdout)Test framework: Vitest
Type checking: TypeScript compiler (
tsc)
This repository uses Bun-only JavaScript tooling:
Install dependencies:
bun installRun package scripts:
bun run <script>Run one-off CLIs:
bunx <tool>
Quick Start
Install dependencies:
bun installStart the MCP server:
bun run startData Root Configuration
By default the server reads from:
<repo>/solidworks-api
You can override this with SW_API_DATA_ROOT.
PowerShell:
$env:SW_API_DATA_ROOT = "C:\path\to\solidworks-api"
bun run startClaude Desktop Configuration
Add an MCP server entry to claude_desktop_config.json.
Windows example:
{
"mcpServers": {
"solidworks-api": {
"command": "bun",
"args": [
"run",
"C:\\path\\to\\solidworks-api-mcp\\server\\solidworks_mcp_server.ts"
]
}
}
}Restart Claude Desktop after updating the config.
Available Tools
The stdio MCP server exposes these tool names:
solidworks_lookup_methodsolidworks_search_apisolidworks_get_interface_memberssolidworks_get_enum_valuessolidworks_find_relatedsolidworks_get_examples
Development
Run tests:
bun run testRun type checking:
bun run typecheckProject Structure
solidworks-api-mcp/
|- server/
| |- solidworks_mcp_server.ts
| |- solidworks_server_shared.ts
| `- types.ts
|- solidworks-api/
| |- _index.json
| |- _search_index.json
| `- json/
|- tests/
| |- performance.test.ts
| `- regression-contracts.test.ts
|- package.json
|- tsconfig.json
`- README.mdThis server cannot be deployed
Maintenance
Related MCP Connectors
Search and query nTop's knowledge base and engineering guides from AI applications.
Provides tools for searching Google Workspace documentation and much more.
Get up-to-date, version-specific documentation and code examples from official sources directly in…
Versioned documentation registry and semantic search for AI tools and coding assistants.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI tools to search and explore API documentation from Apidog projects or OpenAPI/Swagger specifications, providing endpoint details, schemas, and project statistics through natural language queries.628 npm1ISC
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to automate SolidWorks (open/save parts, modify dimensions, export STEP) via COM, and optionally generate geometry using build123d code-CAD with PNG previews.MIT
- AlicenseAqualityBmaintenanceEnables natural language interaction with ServiceNow Fluent SDK commands, API specifications, and development resources for AI-assisted environments.17325 npm31MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI (e.g., Claude) to control SolidWorks via natural language, automating part creation, sketching, and feature operations through the Model Context Protocol.1MIT