bank2ai
The open standard for AI driven banking.
The language of banking is universal (accounts, transactions, transfers, bill payments, recipients, loans, savings) and bank2ai codifies that language as a Model Context Protocol tool surface. Once a bank speaks bank2ai, any compliant AI client can read accounts, look up recipients, run spending summaries, and prepare/execute transfers, using the same vocabulary across every bank.
📖 Full documentation: bank2ai.com
📦 Specification: specs/
🛒 Marketplace: github.com/bank2ai/marketplace
Stewarded by Bancony
bank2ai is freely usable by any bank or fintech. Its development is stewarded by Bancony, which also builds commercial implementations on top of the standard alongside other vendors and in-house teams. See Commercial implementations for the current list.
Install
uv add bank2ai
Quickstart
from fastmcp import FastMCP
from bank2ai import register_tools
app = FastMCP("my-bank")
# Every handler is optional, pass only the tools you've implemented.
register_tools(
app,
get_accounts=...,
get_categories=...,
# get_transactions=..., get_transaction=..., get_transactions_summary=...,
# get_recipients=..., create_recipient=...,
# prepare_transfer=..., execute_transfer=...,
)
Walk through a full example in the Quickstart guide.
What's in this repo
| Path | Contents |
|---|---|
src/bank2ai/ |
The Python library (bank2ai on PyPI), Pydantic models + the register_tools MCP wiring. |
specs/ |
Language-neutral specification, bank2ai.spec.md (narrative) and bank2ai.json (JSON Schemas). |
examples/demo/ |
Reference MCP server backed by hardcoded data. |
docs/ |
Source for bank2ai.com. |
Contributing
Issues and PRs welcome at github.com/bank2ai/bank2ai. For anything that touches the spec, please open an issue first, see Contributing.
License
Apache 2.0, see LICENSE.
Metadata
Release files for bank2ai 0.6.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 | Actions |
|---|---|---|---|---|
| bank2ai-0.6.1.tar.gz | 422.8 kB | Without provenance | Details for bank2ai-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bank2ai-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for bank2ai-0.6.1-py3-none-any.whl |
Total release size: 460.5 kB
Release files / bank2ai-0.6.1.tar.gz
| Download URL | bank2ai-0.6.1.tar.gz |
|---|---|
| Size | 422.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6e50a0bdf1a5839d84841e73c32269452d176e60a15a0cc377f5ed4c9e1161d
|
|
BLAKE2b-256 checksum How to use checksums |
07239232a7b80e93a369243c1bab4ea3b5b63a26d16921edc0bf31b689405396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / bank2ai-0.6.1-py3-none-any.whl
| Download URL | bank2ai-0.6.1-py3-none-any.whl |
|---|---|
| Size | 37.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd9d63c63217d6f16970ac8ef421ff6cb52b2459cb52e0b73d18c5ac99ca056e
|
|
BLAKE2b-256 checksum How to use checksums |
f2adea9e464bd6a73d39fdc8b6e9a5d6d212972c1e0510e0561eb27258b70839
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for bank2ai 0.6.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.