maxed-mcp
MCP server providing deterministic accounting tools for AI agents, including bank statement parsing, document classification, money math, and webhook verification.
README
maxed-mcp
One Model Context Protocol server that fronts the deterministic tools in the open-source accounting suite, so an AI agent can call them the same way it calls any other MCP tool.
Agents are good at judgement and bad at arithmetic, parsing, and signature checks. This server hands the deterministic, auditable work to the libraries built for it: parse a bank statement, classify a document, validate a workpaper against the open spec, do exact money math, and verify a webhook signature. Every tool returns structured JSON and a uniform error envelope. Nothing here is generative, and nothing is faked: when a backing tool is not installed, the tool says so and tells the agent how to install it, rather than inventing an answer.
This is the agentic front door to the suite. The parsers and validators live in their own repositories and stay the single source of truth for their behavior; maxed-mcp shells out to the ones that ship a CLI and parses their JSON, and computes the small pure primitives (money math, HMAC) in-process, mirroring the semantics of their canonical sibling libraries.
Tools
| Tool | What it does | Backend |
|---|---|---|
list_capabilities |
List every tool and whether its backend is installed on this host. | in-process |
normalize_bank_statement |
Parse CSV / OFX / QFX / MT940 / CAMT / QIF / text into normalized transaction JSON. | statement-normalizer CLI |
normalize_ofx |
Parse an OFX/QFX or CSV bank export into normalized transaction JSON. | ofx-normalizer ofxnorm (Go) |
classify_document |
Classify accounting document text: w2, form_1099, invoice, bank_statement, receipt, or unknown. |
doc-classifier-kit CLI |
validate_workpaper |
Validate a document against a cpa-workpaper-spec JSON Schema. | spec validator |
money_allocate |
Split an amount across ratios or evenly, with no lost minor units. | money-rs semantics |
money_apply_rate |
Apply a rate (tax, tip, share) with explicit rounding. | money-rs semantics |
verify_webhook_hmac |
Constant-time verify a Stripe / hex / base64 webhook HMAC signature. | webhook-hmac-verifier semantics |
money_* and verify_webhook_hmac are computed in-process and are always
available; they faithfully mirror the rules of the canonical Rust and Go
libraries so an agent gets the same answer either way. The four parser and
validator tools shell out to a sibling CLI; call list_capabilities first to
see which are installed.
Install
pip install maxed-mcp
# Make the two Python-backed tools available out of the box:
pip install "maxed-mcp[suite]" # adds statement-normalizer + doc-classifier-kit
Optional backends for the remaining shell-backed tools:
normalize_ofx: build the Go binary and put it onPATH(go install github.com/maxed-oss/ofx-normalizer/cmd/ofxnorm@latest).validate_workpaper: pointCPA_WORKPAPER_SPEC_DIRat acpa-workpaper-speccheckout (the directory containingvalidator/validate.py).
Run
maxed-mcp # start the server on stdio
python -m maxed_mcp # equivalent
The server speaks MCP over stdio, so it plugs into any MCP client. Register it with a client like this (the exact file differs per client):
{
"mcpServers": {
"maxed": {
"command": "maxed-mcp",
"env": {
"CPA_WORKPAPER_SPEC_DIR": "/path/to/cpa-workpaper-spec"
}
}
}
}
Backend resolution
Each shell-backed tool resolves its command in this order:
- an explicit environment variable (a full command line):
MAXED_MCP_STATEMENT_NORMALIZER,MAXED_MCP_DOC_CLASSIFIER,MAXED_MCP_OFXNORM,MAXED_MCP_CPA_WORKPAPER_VALIDATE; - the tool's console-script (or
ofxnormbinary) onPATH; - a fallback:
python -m ...for the Python tools, or a siblingcpa-workpaper-spec/checkout for the validator (CPA_WORKPAPER_SPEC_DIR).
If nothing resolves, the tool returns {"ok": false, "error": {"code": "tool_unavailable", ...}} with an install hint instead of failing opaquely.
Response shape
Every tool returns a JSON object. Success carries "ok": true plus tool
fields; failure carries "ok": false and an error object:
{ "ok": false, "error": { "code": "tool_unavailable", "message": "...", "detail": { "hint": "..." } } }
See AGENT.md for the condensed machine interface,
llms.txt for the machine-readable tool reference, and
examples/agent_call_example.py for a full,
runnable in-process client that calls every tool.
Development
pip install -e ".[dev,suite]"
pytest -q
The test suite exercises the in-process tools directly and the shell-backed
tools against the installed Python siblings; tools whose backend is not present
assert the graceful tool_unavailable path.
License
Apache-2.0.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。