bank-mcp
Allows accessing account balances, transaction history, and spending summaries for American Express accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Bank of America accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Barclays accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for CaixaBank accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for JPMorgan Chase accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Commerzbank accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Deutsche Bank accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Goldman Sachs accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for HSBC accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Revolut accounts via integrated banking providers.
Allows accessing account balances, transaction history, and spending summaries for Wells Fargo accounts via integrated banking providers.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bank-mcpShow my spending by category for this month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ฆ bank-mcp
Give your AI assistant secure, read-only access to your bank accounts.
Most people manage their finances by logging into bank portals, downloading CSVs, and building spreadsheets. bank-mcp eliminates that friction by letting your AI assistant query your bank accounts directly โ balances, transactions, spending breakdowns โ through natural conversation. It connects to real bank APIs via the Model Context Protocol so any MCP-compatible client (Claude Code, Claude Desktop, and others) can understand your finances.
5 providers, 15,000+ institutions โ US and European banks covered
Read-only by design โ no write access, no transfers, no modifications
Works with any MCP client โ Claude Code, Claude Desktop, Cursor, and more
Pluggable architecture โ add your own provider in under 100 lines
Table of Contents
Supported Providers
Provider | Region | Institutions | Auth Method | Setup Difficulty |
Europe | 2,000+ | RSA key + session | Medium | |
US | 7,000+ | mTLS certificate | Medium | |
US / CA / EU | 12,000+ | Client ID + secret | Easy | |
Europe | 3,400+ | OAuth2 token | Easy | |
Mock | Demo | โ | None | Instant |
US Banks
Supported through Plaid and Teller โ covering the top 20 US institutions and thousands more:
JPMorgan Chase ยท Bank of America ยท Wells Fargo ยท Citibank ยท Capital One ยท U.S. Bank ยท PNC ยท Truist ยท Goldman Sachs ยท TD Bank ยท Citizens ยท Fifth Third ยท M&T Bank ยท Huntington ยท KeyBank ยท Ally ยท Regions ยท BMO ยท American Express ยท USAA
European Banks
Supported through Enable Banking and Tink โ covering major banks across the EU and UK:
HSBC ยท BNP Paribas ยท Deutsche Bank ยท ING ยท Crรฉdit Agricole ยท Santander ยท Sociรฉtรฉ Gรฉnรฉrale ยท UniCredit ยท Intesa Sanpaolo ยท Barclays ยท Lloyds ยท BBVA ยท CaixaBank ยท Commerzbank ยท Rabobank ยท ABN AMRO ยท Swedbank ยท Handelsbanken ยท Nordea ยท PKO Bank Polski
Quick Start
1. Run the setup wizard
npx @bank-mcp/server initThe interactive wizard walks you through everything โ provider selection, credentials, bank authorization, and account verification โ all with a polished terminal UI:
โ bank-mcp โ Connect your bank account
โ
โ Choose your banking provider
โ Plaid / Teller / Tink / Enable Banking
โ
โ Environment
โ Sandbox / Development / Production
โ
โ Found 3 account(s) โโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ****1591 (Bank of America Platinum Card) โ
โ ****3588 (Bank of America My Checking) โ
โ ****2450 (Bank of America Essential Savings)โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Setup complete!2. Add to your MCP client
At the end of setup, the wizard asks which MCP client you use and shows the exact configuration:
Claude Code โ one command:
claude mcp add bank -- npx @bank-mcp/serverCursor โ add to
.cursor/mcp.jsonWindsurf โ add to
~/.codeium/windsurf/mcp_config.jsonGemini CLI โ add to
~/.gemini/settings.jsonCodex CLI โ add to
~/.codex/config.json
Using a different tool? See Client Setup for all supported clients including Claude Desktop, VS Code, and Zed.
3. Try it
Ask your AI assistant about your finances in natural language:
"What's my checking account balance?"
"Show my spending by category this month"
"Find all Amazon purchases over $50"
"Compare my spending this month vs last month"Demo Mode
Don't have bank credentials yet? Start with realistic fake data:
npx @bank-mcp/server --mockThis launches with a mock provider that generates deterministic sample accounts and transactions โ perfect for testing your setup or building on top of bank-mcp before connecting real accounts.
Client Setup
bank-mcp works with any MCP-compatible client. Pick your tool below.
Claude Code
Add to .mcp.json in your project root (or ~/.claude/.mcp.json for all projects):
{
"mcpServers": {
"bank": {
"command": "npx",
"args": ["@bank-mcp/server"]
}
}
}Or add via the CLI:
claude mcp add bank -- npx @bank-mcp/serverClaude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"bank": {
"command": "npx",
"args": ["@bank-mcp/server"]
}
}
}Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"bank": {
"command": "npx",
"args": ["@bank-mcp/server"]
}
}
}VS Code (Copilot)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"bank": {
"type": "stdio",
"command": "npx",
"args": ["@bank-mcp/server"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"bank": {
"command": "npx",
"args": ["@bank-mcp/server"]
}
}
}OpenAI Codex CLI
Add to ~/.codex/config.toml (or .codex/config.toml in your project):
[mcp_servers.bank]
command = "npx"
args = ["@bank-mcp/server"]Or add via the CLI:
codex mcp add bank -- npx @bank-mcp/serverGemini CLI
Add to ~/.gemini/settings.json (or .gemini/settings.json in your project):
{
"mcpServers": {
"bank": {
"command": "npx",
"args": ["@bank-mcp/server"]
}
}
}Zed
Add to your Zed settings.json:
{
"context_servers": {
"bank": {
"command": {
"path": "npx",
"args": ["@bank-mcp/server"]
}
}
}
}Don't see your tool? bank-mcp uses standard MCP stdio transport. Any client that supports MCP stdio servers can connect using
npx @bank-mcp/serveras the command.
Available Tools
Tool | Description | Key Parameters |
| List all bank accounts across connections |
|
| Fetch transactions with filtering |
|
| Full-text search on descriptions and merchants |
|
| Current and available balances |
|
| Expenses grouped by merchant or category |
|
Screenshots
All examples below use Claude Code with the mock provider (npx @bank-mcp/server --mock).
Listing accounts โ "List my bank accounts"

