Skip to main content

Helpers for banks building MCP servers — shared Bank2AI tool surface, models, and auth middleware

Project description

Bank2AI

The open standard for connecting digital banking with AI agents.

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 builds enterprise-ready MCP servers, an SDK, an in-channel chat agent (with Generative UI and RAG), and advisory agents on top of the standard. See the enterprise overview for details.

Install

uv add bank2ai

Quickstart

from fastmcp import FastMCP
from bank2ai import register_tools

app = FastMCP("my-bank")
register_tools(
    app,
    get_accounts=...,
    get_transactions=...,
    get_categories=...,
    get_spending_summary=...,
    search_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.
examples/meniga/ Reference MCP server backed by a real bank API.
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

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bank2ai-0.2.0.tar.gz (295.6 kB view details)

Uploaded Source

File details

Details for the file bank2ai-0.2.0.tar.gz.

File metadata

  • Download URL: bank2ai-0.2.0.tar.gz
  • Upload date:
  • Size: 295.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.1 {"installer":{"name":"uv","version":"0.10.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bank2ai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fbebf99bbbae1343b440b05198a493ba95c1a3b6c60395f2d08aeb9cbfa215af
MD5 e312013ef248649a651a67674711df0c
BLAKE2b-256 21f4244711b04a1c9b098c78e0904e1bdb8e8984fb77dde98198d36b28861333

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page