Skip to main content

云启智联AI文档解析服务的 MCP (Model Context Protocol) 服务器

Project description

云启智联 MCP Server

云启智联AI文档解析服务的 Model Context Protocol (MCP) 服务器,让 Claude、Cursor、Windsurf 等支持 MCP 的 AI 客户端直接调用票据识别能力。

功能

  • parse_bank_receipt — 银行回单解析(支持每页多张自动裁剪)
  • parse_bank_statement — 银行对账单解析
  • parse_invoice — 增值税发票解析
  • parse_document — 通用文档解析
  • get_task_result — 查询异步任务结果

前置要求

  1. Python 3.10+
  2. 云启智联 API Key(从 http://8.135.62.13:5000 注册获取)

安装

pip install yqzl-mcp-server

或从源码安装:

git clone https://github.com/yunqi-zhilian/yqzl-mcp-server.git
cd yqzl-mcp-server
pip install -e .

在 Claude Desktop 中配置

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或 %APPDATA%\Claude\claude_desktop_config.json(Windows):

{
  "mcpServers": {
    "yqzl-ai": {
      "command": "yqzl-mcp-server",
      "env": {
        "YQZL_API_BASE_URL": "http://8.135.62.13:5000/AIService"
      }
    }
  }
}

配置完成后重启 Claude Desktop,即可在对话中让 Claude 调用票据识别工具。

在 Cursor 中配置

打开 Cursor Settings → MCP,添加 server:

  • Type: stdio
  • Name: yqzl-ai
  • Command: yqzl-mcp-server

使用示例

对 AI 说:

请用云启智联解析这张银行回单 /Users/xxx/receipt.pdf,API Key 是 as-xxxxxxxx

AI 会自动调用 parse_bank_receipt 工具并返回结构化结果。

计费说明

MCP Server 不掌握计费逻辑。所有调用都通过你的云启智联 API Key 进行,按量从你在云启智联平台的余额中扣费。具体价格见官网。

自定义上游地址

默认使用 http://8.135.62.13:5000/AIService。域名备案完成后,可通过环境变量切换:

export YQZL_API_BASE_URL="https://yunqi-zhilian.com/AIService"

开发

pip install -e ".[dev]"
python -m yqzl_mcp_server.server

许可证

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yqzl_mcp_server-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yqzl_mcp_server-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file yqzl_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: yqzl_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for yqzl_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 639b6f688cd35a183f3d190ab378f036f4e18df171bcd061f2aca747606e4ad0
MD5 fa153be14033325f46ccff8ec22530ec
BLAKE2b-256 5789d7ecd24f878c1ec8cde0b54bfaa9db298551355084d3d4cbf7b46e1fb5c1

See more details on using hashes here.

File details

Details for the file yqzl_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yqzl_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e15556c1650724450a7acfc1fbc173d55745e73ca0cf41ed8088723ef469b9f
MD5 305955f58752a08502cedfc06db8a23b
BLAKE2b-256 c30c40faa511108c07b1d17e9865ce64de16b0751b2145e964ec7297c47a8467

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page