Open Banking (open-banking.io)

io.github.open-banking-io由 GitHub 帳號 open-banking-io 發布v0.1.0更新於 Oct 27, 2026

Read-only MCP server for the open-banking.io PSD2 bank API — accounts, balances, transactions.

已驗證STDIO僅桌面資料庫金融

概覽

AI 產生的概覽

針對 open-banking.io PSD2 銀行 API 的唯讀 MCP 伺服器,讓助理列出你的帳戶、餘額、交易與銀行連線。

可以做什麼
  • 列出銀行帳戶,含銀行、國家、IBAN、持有人、幣別、餘額與需重新連線標記
  • 讀取單一帳戶的 ISO 20022 已入帳餘額與可用餘額
  • 依最新優先取得對帳單明細,可指定日期範圍、筆數與位移,含交易對手與匯款資訊
  • 列出銀行連線與授權,含狀態、有效期限、最後同步時間與帳戶數量
適用情境
適合讓助理回答關於你自己銀行帳戶的問題,例如目前餘額、某段期間的支出彙總,或哪些授權即將到期,同時不賦予它轉帳能力。
執行需求
以 Python 套件形式透過 uv(uvx 或原始碼)在本機以 stdio 執行。需要從 open-banking.io 應用程式匯出的憑證,透過 OBI_CREDENTIALS(路徑或內嵌 JSON 憑證包)提供,或分開設定 OBI_API_KEY、OBI_PRIVATE_KEY 與 OBI_BASE_URL。需要連線至 open-banking.io API 的網路。
安裝前請注意
憑證包內含 API 金鑰與加密私鑰,須妥善保管、切勿外流。交易資料包含交易對手與匯款附註,MCP 用戶端及其模型都會看到;README 建議只使用可信任、最好是本機的用戶端。所有工具皆為唯讀:不同步、不發起付款、不續期授權,這些須在應用程式內完成。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Open Banking (open-banking.io),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

open-banking.io MCP server

A thin, read-only Model Context Protocol server for the open-banking.io PSD2 API. It lets AI agents (Claude Desktop, Cursor, any MCP client) answer questions like “What's my balance?” and “Summarise last month's transactions” over your own bank accounts.

It wraps the official open-banking-io Python SDK and inherits its zero-knowledge property: the service only ever returns ciphertext, and every sensitive field (IBAN, owner name, amounts, counterparties) is decrypted in-process with your exported private key. No plaintext ever touches a third party — including the LLM only sees what your MCP client sends it.

Tools

ToolArgumentsDescription
list_accounts—Bank accounts: bank, country, IBAN, owner, display name, currency, balances, needs_reconnect flag
get_balancesaccount_idISO 20022 balances for one account (ITBD = booked, ITAV = available)
get_transactionsaccount_id, date_from?, date_to?, limit? (default 50, max 500), offset?Statement lines, newest first, with counterparty and remittance details
list_connections—Bank connections/consents: status, valid_until, last_synced_at, account count

All tools are read-only. There are intentionally no sync, payment-initiation or consent-management tools — see Limitations.

Configuration

Env varRequiredMeaning
OBI_CREDENTIALSpreferredPath to (or inline JSON of) the credentials bundle exported from the open-banking.io app — contains apiBaseUrl, apiKey and the encryption private key
OBI_API_KEYalternativeAPI key, if you don't use the bundle
OBI_PRIVATE_KEYalternativeBase64 PKCS#8 EC (SECP256R1) private key matching OBI_API_KEY
OBI_BASE_URLwith alternativeAPI base URL (the bundle's apiBaseUrl), required when using the split env vars

Export credentials in the app → Settings → Credentials to get the bundle file.

Claude Desktop

claude_desktop_config.json (Claude → Settings → Developer → Edit Config):

json
{  "mcpServers": {    "open-banking-io": {      "command": "uvx",      "args": [        "--from", "git+https://github.com/open-banking-io/mcp-server.git",        "obi-mcp"      ],      "env": {        "OBI_CREDENTIALS": "/absolute/path/to/credentials.json"      }    }  }}

Cursor

.cursor/mcp.json:

json
{  "mcpServers": {    "open-banking-io": {      "command": "uvx",      "args": [        "--from", "git+https://github.com/open-banking-io/mcp-server.git",        "obi-mcp"      ],      "env": {        "OBI_CREDENTIALS": "/absolute/path/to/credentials.json"      }    }  }}

Requires uv (curl -LsSf https://astral.sh/uv/install.sh | sh). Once published to PyPI the --from git+… argument can be dropped.

Run locally / from source

bash
git clone https://github.com/open-banking-io/mcp-server.gitcd mcp-serveruv venv && uv pip install -e '.[dev]' --python .venv/bin/pythonOBI_CREDENTIALS=/path/to/credentials.json .venv/bin/obi-mcp   # speaks MCP over stdio.venv/bin/python tests/smoke.py                               # network-free smoke testuv run --python .venv/bin/python pytest -q                    # full test suite

Example questions for your agent

  • “Show the booked balance of every account.”
  • “How much did I spend on groceries in July?” (get_transactions + grouping)
  • “Which of my bank connections expire soon?” (list_connections)

Design notes

  • Read-only by construction. Only the SDK's get_* methods are exposed. sync/sync_all exist in the SDK but are deliberately not offered; agents cannot move money or alter consents through this server.
  • Exact money. Amounts are returned as exact decimal strings ("1234.56"), never floats.
  • Clean errors. Missing credentials, bad dates, unknown account ids and upstream HTTP errors are surfaced as actionable tool errors (e.g. listing valid account ids on a miss).
  • Context-friendly. get_transactions defaults to 50 items and clamps at 500 to protect agent context windows; use offset to paginate.

Limitations (honest list)

  • No write tools: no sync, no payment initiation, no consent creation/renewal. Consent renewal always happens in the open-banking.io app (PSD2 SCA).
  • No bank/institution directory tool: the upstream API (SDK v1.0.0) does not expose a public ASPSP-search endpoint — TODO if/when the API adds one.
  • Not yet on PyPI — install via uvx --from git+… (above) or from source. Publishing to PyPI as open-banking-io-mcp is planned.
  • Data minimisation is your responsibility: transactions include counterparties and remittance text; only point this server at MCP clients you trust, and prefer local MCP clients (Claude Desktop / Cursor) over hosted ones for privacy.

API surface wrapped

SDK callHTTP (behind the SDK)
get_accounts()GET {apiBaseUrl}/api/accounts
get_transactions(id, from, to, limit, offset)GET {apiBaseUrl}/api/accounts/{id}/transactions
get_connections()GET {apiBaseUrl}/api/connections

Auth: X-Api-Key header. Responses carry zero-knowledge envelopes (ECDH P-256 → HKDF-SHA256 → AES-256-GCM) decrypted locally by the SDK. Full wire format: clients repo · THREAT_MODEL.md.

License

MIT — same as the clients SDK repos.

來源:README.md,提交 aa18c9c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分