# ofdkit MCP server

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.

## Install

### How to install ofdkit in Claude Code

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.

### How to install ofdkit in Claude Desktop

1. Open your MCP config

   macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Add this server

```json
{
  "mcpServers": {
    "ofdkit": {
      "command": "uvx",
      "args": [
        "ofdkit"
      ]
    }
  }
}
```

3. Restart Claude Desktop

   The tools appear under the 🔌 menu once the app reloads.

### How to install ofdkit in Cursor

1. Create / edit .cursor/mcp.json in your project

```json
{
  "mcpServers": {
    "ofdkit": {
      "command": "uvx",
      "args": [
        "ofdkit"
      ]
    }
  }
}
```

2. Enable it

   Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.

### How to install ofdkit in Codex CLI

1. Add to ~/.codex/config.toml

```toml
[mcp_servers.ofdkit]
command = "uvx"
args = ["ofdkit"]
```

2. Run Codex

   Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.

### How to install ofdkit in Windsurf

1. Edit ~/.codeium/windsurf/mcp_config.json

```json
{
  "mcpServers": {
    "ofdkit": {
      "command": "uvx",
      "args": [
        "ofdkit"
      ]
    }
  }
}
```

2. Reload

   Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.

### How to install ofdkit in Cline

1. Open Cline → MCP Servers → Configure

   Adds to cline_mcp_settings.json.

2. Add the server

```json
{
  "mcpServers": {
    "ofdkit": {
      "command": "uvx",
      "args": [
        "ofdkit"
      ]
    }
  }
}
```

### How to install ofdkit in VS Code

1. Create .vscode/mcp.json

```json
{
  "servers": {
    "ofdkit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ofdkit"
      ]
    }
  }
}
```

2. Start it

   VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.

## Tools

- `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

Source repository: https://github.com/Edgar-311/ofdkit

---

Source: https://mcp-skills-hub.vercel.app/mcps/io-github-edgar-311-ofdkit · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
