Installation
Bank2ai's reference implementation is a Python package. It requires Python 3.11+.
With uv
uv add bank2ai
Verify
python -c "import bank2ai; print(bank2ai.__name__)"
That's it. To stand up a server, continue with the Quickstart. To run the demo server straight from a clone of the repo without installing anything globally, see Run the demo.
What's in the package
| Module | Contents |
|---|---|
bank2ai.models | Pydantic data models for the shared banking vocabulary, Account, Transaction, Recipient, Category, plus the request/response shapes for transfers and spending summaries. |
bank2ai.tools | Reusable MCP tool surface, register_tools wires bank2ai tools onto a FastMCP app and dispatches each call to the handlers you provide. Tools whose handler is omitted are skipped, so you can expose only the subset you implement. |
Authentication is intentionally outside this library. See Specification → Authentication for the rationale and patterns.