Bol Ai

io.github.peter-schout由 GitHub 账号 peter-schout 发布v1.0.0更新于 Oct 28, 2026

Extract structured data from Bills of Lading: parties, ports, containers, incoterms. EU-hosted.

已验证Streamable HTTP可网页运行文件与存储数据与分析商业与电商

概览

AI 生成的概览

Bol.ai 从提单、发票、装箱单等货运单据中提取结构化数据,并可核对与导出结果。

可以做什么
  • 通过 URL 或 base64 从单份货运单据(PDF、PNG、JPG)提取结构化字段,并自动识别单据类型
  • 对最多 10 个文档 URL 批量提取,并逐份返回处理结果
  • 列出近期文档,按 id 获取提取结果,包括人工更正与校验警告
  • 保存更正后的字段值,更正数据优先于原始提取结果
  • 按共享参考编号关联同一票货物中的其他单据,逐字段比对各方、重量与件数
  • 将已完成的提取导出为 TMS/ERP 可用的规范化行数据,并查询剩余额度与订阅状态
适用场景
适用于物流、货代与贸易合规场景:让助手读取运输单据、更正或核验提取字段、交叉核对同一票货物中的多份单据,并把规范化数据交给 TMS 或 ERP。
运行要求
远程 MCP 端点,位于 bol.ai,使用 streamable HTTP。需要 Bol.ai API 密钥,以 bearer 形式放在 Authorization 请求头中;密钥需在应用内创建,且账号为 Professional 方案。单据需可通过 URL 访问或以 base64 内容提供,单份最大 10 MB。
安装前请注意
Authorization 请求头中的 API 密钥属于机密,应避免出现在日志或共享配置中。提取会消耗预付额度,批量中每份单据单独计费,可能在处理中途额度耗尽,建议先查询用量。保存更正与导出会向账号写入数据。货运单据会发送至第三方欧盟托管服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Bol Ai,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.peter-schout%2Fbol-ai/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "bol-ai": {
      "type": "http",
      "url": "https://bol.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

工具

8

extract_bol

Extract freight document

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.

输入参数urlbase64filename

extract_batch

Extract multiple freight documents

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.

输入参数urls必填

list_documents

List documents

List the 100 most recent documents for this account with id, filename, status (pending/done/failed), doc_type and primary reference number.

无需输入参数。

get_document

Get extraction result

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.

输入参数id必填

save_corrections

Save field corrections

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).

输入参数id必填fields必填

export_documents

Export documents as normalized rows

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.

输入参数typemax_rows

get_usage

Check credits and subscription

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.

无需输入参数。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。