Skip to main content
Glama
communitycad-mcp

communitycad-mcp

Official

communitycad-mcp

An MCP server that lets AI agents use CommunityCAD the way a person does: search real, dimensionally accurate parts, read their datasheets, comments and accuracy scores, and download the CAD files into a design.

Status: beta. On PyPI as communitycad-mcp. Changes are listed in the changelog.

What it's for

You're designing an enclosure and need a 24 V power supply that fits. Ask your agent, and it can find one with a STEP file, read the mounting-hole spacing from its datasheet, check what other people said about the fit, then save the file where your CAD tool can insert it.

It works with any MCP-capable agent and any CAD tool that can open the downloaded files.

Related MCP server: ICBOMS MCP Server

Two ways to run it

Local (stdio)

Hosted (Streamable HTTP)

Install

uvx communitycad-mcp

Nothing; add the connector URL (planned)

Downloads

Saved to a folder on your machine

A download link

Sign-in

Device code, like the CommunityCAD Klipper plugin

OAuth on connect

Setup (local)

You need uv (it fetches Python 3.10 or newer if needed). Then run:

uvx communitycad-mcp install

It finds the AI apps below on Windows, macOS and Linux and adds CommunityCAD to each one. An app counts as found when its config folder exists; nothing is started to check. Only the communitycad entry changes: your other servers, settings and comments stay as they are, and every file it changes is backed up first (<file>.bak-<date>). Running it again changes nothing. Restart the app, then ask: find me an M8 screw with a STEP file.

Apps

App

--app

Config file it edits

Entry

Claude Code

claude-code

~/.claude.json (through claude mcp add --scope user when claude is on the PATH)

mcpServers, "type": "stdio"

Claude Desktop

claude-desktop

claude_desktop_config.json in %APPDATA%\Claude (and the Microsoft Store copy), ~/Library/Application Support/Claude, ~/.config/Claude

mcpServers

OpenCode

opencode

~/.config/opencode/opencode.json (or opencode.jsonc if that's the one you have) on every OS; $XDG_CONFIG_HOME if set

mcp, "type": "local", "command": [...]

Codex

codex

~/.codex/config.toml ($CODEX_HOME if set)

[mcp_servers.communitycad]

Gemini CLI

gemini

~/.gemini/settings.json

mcpServers

GitHub Copilot CLI

copilot

~/.copilot/mcp-config.json

mcpServers, "type": "local", "tools": ["*"]

Cursor

cursor

~/.cursor/mcp.json

mcpServers

VS Code (Copilot Chat)

vscode

user mcp.json in %APPDATA%\Code\User, ~/Library/Application Support/Code/User, ~/.config/Code/User

servers, "type": "stdio"

Windsurf

windsurf

~/.codeium/windsurf/mcp_config.json

mcpServers

Zed

zed

settings.json in %APPDATA%\Zed, or ~/.config/zed on macOS and Linux

context_servers

Claude Desktop and Zed get the full path to uvx, because apps started from a desktop launcher may not see your shell's PATH. If you turned the server off in an app (OpenCode's "enabled": false) or narrowed Copilot's tools, install keeps that and doctor tells you it's off.

Command

What it does

uvx communitycad-mcp install

Set up every AI app it finds. --app opencode (or any name in the --app column) sets up just that one, even if it wasn't found. --dry-run shows what would change.

uvx communitycad-mcp doctor

Checks uv, the connection to CommunityCAD, your sign-in and which apps are set up, and says how to fix each problem.

uvx communitycad-mcp uninstall

Removes only the CommunityCAD entry from each app.

Running communitycad-mcp with no command starts the server over stdio; that's how the apps launch it.

Claude Code plugin. Instead of install, you can add CommunityCAD as a plugin: the same server plus a find-a-part skill that tells Claude how to use it well. In Claude Code:

/plugin marketplace add CommunityCad-dev/communitycad-mcp
/plugin install communitycad@communitycad

Then run /reload-plugins (or restart Claude Code). From a shell it's claude plugin marketplace add CommunityCad-dev/communitycad-mcp and claude plugin install communitycad@communitycad. Update with /plugin marketplace update communitycad; remove with /plugin uninstall communitycad@communitycad. Use either the plugin or install for Claude Code, not both.

Claude Desktop extension. Download communitycad-mcp-<version>.mcpb from the latest release, open it (or drag it onto Settings, Extensions) and click Install. You can choose the download folder and the largest download size there. The extension is a few kilobytes: Claude Desktop sets up Python and the communitycad-mcp package itself, so it doesn't need uv.