Checking balances โ "What's my current balance?"

Transaction history โ "Show my transactions from the last 15 days"

Searching transactions โ "Find all Starbucks purchases in last 2 weeks"

Spending by category โ "Show my spending by category this month"

Top merchants โ "Which merchants am I spending the most at?"

Subscription tracking โ "Show my recurring subscriptions"

Grocery comparison โ "Compare Trader Joe's vs Whole Foods spending"

Full financial picture โ "Give me my full February financial picture"

Architecture
File Structure
~/.bank-mcp/
config.json # Connections & credentials (permissions: 600)
keys/ # RSA keys and certificates
src/
providers/
base.ts # Abstract BankProvider class
registry.ts # Provider registration
enable-banking/ # PSD2 via Enable Banking API
teller/ # US banks via mTLS
plaid/ # US/CA/EU via Plaid API
tink/ # EU Open Banking via Tink API
mock/ # Deterministic fake data
tools/ # MCP tool implementations
utils/
cache.ts # In-memory TTL cache
http.ts # Fetch with timeout + retryProvider Interface
Every provider extends the same abstract class, making it straightforward to add new integrations:
abstract class BankProvider {
abstract listAccounts(config): Promise<BankAccount[]>;
abstract listTransactions(config, accountId, filter?): Promise<Transaction[]>;
abstract getBalance(config, accountId): Promise<Balance[]>;
abstract getConfigSchema(): ConfigField[];
}Provider Setup Guides
Enable Banking (PSD2)
What you need:
An Enable Banking account with a registered app
Your RSA private key (
.pemfile, downloaded when you created the app)
npx @bank-mcp/server init
# Select: Enable Banking โ enter App ID + key path
# Pick your country โ select your bank
# Log in at your bank โ paste the redirect URL
# โ Session created, accounts verified!Tip: The wizard handles the entire OAuth flow โ redirect URI setup, bank selection, and session creation. Sessions expire after 90 days (PSD2 regulation); re-run
initto refresh.
Teller (US Banks)
What you need:
A Teller developer account
Your Application ID (from the Teller dashboard)
npx @bank-mcp/server init
# Select: Teller โ enter Application ID
# Pick environment (sandbox for testing)
# โ Teller Connect opens in your browser
# โ Link your bank, token captured automatically!Tip: Start with sandbox โ no certificates needed, instant test data. For development/production, the wizard prompts for mTLS certificate paths. Free tier supports up to 100 live connections.
Plaid (US/CA/EU)
What you need:
A Plaid developer account (free signup)
Your Client ID and Secret (from the Plaid dashboard)
npx @bank-mcp/server init
# Select: Plaid โ enter client ID + secret
# Pick environment (sandbox for testing)
# โ Sandbox: token created automatically!
# โ Dev/Prod: paste an existing access tokenTip: Start with sandbox โ the wizard auto-creates a test token, no browser needed. Plaid provides the richest transaction categorization โ 104 sub-categories with confidence scores โ ideal for LLM-driven spending analysis.
Tink (EU Open Banking)
What you need:
A Tink developer account (free for testing)
Your Client ID and Client Secret (from the Tink Console)
npx @bank-mcp/server init
# Select: Tink โ enter Client ID + Secret
# Pick your market (country)
# โ Tink Link opens in your browser
# โ Connect your bank, paste redirect URLTip: Tink covers 3,400+ banks across Europe. For sandbox, use Demo Bank with test credentials (shown in the wizard). Transactions include PFM categories with merchant enrichment.
Caching
All data is cached in-memory (no disk persistence โ cache dies with the process):
Data | TTL | Why |
Account list | 1 hour | Accounts rarely change; minimizes API calls |
Transactions | 15 minutes | Balances new transactions vs freshness |
Balances | 5 minutes | Most time-sensitive; users expect current data |
Cache is per-connection and per-account. Restarting the server clears all caches.
Multiple Connections
Configure as many bank connections as you need โ even across different providers:
{
"connections": [
{ "id": "ing-main", "provider": "enable-banking", "..." : "..." },
{ "id": "chase-checking", "provider": "plaid", "..." : "..." },
{ "id": "revolut", "provider": "tink", "..." : "..." }
]
}All tools accept an optional connectionId parameter to target a specific connection. When omitted, every connection is queried and results are merged โ so "show all my balances" works across banks automatically.
Security
Design Principles
bank-mcp handles sensitive financial credentials. Its security posture is built on minimizing attack surface:
Read-only by design โ the
BankProviderinterface exposes only read methods (listAccounts,listTransactions,getBalance). There are no write methods โ no transfers, no account modifications, no payment initiation. This is enforced at the type level, not by convention.No network listener โ bank-mcp runs as a stdio process (stdin/stdout), not an HTTP server. There is no open port, no attack surface from the network.
Minimal dependencies โ only 4 runtime dependencies (
@modelcontextprotocol/sdk,@clack/prompts,jsonwebtoken,zod). Fewer dependencies means fewer supply chain risks.Open source โ every line is auditable. No obfuscated code, no compiled blobs, no telemetry.
Credential Storage
Config file at
~/.bank-mcp/config.jsonis created with600permissions (owner read/write only)RSA keys and certificates are stored in
~/.bank-mcp/keys/with the same restrictive permissionsCredentials are never logged โ the server sanitizes config objects before any debug output
No credential caching beyond the process lifetime โ when the server stops, credentials exist only on disk
Data Flow
Your Bank's API โ HTTPS โ bank-mcp (local process) โ stdio โ MCP Client (local)Transaction data flows directly from your bank's API to your local MCP client
Nothing is stored remotely โ no cloud relay, no proxy server, no intermediate storage
No telemetry โ zero analytics, no crash reports, no usage tracking, no phone-home
In-memory cache is per-process and dies when the server stops
What Your MCP Client Sees
The MCP client (Claude, Cursor, etc.) receives structured tool results containing:
Account names, types, and balances
Transaction descriptions, amounts, dates, and categories
Spending summaries
The LLM processes this in its context window. Be aware that cloud-hosted LLMs send your conversation (including tool results) to their servers. If this is a concern, use a local model or review your provider's data retention policy.
Recommendations
Rotate tokens โ if your banking provider supports token rotation, enable it
Use sandbox first โ test your setup with mock data or Plaid sandbox before connecting live accounts
Review permissions โ ensure
~/.bank-mcp/is not world-readable (ls -la ~/.bank-mcp/)Scope access โ if your provider supports it, request the minimum scopes needed (read-only account and transaction access)
Reporting Vulnerabilities
If you discover a security issue, please email the maintainer directly rather than opening a public issue. See CONTRIBUTING.md for contact details.
Adding a New Provider
The pluggable architecture makes it straightforward to add support for additional banking APIs:
Create your provider at
src/providers/your-provider/index.tsExtend
BankProviderโ implementlistAccounts,listTransactions,getBalance, andgetConfigSchemaRegister it in
src/providers/registry.tsAdd an init flow at
src/init/flows/your-provider.tsโ interactive setup using@clack/prompts
See src/providers/enable-banking/ as a reference implementation. The mock provider at src/providers/mock/ is also useful for understanding the expected data shapes.
Troubleshooting
npx is running an old version
npx caches packages. Force the latest:
npx @bank-mcp/server@latest"Permission denied" reading config
The config file should be readable by your user:
ls -la ~/.bank-mcp/config.json
# Should show: -rw------- (600)
# Fix: chmod 600 ~/.bank-mcp/config.json"Session expired" (Enable Banking)
PSD2 sessions expire after 90 days. Re-run the init wizard:
npx @bank-mcp/server init
# Select your existing Enable Banking connection to update the sessionTools not showing up in your MCP client
Verify the server starts:
npx @bank-mcp/server --mock(should output MCP protocol on stdout)Check your config file path matches your client's expected location
Restart your MCP client after adding the config
Check your client's MCP logs for connection errors
"ETLS" or certificate errors (Teller)
Teller requires mTLS. Verify your certificate files:
ls -la ~/.bank-mcp/keys/teller/
# Should contain: certificate.pem, private_key.pem
# Both should be chmod 600Development
git clone https://github.com/elcukro/bank-mcp.git
cd bank-mcp
npm install
npm test # Run tests (vitest)
npm run build # Compile TypeScript
npm run dev # Watch mode (recompile on change)
npm run lint # ESLintContributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
If you're adding a new provider, open an issue first to discuss the approach โ we want to make sure the integration fits the project's architecture.
License
MIT โ use it however you want.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/elcukro/bank-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server