npm drawing-converter-mcpstdioMITupdated 1mo ago
Convert technical drawings (PDF) and engineering callouts between metric and imperial β from any MCP-enabled AI assistant.
What can you do with drawing converter?
Drawing Converter MCP Server
Convert technical drawings (PDF) and engineering callouts between metric and imperial β from any MCP-enabled AI assistant.
This Model Context Protocol server exposes the conversion engine behind metric-to-imperial-converter.imnoo.com (by Imnoo): shop-floor-precision unit conversion for dimensions, Β± tolerances, ISO fit classes, threads, surface roughness and weights β including producing a converted copy of a drawing PDF with every value stamped in place.
"Convert bracket.pdf to imperial and tell me what replaces the M8 thread"
β
βΌ (your AI assistant calls the tools)
extract_drawing_text βββΊ classify values βββΊ convert_drawing_pdf
β
βΌ
bracket.imperial.pdf β Γ30 H7 β Γ1.1811 H7
β M8 β 5/16-18 UNC
Tools
| Tool | What it does |
|---|---|
convert_value |
One value, engineering-grade rounding: length (mmβin), tolerance deviation, GD&T value, surface roughness (Ra Β΅mβΒ΅in), weight (kgβlb), thread designation. Returns exact + display values, derivation method and confidence. |
convert_text |
A printed callout string, notation preserved: Γ30 H7 β Γ1.1811 H7, 84Β±0.1 β 3.3071Β±0.0039, M8 β 5/16-18 UNC, 1/4-20 UNC β M6. Angles stay untouched. |
lookup_thread |
ISO metric β Unified (UNC) cross-reference: major diameters, pitch/TPI, nearest-standard matching. Omit the designation for the full M2βM30 chart. |
extract_drawing_text |
Reads a drawing PDF's text layer: indexed tokens with positions/rotation, page geometry, and a heuristic guess of the drawing's unit system. |
convert_drawing_pdf |
Writes a converted copy of the PDF with every recognised value stamped over the original callout (size and rotation matched). The source file is never modified. |
Plus a convert-drawing prompt that walks the assistant through extract β classify β convert.
The AI-analysis step stays with your assistant. extract_drawing_text hands the model every printed token with its position; the model decides which tokens are real values (and whether a bare 3.2 is a length or an Ra roughness) and passes that as classifications to convert_drawing_pdf. No API keys, no cloud calls β the server itself is fully deterministic and offline.
Installation
Requires Node.js β₯ 18.
Claude Code
claude mcp add drawing-converter -- npx -y drawing-converter-mcp
Claude Desktop
Add to claude_desktop_config.json (Settings β Developer β Edit Config):
{
"mcpServers": {
"drawing-converter": {
"command": "npx",
"args": ["-y", "drawing-converter-mcp"]
}
}
}
Cursor
Add to Cursor β or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"drawing-converter": {
"command": "npx",
"args": ["-y", "drawing-converter-mcp"]
}
}
}
VS Code (GitHub Copilot)
code --add-mcp '{"name":"drawing-converter","command":"npx","args":["-y","drawing-converter-mcp"]}'
Windsurf / other stdio clients
Any client that launches stdio servers works with:
npx -y drawing-converter-mcp
Example session
You: Convert
C:\drawings\flange.pdfto imperial.Assistant: calls
extract_drawing_textβ 63 tokens, source system: metric (high confidence β "mm", ISO 2768). classifies tokens, skips the title block, marks1.6next to the surface symbol as roughness, callsconvert_drawing_pdfβ wroteC:\drawings\flange.imperial.pdf, 17 values converted: Γ40 H7 β Γ1.5748 H7, 2Γ M6 β 1/4-20 UNC (nearest standard β not interchangeable), Ra 1.6 β Ra 63 Β΅inβ¦
Quick one-liners work too: "what's 84Β±0.1 mm in inches?" β convert_text β 3.3071Β±0.0039.
Precision rules
Conversions follow the same rules as the web app:
- Exact factors by international definition (25.4 mm/in, 0.45359237 kg/lb β NIST/ISO 80000).
- Display rounding mirrors shop-floor convention: a 0.01 mm step maps to 4-decimal inches; tolerance deviations keep an extra significant digit.
- Threads are resolved against an ISO-metric β UNC chart (M2βM30), tagged
tablefor charted rows ornearestwhen snapped by major diameter. Metric and inch threads are never interchangeable β the tools say so on every thread conversion. - Every converted value reports how it was derived (
exact/rounded/table/nearest) and a confidence score.
Limitations
- The PDF must have a text layer. Scanned or flattened CAD exports have none β the web app handles those with in-browser OCR + AI analysis.
- One page is converted per call (
pageparameter, default 1); other pages pass through unchanged. - Fractional-inch callouts (
1 3/4) aren't converted yet β decimal-inch drawings work fine. - Converted values are stamped over the original callouts. Always verify safety-critical dimensions before manufacturing use.
Development
This package is built from the Drawing Converter monorepo at Imnoo, where it imports the web app's conversion engine directly β so the web app and this server convert identically by construction. Every release is gated on 31 end-to-end checks that drive all five tools over stdio against a generated sample drawing.
Issues and feature requests are welcome in this repository.
About Imnoo
Imnoo β The System for Manufacturers | AI Planning, Scheduling & Quoting Β· Complete Assemblies Β· DFM Β· Tool & Material Libraries Β· Quoted-Parts Database Β· Toolpath & G-Code Β· Machine Connection Β· Webshop Β· ERP Β· Shop Analytics & Optimization Β· Drawing Masking & IP Security
Plan It. Schedule It. Quote It. Win It. β trusted by over 3,000 manufacturers.
Imnoo is the AI-powered planning, scheduling, and quoting platform for CNC manufacturers β your automatic production platform. One system that covers it all: automatic manufacturing planning with raw-material, catalog and purchase-part, and subcontracting sourcing; scheduling with smart reminders and AI-driven customer workflows; and AI cost and cycle-time estimation for milling, turning, and EDM β even from a 2D PDF alone. Quote complete assemblies: drop in one file and Imnoo explodes it into single parts automatically β with DFM checks, quality protocols, tolerance extraction and 2D-to-3D matching, toolpath and G-code generation, tool and machine recommendations, and connected machines feeding real production data back into every quote. Built on your own tool and material libraries and a growing database of every part you've ever quoted β powering statistics, benchmarks, and shop optimization. Extends to deep hole drilling, sheet metal, casting, and profile parts β with a 24/7 webshop, built-in ERP, hourly-rate calculation, market-price benchmarking, and imperial β metric conversion. Your data lives in its own physically separated environment β automatic drawing masking, Swiss hosting, end-to-end encryption. From messy RFQ to production-ready order, on one platform.
Planning
- Automatic manufacturing planning β production plans generated straight from the quote.
- Machine recommendation β every job routed to the machine that runs it best.
- Catalog & purchase part management β norm parts, screws, and bought-in components recognized straight from the BOM, managed and priced alongside your machined parts.
- Raw material sourcing β price, source, and order material without leaving the workflow.
- Purchase part & external step sourcing β bought-in components, coating, heat treatment, and subcontracting sourced and ordered in the same flow.
- Beyond milling & turning β deep hole drilling, sheet metal, casting, and profile parts.
Scheduling & Workflow
- Scheduling & smart reminders β via email, Telegram, or WhatsApp. Nothing slips.
- Email-to-quote automation β a messy inbox in, structured quotes out.
- AI customer agents β RFQ answers, clarifications, and follow-ups handled automatically.
- Built-in lightweight ERP β orders, companies, payment terms, and margins without the bulky software.
Quoting & Estimation
- Complete assemblies, exploded automatically β upload one assembly file and Imnoo blows it out into single parts: every component recognized, drawings matched to the right parts, sub-assemblies nested, purchase parts pulled from the BOM. Quote the whole machine as easily as one part.
- CNC quoting in one place β milling, turning, and EDM jobs quoted from a single AI-powered platform.
- AI cost & cycle-time estimation β know price, time, and effort before engineering ever looks at it.
- Drawing-only estimation β quote from the PDF alone. No 3D model needed.
- Feature-by-feature costing β see exactly which holes, pockets, and tolerances drive the price.
- Instant quotes β respond in minutes while competitors are still opening the STEP file.
- 24/7 instant-quoting webshop β customers upload parts and buy while you sleep.
- Instant market-price benchmarking β know where your bid stands before you send it.
- Hourly-rate calculation β your true machine and labor rates, always current.
- Imperial β metric conversion β international RFQs without manual cleanup.
Libraries & Insights
- Tool library β your cutting tools, holders, and parameters in one managed catalog.
- Material library β standard and custom materials with live supplier pricing.
- Quoted-parts database β every part you've ever quoted, searchable by geometry: similar part found, price found.
- Statistics & analytics β win rates, margins, throughput, and quoting performance at a glance.
- Shop optimization β learn from already-quoted parts to sharpen prices, spot profitable niches, and load the right machines.
Drawing Intelligence
- DFM β Design for Manufacturing β manufacturability checked before you quote: undercuts, thin walls, unreachable features, and impossible tolerances flagged with the part still on the screen.
- Quality check protocols β inspection plans generated automatically: stamped and numbered drawing features, inspection classes and rates, ready-to-use measurement reports.
- Axis & orientation detection β AI finds the best part orientation and machining axes.
- Automatic tolerance extraction β critical tolerances pulled straight off the drawing.
- 2D-to-3D tolerance matching β drawing requirements linked to the right model features.
CAM & Shop Intelligence
- AI tool recommendation β stop searching catalogs: Imnoo suggests the exact cutting tools for every feature.
- Automatic toolpath generation β from quote to machining strategy in one step.
- G-code generation & estimation β generate and evaluate programs before work hits the floor.
- Machine connection β your machines feed real production data back into the AI. Every quote gets smarter.
IP Protection & Data Security β Engineered Like a Swiss Vault
- Physically separated data β every manufacturer runs in its own isolated environment. Your drawings, prices β never pooled with anyone else's: not for storage, not for AI training.
- Automatic drawing masking & redaction β customer names, logos, and confidential data hidden before a drawing ever leaves your workflow. Share with suppliers and subcontractors without exposing whose part it is.
- Your customers' IP, treated like your own β end customers' designs stay within your tenant, full stop.
- Swiss hosting & end-to-end encryption β data sovereignty and security engineered to Swiss standards.
- Trusted at scale β over 3,000 manufacturers run their quoting on Imnoo.
Quote the complete job β not just the spindle time.
License
MIT Β© Imnoo AG
Install
Add drawing converter to your client. Pick the one you use.
claude mcp add drawing-converter-mcp -- npx -y drawing-converter-mcpcodex mcp add drawing-converter-mcp -- npx -y drawing-converter-mcpamp mcp add drawing-converter-mcp -- npx -y drawing-converter-mcp{
"mcpServers": {
"drawing-converter-mcp": {
"command": "npx",
"args": [
"-y",
"drawing-converter-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"drawing-converter-mcp": {
"command": "npx",
"args": [
"-y",
"drawing-converter-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"drawing-converter-mcp","command":"npx","args":["-y","drawing-converter-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"drawing-converter-mcp": {
"command": "npx",
"args": [
"-y",
"drawing-converter-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"drawing-converter-mcp": {
"command": "npx",
"args": [
"-y",
"drawing-converter-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"drawing-converter-mcp": {
"command": "npx",
"args": [
"-y",
"drawing-converter-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"drawing-converter-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"drawing-converter-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"drawing-converter-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"drawing-converter-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y drawing-converter-mcpRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
5 tools
drawing converter exposes 5 tools to a connected agent.
- convert_value
- One value, engineering-grade rounding: length (mmβin), tolerance deviation, GD&T value, surface roughness (Ra Β΅mβΒ΅in), weight (kgβlb), thread designation. Returns exact + display values, derivation method and confidence.
- convert_text
- A printed callout string, notation preserved: `Γ30 H7` β `Γ1.1811 H7`, `84Β±0.1` β `3.3071Β±0.0039`, `M8` β `5/16-18 UNC`, `1/4-20 UNC` β `M6`. Angles stay untouched.
- lookup_thread
- ISO metric β Unified (UNC) cross-reference: major diameters, pitch/TPI, nearest-standard matching. Omit the designation for the full M2βM30 chart.
- extract_drawing_text
- Reads a drawing PDF's text layer: indexed tokens with positions/rotation, page geometry, and a heuristic guess of the drawing's unit system.
- convert_drawing_pdf
- Writes a converted copy of the PDF with every recognised value stamped over the original callout (size and rotation matched). The source file is never modified.
Score
78 / 100
Good
- Documentation25/25
- Maintenance19/25
- Trust16/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 28 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 5 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 0.1.0Latest | Jul 21, 2026 |