Claude Code

claude mcp add --scope user communitycad -- uvx communitycad-mcp

Claude Desktop, Cursor, Windsurf (claude_desktop_config.json, ~/.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "communitycad": {
      "command": "uvx",
      "args": ["communitycad-mcp"]
    }
  }
}

VS Code (user mcp.json): the same entry under "servers", with "type": "stdio".

Gemini CLI (~/.gemini/settings.json): the same mcpServers entry. GitHub Copilot CLI (~/.copilot/mcp-config.json): the same, plus "type": "local" and "tools": ["*"]. Zed (settings.json): the same entry under "context_servers".

OpenCode (~/.config/opencode/opencode.json):

{
  "mcp": {
    "communitycad": {
      "type": "local",
      "command": ["uvx", "communitycad-mcp"],
      "enabled": true
    }
  }
}

Codex (~/.codex/config.toml):

[mcp_servers.communitycad]
command = "uvx"
args = ["communitycad-mcp"]

Other MCP clients: run uvx communitycad-mcp as a stdio server. To run an unreleased checkout instead, run uv run --directory /path/to/communitycad-mcp communitycad-mcp install --from-path /path/to/communitycad-mcp, or replace uvx communitycad-mcp with uv run --directory /path/to/communitycad-mcp communitycad-mcp.

Use it inside SolidCraft

SolidCraft's in-app chat runs your own coding agent and gives it SolidCraft's tools. The agents checked below also load the MCP servers from their own config, so CommunityCAD set up for the agent is there in SolidCraft's chat too, next to SolidCraft's tools:

  1. Set up your agent for SolidCraft's chat as SolidCraft's docs describe.

  2. Run uvx communitycad-mcp install (or --app claude-code, --app codex, --app opencode, --app gemini for just that agent).

  3. Start a new chat in SolidCraft, so the agent is started again and reads its config.

  4. Ask: find me an M8 screw with a STEP file.

Agent in SolidCraft's chat

Loads CommunityCAD from its own config

Codex (codex-acp)

Yes: it reads your Codex config and adds SolidCraft's server to it

OpenCode (opencode acp)

Yes: OpenCode's ACP docs say sessions use your config, MCP servers included

Gemini CLI

Yes: it starts from the servers in your settings and adds SolidCraft's

Claude Code (claude-agent-acp)

Expected: the adapter loads your user, project and local settings and adds SolidCraft's server to them; not yet tested end to end

Others (Copilot, Qwen, goose, Grok, Mistral Vibe, Antigravity)

Not checked yet

CommunityCAD's tools are asked about through your agent's usual permission prompts. Downloads count against your limit as anywhere else; files are saved to your download folder (see Settings) and the agent is told where.

Check it with MCP Inspector:

npx @modelcontextprotocol/inspector uvx communitycad-mcp

Sign in by asking your agent to "link my CommunityCAD account". Your browser opens on the approval page (the agent also gives you the link, and a short code as a fallback); approve it on communitycad.dev and you're signed in, with no need to tell the agent. Set COMMUNITYCAD_NO_BROWSER=1 to never open a browser; it also stays closed over SSH. The connection is named after the AI app and the computer (e.g. "Claude Code on DESKTOP-ABC"), so you can tell several apart in your account. Searching, reading and downloads within the signed-out limit work without signing in.

Settings

All optional, as environment variables:

Variable

Default

What it does

COMMUNITYCAD_DOWNLOAD_DIR

~/CommunityCAD

Files are saved to <dir>/<model-slug>/

COMMUNITYCAD_MAX_DOWNLOAD_MB

500

Larger files are refused before anything is counted

COMMUNITYCAD_CONFIG_DIR

your user config dir

Where the sign-in is kept

COMMUNITYCAD_API_URL

https://communitycad.dev/api

The API to talk to

COMMUNITYCAD_SITE_URL

the API URL without /api

The website for page links the API doesn't return itself. Set it when the API isn't served under the site's /api path (e.g. http://localhost:8080)

