Docforge

io.github.steviepinero由 GitHub 账号 steviepinero 发布v0.2.0更新于 Oct 24, 2026

12 paid document tools: PDF to markdown, OCR, tables, invoices, Word/Excel/HTML, merge/split. x402

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

概览

AI 生成的概览

Docforge 是一个远程 MCP 服务器,让助手把 PDF 转成 Markdown、执行 OCR、提取表格与发票信息,并把 Markdown 渲染为 PDF。

可以做什么
将文本型 PDF 转换为整洁的 Markdown,保留标题、列表和段落,输入可为文件链接或 base64。对图片执行 OCR,支持 100 多种语言,返回识别文本和置信度分数。从 PDF 中检测并重建表格,输出结构化行以及 Markdown 和 CSV。从发票或收据中提取供应商、日期、金额和明细等字段,返回 JSON。把 Markdown 或简单 HTML 渲染为可打印的 A4 PDF,返回 base64 和页数。
适用场景
适合需要把 PDF 转为可编辑文本、从文档中提取表格或发票数据、从扫描图片读取文字,或由 Markdown 生成可打印 PDF 的场景。
运行要求
远程 streamable HTTP 端点;未声明本地软件包、环境变量或请求头。输入以文件链接或 base64 内容提供,助手需要网络访问该端点。
安装前请注意
注册表描述称这些文档工具为付费工具并提到 x402,调用可能涉及付费,使用前请确认价格。文档和图片会发送到第三方远程服务,敏感文件需谨慎处理。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Docforge,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "docforge": {
      "type": "http",
      "url": "https://docforged.mcpize.run/mcp"
    }
  }
}

工具

5

pdf_to_markdown

PDF to Markdown

Extract the text of a PDF and convert it to clean markdown. Detects headings by font size and preserves lists and paragraphs. Input: a text-based PDF via file_url or file_base64. For scanned PDFs use ocr_image on page images instead.

输入参数file_urlfile_base64

ocr_image

OCR Image to Text

Run optical character recognition on an image (png, jpg, webp, bmp) and return the recognized text with a confidence score. Supports 100+ languages via the language parameter (ISO 639-2 codes like 'eng', 'deu', 'fra', 'spa').

输入参数file_urllanguagefile_base64

extract_tables

Extract Tables from PDF

Detect and reconstruct tables from a text-based PDF. Returns each table as structured rows plus ready-to-use markdown and CSV renderings. Works best on PDFs with clear columnar layout (invoices, reports, statements).

输入参数file_urlfile_base64

render_pdf

Render Markdown/HTML to PDF

Render markdown (or simple HTML) into a clean, printable A4 PDF. Supports headings, paragraphs, bullet and numbered lists, blockquotes, code blocks, horizontal rules, and inline bold/italic/code. Returns the PDF as base64 plus page count.

输入参数titleformatcontent必填

parse_invoice

Parse Invoice/Receipt

Extract structured data from an invoice or receipt: vendor, invoice number, dates, currency, subtotal, tax, total, and line items. Accepts a text-based PDF, or an image when is_image is true (OCR is applied first). Returns JSON.

输入参数file_urlis_imagefile_base64

版本历史

1
  1. v0.2.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

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

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

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

  • 许可证不适用

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