Cadlens MCP server
io.github.cadlens-co/cadlens-mcp·v0.6.0·1 starsModel Context Protocol server that wraps the CADLens REST API.
1 stars39 downloads/wk
Reviews
Write oneNobody has reviewed Cadlens yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Cadlens tools (7, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cadlens_delete_jobwrite actionDelete a job and its uploaded file and preview image from CADLens storage. Irreversible.
cadlens_get_jobCheck the status of a CAD parse job. Returns PENDING, PROCESSING, COMPLETED, or FAILED.
cadlens_get_resultFetch the parsed result of a completed CAD job. Use mode='summary' (default) for an overview, 'entities_by_type' or 'entities_on_layer' for filtered detail, or 'full' for the complete vector JSON (can be very large — only use when explicitly needed).
cadlens_list_jobsList the 100 most recent CAD parse jobs for the configured API key, newest first.
cadlens_parse_fileParse a local CAD file (DWG/DXF/DWF/DWFx/DGN-V7/PDF, max 100 MB). Polls until the job completes or 5 minutes elapse. Returns a summary including the preview image URL. Use cadlens_get_result with the returned job_id to fetch detailed entity data.
cadlens_parse_urlDownload a CAD file from a URL (max 100 MB) and parse it. Same output as cadlens_parse_file.
cadlens_refresh_image_urlRe-fetch the presigned preview-image URL for a completed job. Cheaper than re-fetching the full result. The URL is valid for 3600 seconds.
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- Code scan21 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 44 days ago12/15
- Maintainer identityregistry namespace matches repository owner7/10
How Cadlens compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 77/100
- higher than 50% of 4,460 AI and agents servers
- Tools
- 7
- the typical AI and agents server has 6
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 39
- more than 31% of 1,538 AI and agents servers with a package
What its tools let an agent do: 6 read · 1 change
Install Cadlens in Claude Code, Cursor or VS Code
Runs npx -y @cadlens/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add cadlens-mcp -- npx -y @cadlens/mcp-server
What the publisher says
From the Cadlens repository's README, as published. We do not edit it. Read it on GitHub
cadlens-mcp
A Model Context Protocol server that wraps the Cadlens CAD parsing API so MCP-aware LLM clients (Claude Desktop, Claude Code, Cursor, Zed, Windsurf) can parse CAD files (.dwg, .dxf, .dwf, .dwfx, .dgn V7, .pdf, max 100 MB) and reason over the extracted entity, layer, and metadata payloads.
Cadlens converts CAD drawings into structured JSON without requiring AutoCAD or any desktop software — learn more at cadlens.co.
Install
Get an API key from the Cadlens dashboard first — keys start with cadl_ and are created in the dashboard for free.
Claude Desktop / Cursor / Windsurf
Add to your MCP client config (e.g. ~/Library/Application Support/Claude/claudedesktopconfig.json on macOS):
{
"mcpServers": {
"cadlens": {
"command": "npx",
"args": ["-y", "@cadlens/mcp-server"],
"env": {
"CADLENS_API_KEY": "cadl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}Claude Code CLI
claude mcp add cadlens \
--env CADLENS_API_KEY=cadl_xxx \
-- npx -y @cadlens/mcp-serverDevelopment (build from source)
npm install
npm run build
export CADLENS_API_KEY="cadl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
node dist/index.jsTools
Configuration
Webhook short-circuit (optional)
If WEBHOOKPUBLICURL is set, parsefile / parseurl register a per-process webhook URL alongside the upload. The webhook handler updates an in-memory job-state cache; the poller checks that cache before each HTTP GET and returns early when COMPLETED / FAILED arrives. This trims worst-case latency by up to one full poll tick (~1 s) without changing the tool surface.
Example tunnel setup:
cloudflared tunnel --url http://localhost:8787 &
export WEBHOOK_PORT=8787
export WEBHOOK_PUBLIC_URL="https://<your-tunnel>.trycloudflare.com"Development
npm run typecheck
npm run lint
npm test
npm run smoke # tools/list smoke test against built binaryProject-scoped Claude agents
This repo ships five agents under .claude/agents/:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Cadlens: common questions
- Is Cadlens MCP server safe?
- Mostly: it is graded B (77/100). Read the Cadlens safety report
- How do I install Cadlens?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Cadlens need an API key?
- Yes. The registry entry asks for
CADLENS_API_KEY. - Is Cadlens maintained?
- The last commit was 85 days ago (2026-08-11). The latest release is v0.6.0.
- What can I use instead of Cadlens?
- Servers from other publishers that do the same job: Mockserver MCP server.
- How does Cadlens compare with other AI and agents MCP servers?
- safety score 77/100 (higher than 50% of 4,460 AI and agents servers); tools 7 (the typical AI and agents server has 6); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Cadlens
Same job from other publishers: the closest match first, then the best rated.
- MockserverMock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.not reviewedEstablishedA