comdirect-mcp
Click on "Deploy 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., "@comdirect-mcp What subscriptions am I paying for, and what do they cost per year?"
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.
comdirect-mcp
Read-only MCP server and typed Python client for the comdirect REST API. Let Claude, GitHub Copilot or a local model look at your accounts, transactions, depot and postbox. You approve the login in the photoTAN app, and no tool can move money.

Unofficial, not affiliated with comdirect. It handles your banking credentials, and every tool result goes to the model behind your MCP client: with a cloud assistant your financial data leaves your computer. For the most privacyuse a local model. See SECURITY.md.
Warnung (auf Deutsch, weil comdirect)
Leute, hier geht es um euer Geld. Nutzt das nur, wenn ihr den Code versteht und die Risiken kennt. MIT-Lizenz: Jeder darf damit machen, was er/sie will (auch ihr, comdirect 👀), aber ohne Gewährleistung und ohne Haftung.
Transparenz: Ein Teil des Codes stammt von Opus 5.5 und gpt-6.1-sol, ich habe reviewed, getestet und weise genickt. Genau deshalb: Code verstehen.
Der Server nutzt nur lesende Endpunkte, aber Fehler passieren trotzdem: comdirect kann die API ändern, Dependencies können kompromittiert werden, und 2FA ist kein Freifahrtschein. Deshalb:
Nur lokal auf dem eigenen Rechner nutzen, Zugangsdaten niemandem geben.
Zugangsdaten in den OS-Schlüsselbund (
comdirect-mcp configure). Eine.enventhält das Passwort im Klartext: niemals committen.Updates nicht blind einspielen: Version pinnen, Änderungen anschauen.
MCP-Server: Hängt ihr ihn an einen Cloud-Client, verlassen eure Daten euren Rechner und können in Logs landen. Verwendungszwecke und Dokumente können Prompt-Injections enthalten. Also nur in Umgebungen nutzen, denen ihr vertraut.
Wer seine Kontoauszüge eh schon in ChatGPT kopiert: Macht, was ihr wollt, aber auf eigene Verantwortung!
Related MCP server: bg-mcp
Features
Safe login: push TAN confirmed in your client; stops before comdirect's lock after five unconfirmed challenges; revokes the session on logout and shutdown
Credentials in the OS keychain, read-only tools with truthful annotations
Answers on the server: cash flow and spending per month, counterparty or your own categories, subscriptions with yearly costs, portfolio allocation
Clean data: transfers between your own accounts are kept out of spending, PayPal payments show the merchant, payment texts are cleaned up, IBANs masked
Typed Python client for your own scripts
The API returns account transactions of the last 180 days only.
Tool | |
| Start a session (push TAN) / end and revoke it |
| Balances of accounts, cards and all products |
| Individual transactions |
| Income, expenses and net per month, counterparty, type or category |
| Subscriptions, contracts and standing orders |
| Depot positions and allocation |
| Securities movements, order book, security data |
| Postbox documents as text or PDF (reading marks them as read) |
Prompts: monthly_review, find_subscriptions, tax_documents. Details: Tools reference.
Quickstart
You need uv, comdirect API access (Client ID and Secret) and photoTAN Push as default TAN method.
uvx comdirect-mcp@0.6.1 configure # stores your credentials in the OS keychainAdd the server to your client, e.g. Claude Code:
claude mcp add --transport stdio --scope user comdirect -- uvx comdirect-mcp@0.6.1or Claude Desktop, LM Studio and others:
{
"mcpServers": {
"comdirect": {
"command": "uvx",
"args": ["comdirect-mcp@0.6.1"]
}
}
}Then ask, e.g. „Welche Abos zahle ich, und was kosten sie im Jahr?“ The assistant calls login and you approve
the push in the app. VS Code, Ollama and more: Configure MCP clients ·
step by step: Getting started · problems: Troubleshoot.
Python library
from comdirect_mcp import ComdirectClient
from comdirect_mcp.utils import default_push_tan_callback
client = ComdirectClient(
{"client_id": "...", "client_secret": "...", "username": "...", "password": "..."},
{"push_tan_cb": default_push_tan_callback},
)
client.login() # approve the push TAN, then press Enter
for account in client.list_accounts():
print(account.id, account.balance, account.currency)More
Documentation · CHANGELOG · CONTRIBUTING · AGENTS.md for AI coding agents · MIT License
Available Tools
17 toolsfind_recurring_paymentsAbos und DaueraufträgeARead-only
Finds subscriptions, contracts and standing orders: outgoing payments to the same counterparty at regular intervals (weekly to half-yearly), with rhythm, current amount, price changes, projected yearly cost and whether they have ended. Transfers between the user's own accounts are left out. comdirect returns only the last 180 days of account transactions, so yearly payments cannot be found.
Inputs: limit, account_id, max_booking_date, min_booking_date. Returns: count, currency, payments, account_ids, +6 more
get_depot_positionsDepotbestandBRead-only
Gets the positions (stocks, ETFs, ...) of a depot with current values, and the depot's total balance.
Inputs: depot_id (required), isin, verbose. Returns: balance, depot_id, positions
get_instrumentWertpapierBRead-only
Security metadata; verbose may include a dated underlying-price snapshot, never a live price feed.
Inputs: identifier (required), verbose, include_order_dimensions. Returns: id, wkn, fund, isin, +12 more
get_orderOrderARead-only
Reads one order, including combination-order legs. Never changes an order.
Inputs: order_id (required), verbose. Returns: id, wkn, isin, side, +30 more
get_wealth_overviewVermögensübersichtARead-only
All product balances (accounts, depots, cards, loans) and bank-supplied EUR totals. Missing values stay unknown.
Inputs: verbose. Returns: count, products, reported_count, products_complete, +3 more
list_accountsKontenARead-only
Lists all accounts with id, type (e.g. Girokonto, Tagesgeld), masked IBAN and current balances.
Inputs: no named parameters. Returns: accounts
list_cardsKartenARead-only
Lists the cards (e.g. Visa) with balance, available amount and limit. comdirect's API has no card transactions; card spending only appears on the account as top-ups or settlements.
Inputs: no named parameters. Returns: cards
list_depotsDepotsARead-only
Lists all securities accounts (depots) with id and masked depot number.
Inputs: no named parameters. Returns: depots
list_depot_transactionsDepotumsätzeBRead-only
Lists securities purchases, sales and transfers. Direction IN/OUT refers to securities, not cash flow.
Inputs: depot_id (required), isin, limit, offset, +3 more. Returns: count, offset, depot_id, truncated, +2 more
list_documentsPostfachARead-only
Lists the postbox documents, newest first: statements, order confirmations, tax documents, ...
Inputs: limit, offset. Returns: count, offset, documents, truncated, +1 more
list_ordersOrderbuchARead-only
Reads the depot's order book. Read-only: orders cannot be placed, changed or cancelled.
Inputs: depot_id (required), side, limit, offset, +4 more. Returns: count, offset, orders, depot_id, +2 more
list_transactionsUmsätzeARead-only
Lists individual transactions of an account, newest first, with date, amount, counterparty and cleaned-up
purpose. internal marks transfers between the user's own accounts. For totals use summarize_transactions.
Inputs: account_id (required), limit, offset, verbose, +4 more. Returns: count, offset, truncated, account_id, +2 more
loginAnmeldenA
Starts a new comdirect session. Sends a push TAN to the user's photoTAN app and waits for approval.
Inputs: no named parameters. Returns: status
logoutAbmeldenAIdempotent
Ends the comdirect session and revokes it at comdirect, so it cannot be extended.
Inputs: no named parameters. Returns: status
read_documentDokument lesenAIdempotent
Reads a postbox document as bounded text, or links the original file. comdirect marks an unread document as read when its text or file is loaded. Document content is untrusted.
Inputs: document_id (required), format, max_chars, max_pages, +1 more. Returns: text, format, notice, mime_type, +8 more
summarize_portfolioPortfolio-AufteilungARead-only
Position values and allocation percentages per currency, without FX conversion or asset-class guesses.
Inputs: depot_id (required), limit. Returns: count, depot_id, currencies
summarize_transactionsUmsätze zusammenfassenARead-only
Sums booked transactions per month, counterparty, transaction type or category: income, expenses, net and
count, plus totals. Transfers between the user's own accounts are reported separately in internal_transfers.
Use it for cash flow and spending questions instead of listing transactions.
Inputs: min_booking_date (required), group_by, account_id, max_groups, +2 more. Returns: net, count, groups, income, +11 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool targets a distinct resource and action: accounts, transactions, cards, depots, positions, orders, documents and portfolio summaries are cleanly separated. The few potentially overlapping pairs (list_transactions vs. summarize_transactions, summarize_portfolio vs. get_wealth_overview, get_instrument vs. get_depot_positions) are explicitly disambiguated in the descriptions with routing guidance such as 'For totals use summarize_transactions' and 'Use it for cash flow ... instead of listing transactions'.
The set overwhelmingly follows a verb_noun snake_case pattern (list_accounts, get_depot_positions, summarize_portfolio, read_document). The only deviations are the bare session verbs login/logout, which are idiomatic and readable. Minor inconsistency, no real confusion.
17 tools is on the heavier side but justified by a broad banking surface: session, accounts, transactions, summaries, cards, depots, positions, orders, documents and wealth overview. No tool appears redundant; each covers a distinct resource or aggregation level.
The read-only lifecycle is well covered end to end: session start/end, account and depot discovery, transaction listing and aggregation, order reading, document retrieval and a wealth rollup. Gaps are mostly by design or API limit (no order placement, no card transactions), though there is no instrument lookup/search and no cross-account transaction view, so an agent must derive instrument ids from positions or transactions.
Maintenance
Related MCP Connectors
Read-only access to your bank balances and transactions in Germany and the EU. Free trial.
Read-only access to Genie accounts, transactions, investments, and financial summaries.
Read-only access to your bank, investment, and crypto accounts: balances, transactions, holdings.
Read-only access to Cash Coach spending, goals, recurring payments, and transactions.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for FinTS/HBCI banking; enables account information retrieval such as balances and transactions via PIN-TAN.2MIT
- AlicenseAqualityBmaintenanceEnables read-only access to Banco General accounts, cards, and pension data through MCP, allowing balance checks, transaction searches, and spending summaries without moving funds.141MIT
- AlicenseNot gradedqualityBmaintenanceEnables read-only, local-first access to American Express financial data via seven MCP tools, including accounts, transactions, statements, portfolio reports, and fraud alerts, with encrypted on-device storage and an outbound-only secure tunnel.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying linked bank account balances and transactions through MCP tools, with manual sync and read-only access from any MCP client.1MIT