Skip to main content
Glama
kilwizac

SolidWorks API MCP Server

by kilwizac

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: Apidog MCP Server

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 install

  • Run package scripts: bun run <script>

  • Run one-off CLIs: bunx <tool>

Quick Start

  1. Install dependencies:

bun install
  1. Start the MCP server:

bun run start

Data 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 start

Claude 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_method

  • solidworks_search_api

  • solidworks_get_interface_members

  • solidworks_get_enum_values

  • solidworks_find_related

  • solidworks_get_examples

Development

Run tests:

bun run test

Run type checking:

bun run typecheck

Project 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.md
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kilwizac/solidworks-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server