云启智联 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— 查询异步任务结果
前置要求
- Python 3.10+
- 云启智联 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 .
启动
安装后,如果 yqzl-mcp-server 命令可用,直接运行:
yqzl-mcp-server
部分环境(尤其是 Windows)安装后脚本目录可能不在 PATH 中,导致命令找不到。此时可使用 Python 模块方式启动,效果完全相同:
python -m yqzl_mcp_server.server
在 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"
}
}
}
}
如果系统提示找不到 yqzl-mcp-server 命令(常见于 Windows),可将 command 改为使用 Python 模块方式启动:
{
"mcpServers": {
"yqzl-ai": {
"command": "python",
"args": ["-m", "yqzl_mcp_server.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
如果命令找不到,可改用:
- Command:
python - Args:
-m yqzl_mcp_server.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
Metadata
Release files for yqzl-mcp-server 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| yqzl_mcp_server-0.1.1.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yqzl_mcp_server-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / yqzl_mcp_server-0.1.1.tar.gz
| Download URL | yqzl_mcp_server-0.1.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0629699a25a3af81deeb3e299b3e376c0dcd57708c29fa83c13f4d5f234bb953
|
|
BLAKE2b-256 checksum How to use checksums |
b2eb8836fbccf572f065e03d1e537e128f900343d4d69904d3910a791a34bce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / yqzl_mcp_server-0.1.1-py3-none-any.whl
| Download URL | yqzl_mcp_server-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ee353c5836cf4b16d91bfbea6e22d25486d1d2942d31c148e2edc8b9bd2b208
|
|
BLAKE2b-256 checksum How to use checksums |
182a4fc79f746aad197c9dbc549a107cfec4c4ce36904a256034d721559c5e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for yqzl-mcp-server 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.