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

pip install 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 the Meniga 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.1.0.tar.gz (294.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bank2ai-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bank2ai-0.1.0.tar.gz
  • Upload date:
  • Size: 294.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 814b8b99c838d537e38037736f4f8921055e12781f3377af5fbb6beb4f64c126
MD5 669d96ca9c71ee856cb2737f8073d4cd
BLAKE2b-256 224c215024c093b66527fd78a3ee00c5316a57e28f95c23ad3d84119b3b7928f

See more details on using hashes here.

File details

Details for the file bank2ai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bank2ai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df8f89aadaee4d58cd71bebd3481b8483066f2df6ac7e7505c208232d558b785
MD5 0dfc769c498b6ec8a75a582e2a8b3d1e
BLAKE2b-256 ec743007df165ca37b578b9e0ef0014263b337346db136337aa05021d9f13cb8

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