Drawing Converter (Metric ⇄ Imperial)
Convert technical-drawing PDFs and engineering callouts between metric and imperial — values stamped in place, threads cross-referenced, shop-floor rounding.
README
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 is the AI-powered planning, scheduling and quoting platform for CNC manufacturers — trusted by over 3,000 shops.
One system for the whole job, not just the spindle time:
- Planning — automatic manufacturing plans, machine recommendation, raw material, catalog and purchase-part sourcing, subcontracting. Beyond milling and turning: deep hole drilling, sheet metal, casting, profile parts.
- Quoting — AI cost and cycle-time estimation for milling, turning and EDM from a 2D PDF alone; feature-by-feature costing; market-price benchmarking; hourly-rate calculation; a 24/7 instant-quoting webshop.
- Drawing intelligence — automatic tolerance extraction, 2D-to-3D matching, axis and orientation detection, generated quality-check protocols.
- CAM — AI tool recommendation, automatic toolpath and G-code generation, and connected machines feeding real production data back into every quote.
- Libraries and insights — your own tool and material libraries, plus a searchable database of every part you've ever quoted.
- IP protection — physically separated tenants, automatic drawing masking, Swiss hosting, end-to-end encryption.
Quote the complete job — not just the spindle time. Book a demo at imnoo.com
License
MIT © Imnoo AG
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。