Tools

  • Account: account_status (plan, downloads left and reset times, signed in or out), link_account, unlink_account

  • Discovery: search_models (keywords or meaning; filters for size, file types, CAD source, tags, licence family, company, creator; sort by newest, downloads, likes, prints or accuracy), get_model, show_images (preview pictures inline; never uses a download), find_similar, get_company, search_companies, get_creator

  • Datasheets: list_datasheets, read_datasheet, search_datasheet

  • Community (read-only): get_comments, get_scores

  • Download: check_download, download_file (optionally extracts one file from a ZIP). Works signed out, within the signed-out limit.

  • Uploads (once the CommunityCAD API offers them): upload_model (a file or folder, public or private), upload_version, add_images, add_datasheets, edit_model. They need your permission once (link_account with allow_uploads=true), follow the website's moderation, and can't delete anything. The agent asks before every upload and lets you choose the visibility, licence and 18+ setting.

Prompts: find-a-part, review-a-model. Resources: communitycad://model/{id}/readme, communitycad://model/{id}/datasheet/{n}.

Downloads and limits

Downloads through this server follow exactly the same rules as downloading on communitycad.dev: the same plan limits, counted against your account, with the same free re-download of a model on the same day. Signed out, you get the same limit as a signed-out visitor to the site. See the plans page.

Every download comes with the model's licence and, where the licence needs one, an attribution line.

Privacy and safety

  • Your sign-in token is stored in your user config directory, readable only by you, and never appears in tool output or logs.

  • The server sees only what your account can see on the site.

  • Comments, READMEs and datasheet text are written by other people. The server hands them to the agent as marked, untrusted content, never as instructions.

  • Agents can't post comments or ratings through this server. They upload or edit models only after you say yes, and never delete anything.

Development

uv sync
uv run pytest

Tests run against recorded, scrubbed API responses in tests/fixtures/; nothing touches the network.

Licence

Apache-2.0. See LICENSE. Models on CommunityCAD carry their own licences, set by their creators.

Available Tools

23 tools
account_statusAccount and downloads leftA
Read-only

Whether a CommunityCAD account is linked, the plan, downloads left today and this week, and when they reset. Signed out: the signed-out limit and what's left of it.

Inputs: no named parameters.

add_datasheetsAdd datasheetsA

Attach PDF datasheets to the user's own model (their text becomes searchable after a few minutes). Only after the user's explicit yes.

Inputs: paths (required), model_id (required), titles.

add_imagesAdd imagesB

Add pictures to the user's own model. Only after the user's explicit yes.

Inputs: paths (required), model_id (required), captions.

check_downloadCheck a downloadA
Read-only

Whether downloading this model would use one of the user's downloads, and how many are left. Changes nothing. The source of truth for counting: the first file of a model each UTC day uses one download; more files of that model the same day, repeats and the user's own models are free. Counted per network (IP) signed out, per account signed in (shared with the website).

Inputs: model_id (required), file_id.

download_fileDownload a fileA

Download one of a model's files to this computer. The first file of a model each UTC day uses one of the user's CommunityCAD downloads; more files of that model the same day and repeats are free (call check_download first). Returns the saved path, the licence and the attribution line.

Inputs: model_id (required), file_id, directory, zip_member.

edit_modelEdit a modelA
DestructiveIdempotent

Change details of the user's own model: title, description, README, tags, licence, visibility, the credit for work that started as someone else's, the 18+ flag and sourcing. Only after the user's explicit yes to the exact change. Tags are added to the ones already there; removing any needs replace_tags and the user's explicit yes. Setting original_author locks the licence. Doesn't use an upload. Nothing can be deleted with these tools.

Inputs: model_id (required), tags, title, license, +8 more.

find_similarFind similar modelsB
Read-only

Public models most similar to this one, closest first. Empty when the model hasn't been analysed yet.

Inputs: model_id (required), limit.

get_commentsRead commentsA
Read-only

Comments on a model, threaded one level deep. Removed comments show as removed. Read-only: to comment, the user goes to the model page.

Inputs: model_id (required), limit, order, offset, +1 more.

get_companyGet a companyC
Read-only

A company's public profile and its models.

Inputs: slug (required), limit, offset.

get_creatorGet a creatorC
Read-only

A creator's public profile and their models. Donations are made on the website; donate_url is a link to that page, never a payment action.

Inputs: username (required), limit, offset.

get_modelGet model detailsA
Read-only

Full details for one model: files (with file_id for downloading), size, licence and attribution, tags, creator, company, source, score summary, comment and datasheet counts. Description, README and licence text are under user_content. Doesn't count as a page view.

Inputs: model_id (required).

get_scoresGet accuracy scoresB
Read-only

Community accuracy scores in five dimensions (dimensional, printability, manufacturability, documentation, compatibility): average and number of ratings.

