All MCP Servers
Dev Tools & GitMCP Registrypypi4 toolsB · 76

ofdkit MCP server

io.github.Edgar-311 · Updated

Read OFD files and Chinese e-invoices (数电票): text, invoice fields, folder totals. Read-only.

At a glance

ofdkit is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `uvx ofdkit`, and declares no required credentials. It exposes 4 tools, including read_ofd_text, read_ofd_invoice and ofd_info. It scores B (76/100) on the MCP Skills Hub health score as of Oct 28, 2026.

Source 0GitHub stars

One-click install

Opens your editor and pre-fills the config. Your editor will ask before adding it.

How to install ofdkit in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install ofdkit in Claude CodeAnthropic's agentic CLI

  1. Add the server

    bash
    claude mcp add ofdkit -- uvx ofdkit
  2. Verify it's connected

    bash
    claude mcp list
  3. Sharing it with your team?

    Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).

  4. Use it in a session

    Ask Claude to use the tools this server exposes (e.g. read_ofd_text, read_ofd_invoice, ofd_info). It discovers them automatically.

What tools does ofdkit expose? (4)

Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.

  • read_ofd_text按阅读顺序提取文字,可选 Markdown 和页码范围 / text in reading order, optional Markdown and page range
  • read_ofd_invoice发票字段 / invoice fields
  • ofd_info页数、尺寸、元数据 / pages, sizes, metadata
  • list_ofd_invoices汇总一个文件夹里的发票,可以检查抬头 / summarise a folder of invoices, optionally checking the buyer

What the code can do

Source analysis currently covers npm packages only. This server ships as a Python package, which needs a different parser.

Before you install

Signals gathered from the source repo and package registry — not a safety verdict.

What it can reach

  • Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
  • Downloads at launch — The package is fetched from its registry each run unless you pin a version.
  • Last commit today — Actively maintained.
  • Repository created 3 days ago — Very new project with little track record yet.
  • 0 GitHub stars — Very little community usage so far.

Client compatibility

Claude Code: NativeClaude Desktop: NativeCursor: NativeCodex CLI: NativeWindsurf: NativeCline: NativeVS Code: Native

Health score

B · 76

Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated

  • Maintenance30%100%

    Last commit 0 days ago.

  • Adoption20%0%

    0 stars.

  • Transparency20%100%

    4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.

  • Provenance15%75%

    Links to its own repository; package linkage unverified.

  • Packaging15%100%

    Publishes a pinned version (0.4.0).

Documentation

Full README

ofdkit

轻量的 Python 工具,用来读取 OFD 文件,提取里面的文字和发票字段,并能接入 AI 工具。OFD 是中国的国家标准版式文档格式(GB/T 33190),常见于电子发票和公文。

A lightweight Python toolkit for reading OFD documents (GB/T 33190, the Chinese fixed-layout format used for e-invoices and official documents): extract text and invoice fields, and use them from AI tools.

状态:0.4 版,接口以后可能还会调整。更新记录见 CHANGELOG。 Status: 0.4, the API may still change. See the CHANGELOG.

能做什么 / What it does

  • 看发票:一条命令显示发票号码、日期、购买方、销售方、金额和明细。

Show an invoice: number, date, buyer, seller, amounts and line items, with one command.

  • 把一个文件夹里的发票汇总到 Excel,也能直接读税务平台批量下载的 .zip 压缩包。发票号码保持原样(不会变成 2.4E+19),金额可以直接求和,重复的发票会标出来。

Summarise a folder of invoices, or a .zip archive downloaded from the tax service, into an Excel workbook: invoice numbers stay intact, amounts are numbers, duplicates are flagged.

  • 报销帮手:检查发票抬头(购买方名称、税号)对不对;按发票内容给文件改名,可以预览、可以改回去。

For reimbursement: check that invoices are made out to the right buyer, and rename invoice files after their contents, with a preview and an undo.

  • 按阅读顺序提取文字,包括模板和复合对象里的文字。

Text in reading order, including text in templates and composite objects.

  • 给程序和 AI 用:发票字段输出 JSON,提供 MCP 服务器、Agent Skill 和 MarkItDown 插件。

Excerpt — the full document is on GitHub.

Maintain ofdkit? Add a badge to your README

Shows its health grade, and links readers to install steps for every client.

markdown
[![ofdkit on MCP Skills Hub](https://mcp-skills-hub.vercel.app/badge/io-github-edgar-311-ofdkit)](https://mcp-skills-hub.vercel.app/mcps/io-github-edgar-311-ofdkit)

Catalog data refreshed . Something wrong? Report it.