comdirect

v0.6.1
io.github.mad4ms/comdirect-mcp Checked 17 hours ago Published 1 month ago

Read-only access to comdirect accounts, transactions, depots, orders and postbox documents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

login Anmelden

Starts a new comdirect session. Sends a push TAN to the user's photoTAN app and waits for approval.

logout Abmelden

Ends the comdirect session and revokes it at comdirect, so it cannot be extended.

list_accounts Konten

Lists all accounts with id, type (e.g. Girokonto, Tagesgeld), masked IBAN and current balances.

list_transactions Umsätze

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`.

ParameterTypeDescription
account_id *stringid from `list_accounts`
limitintegerMaximum number of transactions to return
max_booking_dateLatest booking date (inclusive)
min_booking_dateEarliest booking date (inclusive)
offsetintegernext_offset of the previous call; keep the filters
transaction_directionOnly money in or only money out
transaction_statestringBOOKED (default) or NOTBOOKED (pending, no date filters, no paging)
verbosebooleanAlso return valuta date, IBAN and references (mandate, creditor id, end-to-end).

summarize_transactions Umsätze zusammenfassen

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.

ParameterTypeDescription
min_booking_date *stringFirst booking date (inclusive)
account_idid from `list_accounts`; default: all EUR accounts together
group_bystringmonth (cash flow), counterparty, type, or category (user's local category rules)
include_internalbooleanCount transfers between the user's own accounts as income/expenses (default: separate)
max_booking_dateLast booking date (inclusive), default today
max_groupsintegerFurther groups are merged into '(other)'

find_recurring_payments Abos und Daueraufträge

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.

ParameterTypeDescription
account_idid from `list_accounts`; default: all EUR accounts together
limitintegerMaximum number of payments to return
max_booking_dateLast booking date (inclusive), default today
min_booking_dateFirst booking date (inclusive), default 180 days ago (all the bank returns)

list_cards Karten

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.

list_depots Depots

Lists all securities accounts (depots) with id and masked depot number.

get_depot_positions Depotbestand

Gets the positions (stocks, ETFs, ...) of a depot with current values, and the depot's total balance.

ParameterTypeDescription
depot_id *stringid from `list_depots`
isinOnly this security
verbosebooleanAlso return position ids, purchase values and detailed profit/loss.

list_depot_transactions Depotumsätze

Lists securities purchases, sales and transfers. Direction IN/OUT refers to securities, not cash flow.

ParameterTypeDescription
depot_id *stringid from `list_depots`
isinOnly this security
limitintegerMaximum number of movements to return
max_booking_dateLatest booking date (inclusive)
min_booking_dateEarliest booking date (inclusive)
offsetintegernext_offset of the previous call; keep the filters
verbosebooleanAlso return ids, business/settlement date and price

summarize_portfolio Portfolio-Aufteilung

Position values and allocation percentages per currency, without FX conversion or asset-class guesses.

ParameterTypeDescription
depot_id *stringid from `list_depots`
limitintegerLargest positions per currency; remainder is aggregated

get_wealth_overview Vermögensübersicht

All product balances (accounts, depots, cards, loans) and bank-supplied EUR totals. Missing values stay unknown.

ParameterTypeDescription
verbosebooleanAlso return the client id of each product

get_instrument Wertpapier

Security metadata; verbose may include a dated underlying-price snapshot, never a live price feed.

ParameterTypeDescription
identifier *stringWKN, ISIN or case-sensitive symbol
include_order_dimensionsbooleanInclude trading venues, currencies and order types
verbosebooleanInclude static flags, fund fees/ratings and derivative details

list_orders Orderbuch

Reads the depot's order book. Read-only: orders cannot be placed, changed or cancelled.

ParameterTypeDescription
depot_id *stringid from `list_depots`
limitintegerMaximum number of orders to return
offsetintegernext_offset of the previous call; keep the filters
order_typeOnly this order type, e.g. MARKET, LIMIT, QUOTE, STOP_MARKET, STOP_LIMIT, TRAILING_STOP_MARKET, TRAILING_STOP_NATIVE_MARKET, ONE_CANCELS_OTHER, NEXT_ORDER
sideOnly buy or only sell orders
statusOnly orders with this status
venue_idOnly this venue (id from get_instrument)
verbosebooleanAlso return executions, costs and detailed conditions

get_order Order

Reads one order, including combination-order legs. Never changes an order.

ParameterTypeDescription
order_id *stringid from `list_orders`
verbosebooleanAlso return executions, leg metadata and conditions

list_documents Postfach

Lists the postbox documents, newest first: statements, order confirmations, tax documents, ...

ParameterTypeDescription
limitintegerMaximum number of documents
offsetintegernext_offset of the previous call

read_document Dokument lesen

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.

ParameterTypeDescription
document_id *stringdocument_id from `list_documents`
first_pageintegertext of PDFs: zero-based first page
formatstringtext: plain text of the document (PDF without OCR); cover: the short HTML pre-document; file: a link to the original file as resource, without loading it into the context
max_charsintegerMaximum length of the text
max_pagesintegertext of PDFs: number of pages