DocFig

com.docfig由 docfig.com 发布官方发布者v0.2.0更新于 Nov 1, 2026

Bank statement PDFs to checked transactions, plus a free offline check for transaction tables.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

DocFig 把银行和信用卡对账单 PDF 或照片转成经过核对的分录,并提供免费的离线交易表检查。

可以做什么
  • 检查交易表错误:余额不连续、借贷列互换、正负号错误、重复或缺失行
  • 把对账单 PDF、扫描件或手机照片转成分录,返回合计、标记行以及 Excel 和 CSV 下载链接
  • 合并多份对账单为同一账户视图,找出缺失月份、期间重叠、重复交易和余额未结转
  • 查询 API 密钥本月已用和剩余页数
适用场景
适合核对个人或企业账目:在信任一份交易表格前先验证它,从对账单 PDF 或照片中提取分录,或合并多个月的对账单以发现缺口和重复。
运行要求
可作为远程端点使用,也可通过 uvx(PyPI 包 docfig)或 npx(npm 包 docfig-api)在本地运行。转换和合并对账单需要 DocFig API 密钥,通过 DOCFIG_API_KEY 或 Authorization bearer 头提供;免费密钥每月 100 页。离线检查无需密钥。
安装前请注意
转换和合并时对账单文件会上传到 DocFig,财务数据会离开本机;离线检查不上传任何内容。API 密钥属于机密,离线检查不需要它。下载链接在一小时内无需密钥即可访问,只应分享给有权查看该对账单的人。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "docfig": {
      "type": "http",
      "url": "https://mcp.docfig.com/mcp"
    }
  }
}

工具

4

check_transactions

Check a transactions table

Check a bank or credit card statement's transactions table for errors. Free and offline: no API key, nothing is uploaded. Walks the running balance row by row and reports rows where the balance does not follow, swapped debit and credit columns, sign errors, duplicated or missing rows, dates out of order, and totals that miss the opening or closing balance, each with a likely fix. Give the table as csv_text (CSV or TSV with a header row) or as rows (first row is the header). Same result as `docfig check --json`.

输入参数rowscsv_textfilenamedelimiterdate_formatstatement_typeclosing_balanceopening_balance

convert_statement

Convert a bank statement

Convert a bank or credit card statement (PDF, scanned PDF, or a JPG, PNG or HEIC photo) into transactions, with every row checked against the balances. Give file_url or file_base64. Returns the bank, period, totals, check status, flagged rows, the first transactions and Excel and CSV download links that work for one hour. Uses the user's DocFig API key and their monthly pages (free key: 100 pages a month at https://docfig.com/api). Account numbers are masked; nothing is stored, results are deleted after one hour.

输入参数file_urlfilenamepasswordfile_base64statement_idwait_secondsmax_transactions

combine_statements

Combine several statements

Convert several statements (or reuse statement_ids from the last hour) and combine them into one set of accounts: finds missing months (gaps), overlapping periods, duplicated transactions (kept once) and balances that do not carry over. Returns the accounts, problems, counts and links to one combined Excel or CSV file (valid one hour). Uses the user's DocFig API key.

输入参数fileswait_secondsstatement_ids

usage

Pages left this month

Pages used and left this month for the DocFig API key, and when they reset.

无需输入参数。

版本历史

1
  1. v0.2.0最新Nov 1, 2026

评分

已满足适用检查项的 75%

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

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

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

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。