cadlens-co avatar

Cadlens Mcp

cadlens-co/cadlens-mcp

Wraps the CADLens REST API so Claude can parse CAD files (DWG, DXF, DGN, PDF) into structured JSON without installing AutoCAD. Exposes seven tools: upload local files or URLs, poll job status, fetch results in four detail modes (summary, entities by type, entities on layer, full JSON), refresh presigned image URLs, list recent jobs, and delete artifacts. Supports optional webhook short-circuiting to cut polling latency when you tunnel a public URL to the local receiver. You'll need a CADLens API key from their dashboard. Reach for this when you want Claude to reason over drawing entities, layers, and metadata in architecture, engineering, or construction workflows.

GitHub stars
1
tools
7
auth
Secret needed
transport
STDIO
env vars
3
last updated
Aug 11, 2026

Tools

7 tools

Public tool metadata for what this MCP can expose to an agent.

cadlens_parse_fileUpload a local CAD file, poll until parsed (5 min budget), return summary.

Upload a local CAD file, poll until parsed (5 min budget), return summary.

No parameter schema in public metadata yet.

cadlens_parse_urlDownload a CAD file from a URL, then parse it like parse_file.

Download a CAD file from a URL, then parse it like parse_file.

No parameter schema in public metadata yet.

cadlens_get_jobCheap status check (PENDING / PROCESSING / COMPLETED / FAILED).

Cheap status check (PENDING / PROCESSING / COMPLETED / FAILED).

No parameter schema in public metadata yet.

cadlens_get_resultFetch parsed content. mode: summary (default), entities_by_type, entities_on_layer, full.

Fetch parsed content. mode: summary (default), entities_by_type, entities_on_layer, full.

No parameter schema in public metadata yet.

cadlens_refresh_image_urlRe-fetch the 1h presigned PNG URL without re-downloading the full result.

Re-fetch the 1h presigned PNG URL without re-downloading the full result.

No parameter schema in public metadata yet.

cadlens_list_jobsThe 100 most recent jobs for the configured API key.

The 100 most recent jobs for the configured API key.

No parameter schema in public metadata yet.

cadlens_delete_jobDelete a job and its S3 artifacts. Irreversible.

Delete a job and its S3 artifacts. Irreversible.

No parameter schema in public metadata yet.

Sponsors

Configuration

CADLENS_API_KEY*secret

Your CADLens API key

CADLENS_API_BASEdefault: https://api.cadlens.co/v1

API base URL (default: https://api.cadlens.co/v1)

WEBHOOK_PUBLIC_URL

Public URL for webhook auto-registration (optional)

Readme

cadlens-mcp

npm version GitHub

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/claude_desktop_config.json on macOS):


View the full README on GitHub

Details

Repository
github.com/cadlens-co/cadlens-mcp
Package
@cadlens/mcp-server
Transport
STDIO
Auth
Required
Registry
MCP registry, active