
Recite MCP
io.github.rivradev由 GitHub 账号 rivradev 发布v0.1.4更新于 Oct 25, 2026
Local MCP server for Recite receipt processing with ledger and memory tools.
概览
面向 Recite 收据 API 的本地 MCP 服务器,让助手扫描收据、管理交易与项目,并维护本地账本和记忆。
- 可以做什么
- 从文件、URL、base64 或原始文本扫描收据,并提交批量扫描、查询状态与结果。创建、列出、更新、删除和导入交易、项目、分类、供应商、规则与 Webhook。生成汇总、用量报告、导出以及带自动匹配和建议的对账链接。将收据处理写入本地 CSV 账本,汇总、导出并记录更正。在本地记忆中保存持久的助手指令,并检查配置与健康状态。
- 适用场景
- 适合让助手把收据图片或 PDF 转成结构化记账数据、对账并导出交易,或在 Recite 云服务之外同时维护本地优先的账本。
- 运行要求
- 需要本地 Python 运行环境,可通过 uvx、pipx 或 pip 安装。处理收据需要环境变量 RECITE_API_KEY 中的 Recite API 密钥。安装需访问 PyPI,请求需访问 Recite API。RECITE_HOME 可选,用于指定本地数据目录。
安装
在 SourceWeft 中
- 打开 控制台中的 Recite MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
recite-mcp
mcp-name: io.github.rivradev/recite-mcp
recite-mcp is an MCP server for the Recite API. It provides the full documented Recite MCP surface for scans, transactions, imports, batch jobs, projects, summaries, webhooks, rules, usage, and exports, while preserving the local ledger/memory workflow for agents that want local-first bookkeeping.
Install
End users
Recommended:
Alternative (pipx):
Alternative (pip):
Contributors
Required Environment
Get an API key at https://recite.rivra.dev/settings/api (includes 30 free scans per month), then set RECITE_API_KEY (required to process receipts; server can still start without it so validate_setup() can report what's missing):
Optional home override:
MCP Client Config
Copy-paste this config:
If installed via pipx or pip, use:
Troubleshooting
MCP Registry ownership validation failed
- Symptom: Registry publish returns a PyPI ownership/README validation error.
- Fix: keep this exact line in packaged README:
mcp-name: io.github.rivradev/recite-mcp, then bump version and upload new PyPI release before publishing to Registry.
RECITE_API_KEY missing or invalid
- Symptom:
validate_setup()reportsmissing_api_keyor API requests are rejected. - Fix: set
RECITE_API_KEYin MCP clientenvconfig (preferred) or shell environment.
uvx command not found
- Symptom: terminal says
uvxis not recognized. - Fix: install
uvfirst, or use one of the alternatives:pipx install recite-mcppython -m pip install recite-mcp
recite-mcp command not found after install
- Symptom: command not recognized after
pipx/pipinstall. - Fix:
- For
pipx: runpipx ensurepath, then reopen terminal. - For
pip: run with module entrypoint:python -m recite_mcp.server
- For
MCP client starts but tools are unavailable
- Symptom: server appears configured but no tools/resources are listed.
- Fix:
- Confirm MCP config JSON is valid.
- Confirm command and args match your install method (
uvxvsrecite-mcp). - Restart MCP client after config changes.
Can't download from PyPI (uvx/pip)
- Symptom: install/run fails with network/proxy errors.
- Fix: ensure your environment can reach PyPI (or configure your proxy / custom index). If you're on a locked-down network, you may need to allowlist PyPI or use an internal mirror.
Quick local validation (no MCP client)
- Run
recite-mcp --validate(oruvx recite-mcp --validate) to print local config/health JSON. Exit code is0if an API key is present, otherwise1.
Main Features
API tools (41 total):
- Scans —
scan_receipt(file, URL, base64, or raw text; ephemeral mode),get_scan - Transactions — create, list (with filters), get, update, delete,
import_transactions(JSON list, CSV text, or CSV file) - Batch scans —
submit_batch_scans(1–20 items, async, webhook notification),get_batch_scan_status,get_batch_scan_results - Projects — list, create, update, delete
- Summaries —
get_summary(period, date range, group-by) - Webhooks — create, list, delete (
transaction.created/updated/deleted,batch.completed) - Reconciliation —
create_reconciliation_link,list_reconciliation_links,update_reconciliation_link,delete_reconciliation_link,run_auto_match,get_reconciliation_summary,get_reconciliation_recommendations,export_reconciliation - Rules — create, list, update, delete (vendor_category, default_project, processing_preference)
- Categories —
get_categories(17 built-in + custom),create_category,delete_category - Vendors —
get_vendors,create_vendor,delete_vendor - Usage —
get_usage(period, breakdown) - Exports —
export_transactions(CSV/JSON, optional file save)
Local tools:
process_receipt— scan + ledger append in one step (optional rename, dry-run, category hint)process_receipts_batch— scan a directory of images/PDFs (recursive, dry-run preview)summarize_ledger,export_ledger,add_ledger_correction— local CSV ledger managementupdate_memory,list_memory— persistent agent instruction storageget_config,validate_setup— configuration inspection and health check
Resources: recite://ledger, recite://memory, recite://health
Documentation
- User guide:
docs/user_guide.md
来源:README.md,提交 92436d3
工具
0版本历史
1- v0.1.4最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。