StructuraMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
StructuraMCP converts messy multi-page PDFs (construction Bills of Quantities, supplier quotes, commercial invoices, technical spec sheets) into schema-strict JSON and CSV.
Workflow: call list_schemas once, then parse_document with schema= and either
pdf_url (public https link to the PDF) or pdf_base64. Check confidence and
needs_review; values below ~0.8 deserve a human glance. Use validate_boq_schema to
check arithmetic (qty x rate = amount) and totals of a BoQ you produced or edited.
Billing: $0.08 per parsed page; re-parsing the same document+schema within 24h is free.
No API key yet? POST /v1/keys with {"email": "..."} on this server returns one with free trial pages.
Errors are JSON with code and hint - follow the hint and retry.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| parse_documentA | Extract line items and header fields from a PDF into the chosen schema. Returns document (schema-strict JSON), csv (optional), confidence 0-1 with a breakdown, method (deterministic | hybrid | llm), warnings and billing info. |
| validate_boq_schemaB | Validate a BoQ against the strict schema and check qty x rate = amount and totals. Free. |
| list_schemasB | List the supported document schemas, their versions, CSV columns and (optionally) JSON Schemas. |
| compare_supplier_quotesA | Line up several parsed supplier quotes item-by-item and pick the cheapest offer per line. Free. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a distinct role: schema listing, PDF parsing, BoQ arithmetic validation, and supplier quote comparison. The only mild overlap is that parse_document emits schema-strict JSON while validate_boq_schema checks schema/arithmetic, so an agent might briefly wonder whether parsing implies validation, but the descriptions clarify that validation is a separate check on an existing BoQ.
All four names follow a consistent snake_case verb_noun pattern (validate_boq_schema, parse_document, list_schemas, compare_supplier_quotes). Object nouns match their resources clearly.
Four focused tools sit comfortably within a reasonable scope for a BoQ/document-extraction server, and each earns its place. It is on the lean side, with no batch-parse or export counterpart, but nothing feels padded.
The surface covers the core lifecycle: discover schemas, parse documents, validate extracted BoQs, and compare supplier quotes, plus CSV output. Minor gaps remain, such as correcting/editing parsed line items or exporting to spreadsheet formats, but these are workarounds an agent can handle by re-parsing.