quality-control-plan-mcp
This MCP server generates quality control plans and inspection reports from technical-drawing PDFs, automating the entire QC workflow from analysis to export.
Analyze drawing PDFs – Upload a vector or scanned PDF (≤30 MB) to Imnoo's drawing analysis to extract dimensional tolerances, ISO fits, threads, geometric tolerances (GD&T), and surface finishes, along with balloon numbers and title-block info.
Load saved analyses offline – Reuse previously saved analysis JSONs without uploading or using daily credits.
Build quality control plans – Configure numbering styles (numeric, padded, type-prefixed), ordering, inspection class (100%, Q1, Q2), section order, selection presets, per-row edits (tools, samples, pass/fail, corrected values), and header/drawing metadata.
Export Excel measurement and inspection reports – Generate the full workbook with header block, visual-inspection checklist, dimensional-conformity table, change-tracking footnotes, and signature block.
Export inspection PDFs – Produce ballooned drawings, inspection packages (drawing + plan), or plan-only documents, with translucent boxes, numbered balloons, leader arrows, feature tables, and final-approval block.
Stamp annotations – Add an "INSPECTION DRAWING" annotation block (revision, note) on the drawing.
Run fully offline after analysis – All plan building, numbering, limit computation, and document generation happens locally; only the initial PDF upload goes to Imnoo's service (1 free per day per IP).
Quality Control Plan MCP Server
Generate quality control plans and inspection reports from technical-drawing PDFs — from any MCP-enabled assistant.
This Model Context Protocol server exposes the engine behind quality-check-protocol.imnoo.com (by Imnoo). Need a quality control plan for a technical drawing? Hand the PDF to your assistant and get a numbered inspection plan in about a minute: every dimensional tolerance, ISO fit, thread, geometric tolerance (GD&T) and surface finish is extracted automatically by Imnoo's drawing analysis, ballooned on the drawing and listed with its acceptance limits — ⌀50 ±0.05 becomes 49.95–50.05 — and a measuring instrument. Ask for an inspection class (100 % full inspection, Q1 reduced, Q2 spot check), keep the balloon numbers printed on the drawing or renumber them (1, 001 or D001 style, in reading or measurement order), then let it write the ballooned drawing, the complete inspection package or the Excel measurement and inspection report — the same documents the Imnoo calculator produces. It covers first-article inspection, PPAP-style dimensional reports and shop-floor quality check protocols, on vector and scanned PDFs alike. Built by Imnoo, the planning, scheduling and quoting platform for CNC manufacturers — where the same quality check protocols come out of every quote, next to cost estimation, manufacturing plans and G-code generation.
"Create a Q1 quality plan for flange.pdf with type-prefixed balloon numbers"
│
▼ (your assistant calls the tools)
analyze_drawing ──► build_quality_plan ──► export_inspection_pdf + export_quality_plan_excel
│
▼
QP-1001-A_inspection-package.pdf D001 ⌀50 (±0.05) 49.95–50.05 Caliper
QP-1001-A_Q1.xlsx H001 ⌀10 H7 — Inside micrometer
G001 ⏥ 0.05 — CMMTools
Tool | What it does |
| Uploads a drawing PDF (vector or scanned, ≤ 30 MB) to Imnoo's drawing analysis — the service behind the web app — and returns every detected characteristic with type, value, PDF page, position, confidence and the balloon number printed on the drawing, plus the title block (drawing / article number, material, general tolerance). |
| Opens a saved analysis JSON. Fully offline — no upload, no daily credit. |
| Turns the analysis into the plan: balloon numbers (numeric, |
| Writes the Measurement and inspection report workbook: header block (article, ET-No., batch, inspection rate), visual-inspection checklist a–e, dimensional-conformity table (Insp. dim. no. · nominal dimension or thread size · tolerance range · measuring instrument · actual dimension · deviation · date · inspector), change-tracking footnotes and the special-release / signature block. Cell for cell the report the Imnoo calculator produces. |
| Writes the ballooned drawing ( |
Plus a create-quality-plan prompt that walks the assistant through analyze → review → export.
Where the analysis runs. analyze_drawing is the only tool that leaves your machine: it uploads the PDF to Imnoo's drawing analysis exactly like the web app does — 1 free analysis per day per IP address (need more? signed-in Imnoo users get a higher daily limit in the web app), uploaded files are deleted automatically after a short retention period, nothing else is stored. Everything after that — plan building, numbering, acceptance limits, Excel and PDF generation — runs locally and offline.
Related MCP server: cadtokens
Installation
Requires Node.js ≥ 18.
Claude Code
claude mcp add quality-control-plan -- npx -y quality-control-plan-mcpClaude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"quality-control-plan": {
"command": "npx",
"args": ["-y", "quality-control-plan-mcp"]
}
}
}Cursor
Add to Cursor — or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"quality-control-plan": {
"command": "npx",
"args": ["-y", "quality-control-plan-mcp"]
}
}
}VS Code (GitHub Copilot)
code --add-mcp '{"name":"quality-control-plan","command":"npx","args":["-y","quality-control-plan-mcp"]}'Windsurf / other stdio clients
Any client that launches stdio servers works with:
npx -y quality-control-plan-mcpConfiguration (optional)
Variable | Purpose |
| Point the analysis at another deployment of the web app (default |
Example session
You: Build a Q1 quality plan for
C:\drawings\flange.pdfwith type-prefixed numbers and write everything next to the drawing.Assistant: calls
analyze_drawing— 17 characteristics on 2 pages: 5 dimensional tolerances, 2 drill fits (⌀10 H7 carries the printed balloon 1), 1 shaft fit, 2 threads, 1 fine thread, 2 geometric tolerances, 4 surface finishes; drawing QP-1001-A, article 4711-050, AlMg3, ISO 2768-mK. callsbuild_quality_planwithinspection_class: "Q1"andnumbering: { style: "typePrefixed" }— D001 ⌀50 (±0.05) → 49.95–50.05 (Caliper), H001 ⌀10 H7 (Inside micrometer), G001 ⏥ 0.05 (CMM), R001 Ra 3.2 (Surface roughness gauge)… callsexport_inspection_pdfandexport_quality_plan_excelwith the same plan — wroteQP-1001-A_inspection-package.pdf(both drawing pages ballooned + the printed plan) andQP-1001-A_Q1.xlsx. Two values on page 2 were read with low confidence — worth a glance before the plan goes to the shop floor.
Those numbers are the bundled sample drawing the smoke test runs against; real drawings vary.
Plan options (the plan argument)
One object, accepted by build_quality_plan and both export tools — pass the same one everywhere so the documents match the reviewed plan. Everything is optional; the defaults reproduce the web app's initial plan.
Option | Values |
|
|
|
|
| restart the counter for every characteristic type |
| e.g. |
|
|
|
|
|
|
| title-block values to print when the analysis missed them (article / drawing number, material, general tolerance, article name, revision) |
| measuring instrument per type — defaults: CMM, thread plug gauge, caliper, inside / outside micrometer, depth caliper, surface roughness gauge |
| per characteristic (by |
| Excel checklist toggle, leader arrows on the drawing, an "INSPECTION DRAWING" stamp block (revision, note) |
How the plan is derived
Acceptance limits exist for plain dimensional tolerances with a numeric nominal (nominal + lower / upper deviation, rounded to 2 decimals). Fits, threads, geometric tolerances and surface finishes are gauged rather than measured against limits — the same rule as the Imnoo calculator.
Balloon numbers are derived from the selection and the numbering settings, so dropping a characteristic renumbers the rest automatically; a number printed on the drawing is kept in
customorder.A measured
samplesvalue is judged pass / fail against the limits; results and dates appear in both documents.The default section order is the measurement workflow: geometric tolerances (CMM) first, surface finishes (roughness gauge) last.
Limitations
The drawing analysis is automated: it can miss or misread characteristics, especially on low-quality scans — verify the plan against the drawing (
rows[].valuecorrects a value,excludedrops a row).Free tier: 1 analysis per day per IP address; PDFs up to 30 MB. Saved analyses (
save_analysis_to→load_analysis) are unlimited and offline.Hand-drawn characteristics, dragging balloons and saving the plan into the Imnoo calculator are features of the web app only.
Encrypted or unusual PDFs that cannot be copied fall back to
variant: "plan"here (the web app rasterises them instead).
Development
This package is built from the Quality Check Protocol monorepo at Imnoo, where it imports the web app's domain layer directly (drawing mapper, plan math, numbering engine, Excel and PDF builders) — so the web app and this server produce identical plans and documents by construction. Every release is gated on 61 end-to-end checks that drive all five tools over stdio against the bundled 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.
Privacy
The only data that leaves your machine is the drawing PDF you pass to analyze_drawing: it is uploaded over HTTPS to Imnoo's drawing analysis at quality-check-protocol.imnoo.com to detect the characteristics, deleted automatically within 24 hours, and not used for anything else. There is no telemetry and no other network call; plan building and the Excel/PDF exports run locally on your machine. Imnoo's privacy policy: https://www.imnoo.com/en/privacy-policy · Imprint: https://www.imnoo.com/en/imprint · Questions: https://github.com/imnoo-team/quality-control-plan-mcp/issues
License
MIT © Imnoo AG
Available Tools
5 toolsanalyze_drawingAnalyse a drawing PDF (Imnoo drawing analysis)A
Upload a technical-drawing PDF to Imnoo's drawing analysis and return every inspection characteristic it detects — dimensional tolerances (⌀50 ±0.05, 12 +0.2/-0.1), ISO fit classes (H7 drills, g6 shafts), threads and fine threads, geometric tolerances (GD&T frames) and surface finishes (Ra/Rz) — each with a feature id, value, PDF page, position and the balloon number printed on the drawing when there is one, plus the title block (drawing/article number, material, general tolerance). Analysis takes roughly 20–120 s; the call waits up to timeout_seconds and otherwise returns status "processing" with the drawing_id to resume with. analyze_drawing uploads the PDF to Imnoo's drawing analysis (the service behind the web app): 1 free analysis per day per IP address, more when signed in; uploaded files are deleted automatically after a short retention period and nothing else is stored. Use save_analysis_to to keep the analysis JSON for offline reuse with load_analysis.
Inputs: pdf_path, drawing_id, timeout_seconds, save_analysis_to.
build_quality_planBuild the quality control planARead-only
Turn an analysed drawing into the quality control plan the documents will print: one row per characteristic with its balloon number (numeric, padded or type-prefixed; printed drawing numbers kept by default), acceptance limits computed from nominal ± tolerance (dimensional tolerances only — fits, threads, GD&T and surface finishes are judged with gauges), the default measuring instrument per type, the inspection class/rate, and the section order. Deterministic and offline: adjust the plan options and call again until the plan is right, then pass the same options to the export tools.
Inputs: drawing_id (required), plan.
export_inspection_pdfExport the ballooned drawing / inspection package PDFAIdempotent
Write the inspection PDF. variant "package" (default): the original drawing pages with translucent boxes on every selected characteristic, numbered balloons and optional leader arrows, followed by the printed plan (general-information form, feature table with colored number chips, instrument and sample fill-in lines, acceptance criteria and result checkboxes, final approval). "ballooned": the marked-up drawing pages only. "plan": the plan document only (no drawing pages, no PDF needed). The source PDF is never modified. Default location: next to the drawing PDF as _inspection-package.pdf / _ballooned.pdf / _quality-plan.pdf.
Inputs: drawing_id (required), plan, variant, pdf_path, +2 more.
export_quality_plan_excelExport the Excel measurement and inspection reportAIdempotent
Write the quality plan as the "Measurement and inspection report" workbook (.xlsx): headline with the inspection class, header block (article name, ET-No., batch number, inspection rate), the visual-inspection checklist (a–e), the dimensional-conformity table (Insp. dim. no. · nominal dimension or thread size · tolerance range · measuring instrument · actual dimension · deviation · date · inspector), change-tracking footnotes and the special-release/signature block — cell for cell the report the Imnoo calculator produces. Default location: next to the drawing PDF as _.xlsx.
Inputs: drawing_id (required), plan, overwrite, output_path.
load_analysisOpen a saved drawing analysis (offline)ARead-only
Open a drawing analysis JSON saved earlier (analyze_drawing with save_analysis_to, or the Imnoo FileStore analysis document) and register it as a drawing for the plan and export tools. Fully offline — no upload, no daily credit. Pass pdf_path as well so the drawing exports can draw on the original PDF and write next to it.
Inputs: analysis_path (required), pdf_path, drawing_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct stage of one pipeline: extract characteristics (analyze_drawing), register an offline copy (load_analysis), assemble the plan (build_quality_plan), and emit documents (export_quality_plan_excel, export_inspection_pdf). The two export tools are cleanly separated by output format, and analyze_drawing vs load_analysis are distinguished as online upload vs fully offline registration.
All five names follow a consistent verb_noun snake_case pattern (analyze_drawing, load_analysis, build_quality_plan, export_quality_plan_excel, export_inspection_pdf). The two export tools share the export_ prefix, making the set predictable.
Five tools map exactly onto the natural workflow (ingest → register → build → export in two formats), each earning its place with no redundancy. This is a well-scoped, right-sized surface for the domain.
The surface covers the full lifecycle from drawing analysis through plan construction to Excel/PDF output, and build_quality_plan is re-callable to iterate on options. Minor gaps exist — no tool to list, manage, or delete previously registered drawings/analyses, and no direct way to edit individual characteristics without rebuilding.
Maintenance
Related MCP Connectors
Read title blocks, parts lists, revision history and notes from 2D engineering drawings.
Quantity takeoff from PDF drawings and BIM/IFC: room areas, symbol counts, roof zones.
AI takeoff for construction: turn PDF blueprints into structured, traceable quantities.
Construction takeoff and estimating for AI agents. Measure a drawing PDF, export a priced estimate.
Related MCP Servers
- AlicenseAqualityCmaintenanceConvert technical-drawing PDFs and engineering callouts between metric and imperial — values stamped in place, threads cross-referenced, shop-floor rounding.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients and AI agents to read and query semantic PMI/GD&T from local STEP AP242 files, including characteristic lists, datum reference frames, per-face tolerances, data-quality warnings, and exports to CSV, JSON, or ballooned PDF reports.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceTurn STEP, BREP and IGES files into CAD-style views, ISO drawing sheets, photorealistic renders, GIF animations and MP4 videos, with exact measurements and clash checks.Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to create, edit, inspect, and validate production drawings through one typed tool contract, driving either a live AutoCAD seat over COM on Windows or a headless ezdxf engine anywhere. It covers drafting, P&ID, mechanical, and architectural workflows with ISO/ANSI standards, dimension and tolerance checks, takeoffs, and drawing understanding.-