io.github.peter-schout/bol-ai is an MCP server published by io.github.peter-schout, hosted at bol.ai. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 8 tools, including extract_bol, extract_batch, list_documents, get_document, save_corrections.
Extract structured data from Bills of Lading: parties, ports, containers, incoterms. EU-hosted.
1 connections through 4 shared values. Tap any node.
Extract structured data from a freight document (PDF, PNG or JPG, max 10 MB): Bill of Lading, commercial invoice, packing list, or CMR road waybill. The document type is detected automatically and returned as `doc_type`. Provide either a fetchable `url` or `base64` file content. Fields not present in the document are null — never guessed. Each successful extraction bills one document.
| Parameter | Type | Description |
|---|---|---|
| url | string | URL of the document to fetch and extract |
| base64 | string | Base64-encoded file content (alternative to url) |
| filename | string | Filename including extension, e.g. shipment-4711.pdf |
{
"name": "extract_bol",
"title": "Extract freight document",
"description": "Extract structured data from a freight document (PDF, PNG or JPG, max 10 MB): Bill of Lading, commercial invoice, packing list, or CMR road waybill. The document type is detected automatically and returned as `doc_type`. Provide either a fetchable `url` or `base64` file content. Fields not present in the document are null — never guessed. Each successful extraction bills one document.",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL of the document to fetch and extract"
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to url)"
},
"filename": {
"type": "string",
"description": "Filename including extension, e.g. shipment-4711.pdf"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Extract up to 10 freight documents in one call. Provide an array of fetchable URLs; each document is processed and billed independently, and the response reports a per-document outcome so partial success (e.g. running out of credits mid-batch) is explicit.
| Parameter | Type | Description |
|---|---|---|
| urls * | array | URLs of documents to fetch and extract (max 10) |
{
"name": "extract_batch",
"title": "Extract multiple freight documents",
"description": "Extract up to 10 freight documents in one call. Provide an array of fetchable URLs; each document is processed and billed independently, and the response reports a per-document outcome so partial success (e.g. running out of credits mid-batch) is explicit.",
"inputSchema": {
"type": "object",
"required": [
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"description": "URLs of documents to fetch and extract (max 10)"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}List the 100 most recent documents for this account with id, filename, status (pending/done/failed), doc_type and primary reference number.
No parameters.
{
"name": "list_documents",
"title": "List documents",
"description": "List the 100 most recent documents for this account with id, filename, status (pending/done/failed), doc_type and primary reference number.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}Get the extraction result for a document by id: doc_type, extracted fields, user corrections (when present), and deterministic verification warnings (ISO 6346 container check digits, plausibility flags). `fields` is the best available data (corrections win); `original_fields` and `corrected_fields` show both sides.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Document id |
{
"name": "get_document",
"title": "Get extraction result",
"description": "Get the extraction result for a document by id: doc_type, extracted fields, user corrections (when present), and deterministic verification warnings (ISO 6346 container check digits, plausibility flags). `fields` is the best available data (corrections win); `original_fields` and `corrected_fields` show both sides.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Document id"
}
}
},
"annotations": {
"readOnlyHint": true
}
}Save corrected field values for an extracted document. The original extraction is kept alongside the corrections; corrected data takes precedence in get_document, exports and reconciliation. Pass the complete corrected fields object (same shape as returned by get_document).
| Parameter | Type | Description |
|---|---|---|
| id * | string | Document id |
| fields * | object | Complete corrected fields object, including doc_type |
{
"name": "save_corrections",
"title": "Save field corrections",
"description": "Save corrected field values for an extracted document. The original extraction is kept alongside the corrections; corrected data takes precedence in get_document, exports and reconciliation. Pass the complete corrected fields object (same shape as returned by get_document).",
"inputSchema": {
"type": "object",
"required": [
"id",
"fields"
],
"properties": {
"id": {
"type": "string",
"description": "Document id"
},
"fields": {
"type": "object",
"description": "Complete corrected fields object, including doc_type"
}
}
},
"annotations": {
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Cross-document reconciliation: find the other documents in this shipment (linked by shared reference numbers such as B/L number and invoice number) and compare them field by field — shipper/seller and consignee/buyer names, total gross weight (5% tolerance) and package counts. Returns matches and mismatches per linked document. Catches the discrepancies that cause customs holds, amended entries and demurrage. Deterministic — no extra document billed.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Document id to reconcile against the rest of the account |
{
"name": "get_related_documents",
"title": "Reconcile shipment documents",
"description": "Cross-document reconciliation: find the other documents in this shipment (linked by shared reference numbers such as B/L number and invoice number) and compare them field by field — shipper/seller and consignee/buyer names, total gross weight (5% tolerance) and package counts. Returns matches and mismatches per linked document. Catches the discrepancies that cause customs holds, amended entries and demurrage. Deterministic — no extra document billed.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Document id to reconcile against the rest of the account"
}
}
},
"annotations": {
"readOnlyHint": true
}
}Export completed extractions as TMS/ERP-ready normalized line rows (one row per container / invoice line / package / goods line), newest first. Optional doc_type filter and max_rows cap. Corrected data wins over the original extraction. For CSV/XLSX files use GET /api/bol/export on the REST API.
| Parameter | Type | Description |
|---|---|---|
| type | string | Only include documents of this type |
| max_rows | number | Maximum rows to return (default 500) |
{
"name": "export_documents",
"title": "Export documents as normalized rows",
"description": "Export completed extractions as TMS/ERP-ready normalized line rows (one row per container / invoice line / package / goods line), newest first. Optional doc_type filter and max_rows cap. Corrected data wins over the original extraction. For CSV/XLSX files use GET /api/bol/export on the REST API.",
"inputSchema": {
"type": "object",
"properties": {
"type": {
"enum": [
"bill_of_lading",
"commercial_invoice",
"packing_list",
"cmr"
],
"type": "string",
"description": "Only include documents of this type"
},
"max_rows": {
"type": "number",
"description": "Maximum rows to return (default 500)"
}
}
},
"annotations": {
"readOnlyHint": true
}
}Check this account's remaining prepaid credits and subscription status. Call this before large batches to avoid running out of credits mid-workflow. When the account cannot bill more documents, a human can top up at the returned buy_credits_url.
No parameters.
{
"name": "get_usage",
"title": "Check credits and subscription",
"description": "Check this account's remaining prepaid credits and subscription status. Call this before large batches to avoid running out of credits mid-workflow. When the account cannot bill more documents, a human can top up at the returned buy_credits_url.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}Bol.ai extracts structured data from Bill of Lading documents. Use extract_bol with a url or base64 content.
Names, descriptions and schemas were written by the server and are shown as data.