Inputs: model_id (required).

list_datasheetsList datasheetsA
Read-only

A model's datasheets: file name, pages, size, whether OCR text is available, and links. Reading datasheets never uses a download.

Inputs: model_id (required).

page_schemaWhat a page needsA
Read-only

What a complete CommunityCAD model page needs, before trying to upload one: which fields block a submission and which only improve the page, with the rule and the reason for each, the licences to offer and the README sections. Read this first when the user wants to publish something. Needs no permission and uploads nothing.

Inputs: no named parameters.

read_datasheetRead a datasheetB
Read-only

OCR text of a datasheet's pages, with page markers so you can cite the page. Always give the user the datasheet_url and model_url you used.

Inputs: model_id (required), datasheet_id (required), last_page, first_page.

search_companiesSearch companiesC
Read-only

Search companies (vendors and makers) on CommunityCAD.

Inputs: limit, query, offset.

search_datasheetSearch a datasheetA
Read-only

Find pages in a model's datasheets that mention something (e.g. 'mounting holes'). Returns pages with short snippets and links; follow up with read_datasheet.

Inputs: query (required), model_id (required), limit.

search_modelsSearch modelsA
Read-only

Search CommunityCAD's public models. Returns compact cards with IDs and page URLs. Size filters leave out models whose size is unknown.

Inputs: sort, tags, limit, query, +11 more.

show_imagesShow model imagesA
Read-only

Show a model's preview pictures (thumbnail and gallery) inline, downscaled to at most 1024 px. Use it when the user wants to see a part. Never uses a download.

Inputs: model_id (required), limit.

upload_modelUpload a modelA

Upload a new model to CommunityCAD (public or private) from a file or folder, with pictures, README and optional datasheets. Only after the user explicitly said yes and chose the visibility, the licence (for public) and whether it's 18+. Nothing is uploaded when documentation is missing. Same moderation as the website. Returns the page link.

Inputs: path (required), title (required), is_mature (required), visibility (required), +11 more.

upload_versionUpload a new versionA

Upload a new version of the user's own model. Only after the user's explicit yes. Write real notes on what changed, and refresh the README when dimensions changed. Nothing is sent when the notes or README fall short.

Inputs: path (required), notes (required), model_id (required), readme_markdown.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 23 tools

    Disambiguation4/5

    Tools split cleanly along resource lines: models (search/get/download), datasheets (list/read/search), people and companies, plus account and publishing operations. Minor overlap exists between get_scores and get_model's embedded score summary, and the cluster of upload_model/upload_version/add_images/add_datasheets/edit_model all mutate the user's own model, though descriptions do draw clear boundaries. find_similar versus search_models is also close in spirit but distinguishable by input.

    Naming Consistency4/5

    All names are snake_case with a predictable verb_noun structure (get_model, search_companies, read_datasheet, add_images). A few deviate to noun-only (page_schema, account_status) or verb-adjective (find_similar), but the pattern remains readable and predictable. No mixed camelCase or style chaos.

    Tool Count4/5

    At 23 tools the set is on the heavy side of the 3-15 sweet spot, but the domain genuinely spans accounts, search, download quotas, datasheets, images, publishing and social metadata, so most tools map to a distinct capability. Nothing looks like a redundant filler tool, though a couple of read helpers (account_status, check_download) could be folded into a single status call.

    Completeness3/5

    Read coverage is strong (models, datasheets, comments, scores, companies, creators) and publishing includes upload, edit, new versions, images and datasheets. However, edit_model explicitly requires a `replace_tags` tool to remove tags, and no such tool exists, creating a real dead end; there are also no delete operations at all (models, images, datasheets, versions) and comment posting is deferred to the website, so agent workflows can hit walls.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides AI agents with instant, structured access to electronic component datasheets, pinouts, and electrical specifications without requiring PDF uploads. It enables seamless part searching, design validation, and side-by-side component comparisons across major hardware providers.
      14
      102 npm
      14
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to search millions of electronic components and ICs, retrieve specifications, compare alternates, and submit turnkey BOM procurement requests.
      4
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search and retrieve source-linked robotics projects, bills of materials, and technical components, compare components, and validate RPPS documents via a remote MCP endpoint.
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to build and edit native CAD parts and assemblies, inspect saved geometry and measurements, retain revisions, run mechanism and interference checks, and export STEP/STL/GLB artifacts through MCP tools.
      MIT