schematic-pdf-mcp
This server provides MCP tools for precision-first inspection, conversion, and validation of circuit schematic PDFs into structured JSON (SchematicIR) with evidence preservation.
Inspect a PDF to classify each page as vector, raster, hybrid, or empty, so you know what’s processable.
Convert a PDF through a four-layer pipeline (with optional page selection and auto-detected Altium Designer profile) to produce raw, semantic, and final JSON artifacts.
Validate a SchematicIR JSON file against schema and topology rules without altering content.
Access control and artifact destinations are configurable via SCHEMATIC_PDF_ALLOWED_ROOTS and SCHEMATIC_PDF_ARTIFACT_ROOT, with staged artifacts and schema exposed at schematic:// URIs.
Provides conversion of native Altium Designer PDF exports into SchematicIR JSON, with an auto-detected Altium-specific recognition profile that handles Altium's wiring, symbols, pins, sheet ports, and cross-page named-net merging.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@schematic-pdf-mcpconvert schematic.pdf to SchematicIR JSON"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Schematic PDF to JSON
Precision-first conversion of vector PDF circuit schematics into an
evidence-preserving SchematicIR JSON document. The project includes a Python
conversion engine, command-line interface, MCP server, reusable Codex skill,
and validation tools.
This project deliberately prefers missing uncertain content over emitting plausible but incorrect electrical information. A result marked
needs_reviewmust not be treated as a verified netlist.
Architecture
PDF parsing — extracts native text, vector paths, styles, coordinates, source IDs, and evidence.
Primitive recognition — identifies conservative wire, component, pin, junction, label, and network-flag candidates.
Connectivity recovery — applies explicit endpoint, T-junction, junction marker, and evidence-backed named-net rules.
JSON output — emits validated
SchematicIR, unresolved issues, topology checks, and a deterministic hash.
Each conversion preserves all four stages as separate JSON artifacts.
Related MCP server: KiCAD Schematic Manipulation MCP Server
One-click agent installation
Codex plugin:
codex plugin marketplace add ght123247/schematic-pdf-to-json --ref v0.2.0
codex plugin add schematic-pdf-to-json@schematic-pdf-toolsStart a new Codex task after installation. The bundled plugin installs its isolated Python runtime automatically on the first MCP connection.
Claude Desktop, Cursor, and Gemini CLI on Windows:
irm https://raw.githubusercontent.com/ght123247/schematic-pdf-to-json/v0.2.0/install.ps1 | iexClaude Desktop, Cursor, and Gemini CLI on macOS/Linux:
curl -fsSL https://raw.githubusercontent.com/ght123247/schematic-pdf-to-json/v0.2.0/install.sh | shThe installer creates an isolated runtime under
~/.schematic-pdf-to-json, preserves unrelated settings, backs up every
changed config, performs a real MCP handshake, and prints the tools it found.
Python 3.11 or newer is the only prerequisite.
See Agent installation for selecting one agent, custom allowed roots, upgrades, uninstalling, and manual configuration.
Development install
Python 3.11 or newer is required.
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e ".[test]"Command line
schematic-pdf inspect "D:\path\drawing.pdf"
schematic-pdf convert "D:\path\drawing.pdf" --output output\artifacts
schematic-pdf validate "D:\path\schematic.final.json"The conversion output contains:
job-.../
├── layer1/raw.json
├── layer2/semantic.json
├── layer3/connectivity.json
├── layer4/schematic.final.json
└── manifest.jsonAltium Designer PDF support
For native vector PDFs exported by Altium Designer, the recognizer selects an Altium-specific profile automatically. It handles Altium's dark-blue wiring, blue symbol graphics, black pin stubs, red/yellow sheet ports, adjacent reference/value text pairs, large multi-pin IC bodies, and exact cross-page named-net merging. Dense PCB-artwork pages embedded in a schematic PDF are excluded with a reviewable warning instead of being interpreted as a schematic.
The profile remains precision-first: unsupported or ambiguous values, pins, symbols, and labels are omitted from resolved JSON and retained as issues for manual review.
MCP server
Start the stdio server with:
schematic-pdf-mcpAvailable tools:
inspect_schematic_pdfconvert_schematic_pdfvalidate_schematic_ir
The server exposes schematic://schema/current and staged artifacts through
schematic://jobs/{job_id}/{stage}. Restrict readable local paths with
SCHEMATIC_PDF_ALLOWED_ROOTS; set SCHEMATIC_PDF_ARTIFACT_ROOT to control the
artifact destination.
Generic MCP configuration:
{
"mcpServers": {
"schematic-pdf": {
"command": "schematic-pdf-mcp",
"env": {
"SCHEMATIC_PDF_ALLOWED_ROOTS": "D:\\schematics",
"SCHEMATIC_PDF_ARTIFACT_ROOT": "D:\\schematic-output"
}
}
}
}Accuracy and validation
The final JSON contains source evidence and explicit issues for unresolved content. Schema validity and topology validity are independent of recognition completeness. Important policies include:
no inferred connection at a four-way crossing without explicit evidence;
no invented pin numbers, reference-designator suffixes, or net names;
ambiguous part-number-like text is omitted and reported for review;
recognition changes must keep 100% precision on registered real-PDF regression samples.
Run the automated suite:
python -m pytestRun the EasyEDA-backed precision regression after placing authorized local sample PDFs and truth exports at the paths registered in the script:
python scripts\run_precision_regression.pyFor a genuinely unseen PDF, lock the conversion before reading EDA truth:
python scripts\blind_validate_pdf.py lock "Test_PDF_SCH\new.pdf"
python scripts\blind_validate_pdf.py compare `
"output\blind\job-...\blind-lock.json" `
"output\accuracy\new.easyeda-ground-truth.json"Test schematics, EasyEDA truth exports, and generated artifacts are excluded from the repository because they may contain proprietary circuit designs.
Codex skill
The reusable skill is in skill/convert-schematic-pdf.
It defines the precision-first workflow, acceptance order, validation policy,
MCP contract, and current limitations.
Current limitations
Native vector PDFs are the primary supported input.
Native Altium Designer schematic exports have a dedicated auto-detected recognition profile; custom print styles may still require calibration.
Raster OCR and raster primitive recognition are not implemented.
Hidden pin numbers and ambiguous symbol identity remain unresolved.
Long-distance value/label association is intentionally conservative.
Human review is still required whenever blocking issues remain.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides LLMs with direct access to official vendor PDF documentation for electronics components (TI, ST, ADI) via a local SQLite full-text index and PDF retrieval tools.61
- AlicenseNot gradedqualityDmaintenanceEnables AI tools to create, edit, and inspect KiCAD schematic files, including components, wires, labels, and sheets.MIT
- AlicenseAqualityCmaintenanceFast, local PDF parsing as an MCP server with text extraction, bounding boxes, OCR, and visual citations. No cloud or API key required.5MIT
- AlicenseBqualityBmaintenanceEnables turning technical documents into a structured intermediate representation (SpecIR) and querying it via five MCP tools: specir_resolve, specir_fetch, specir_explain, specir_search, and specir_status. It provides a standardized way to extract, store, and retrieve document sections, tables, figures, entities, and provenance.51Apache 2.0
Related MCP Connectors
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
Convert PDF bank statements to checked Excel, CSV or JSON with balance validation.
Convert PDF bank statements into structured transactions, accounts, and balances.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ght123247/schematic-pdf-to-json'
If you have feedback or need assistance with the MCP directory API, please join our Discord server