Copilot Money MCP
Copilot Money MCP-Server
Analysieren und verwalten Sie Ihre persönlichen Finanzen mit KI unter Verwendung lokaler Copilot Money-Daten
Haftungsausschluss
Dies ist ein unabhängiges, von der Community betriebenes Projekt und steht in keinerlei Verbindung zu Copilot Money oder dessen Muttergesellschaft, wird von diesen nicht unterstützt oder assoziiert. Dieses Tool wurde von einem unabhängigen Entwickler erstellt, um KI-gestützte Abfragen lokal zwischengespeicherter Daten zu ermöglichen. "Copilot Money" ist eine Marke des jeweiligen Eigentümers.
Related MCP server: LunchMoney MCP Server
Übersicht
Ein MCP-Server, der KI-Assistenten Zugriff auf Ihre persönlichen Finanzdaten von Copilot Money gewährt. Er liest aus der lokal zwischengespeicherten Firestore-Datenbank (LevelDB + Protocol Buffers) auf Ihrem Mac. Lesezugriffe erfolgen zu 100 % lokal ohne Netzwerkanfragen.
17 Lese-Tools für Ausgaben, Investitionen, Budgets, Ziele und mehr — fragen Sie Transaktionen, Konten, Bestände, Salden, Kategorien, wiederkehrende Zahlungen, Budgets, Ziele und die Anlageperformance ab.
Datenschutz zuerst
Wir sammeln, speichern oder übertragen niemals Ihre Daten an einen Server, der von diesem Projekt betrieben wird – wir besitzen keine solchen Server. Details finden Sie in unserer Datenschutzrichtlinie.
Keine Analysen, Telemetrie oder Tracking jeglicher Art
Lesezugriffe erfolgen vollständig lokal — null Netzwerkanfragen
Open Source — überprüfen Sie den Code selbst
[!IMPORTANT] Hinweis zu KI-Anbietern. Während dieser Server selbst lokal läuft und niemals Daten an einen von diesem Projekt betriebenen Server sendet, wird der KI-Assistent, mit dem Sie ihn verbinden (Claude, ChatGPT, Gemini usw.), Ihre Copilot Money-Daten sehen, um Ihre Fragen zu beantworten. Das bedeutet, dass Ihre Finanzdaten an den Anbieter des von Ihnen gewählten Modells übertragen und von diesem verarbeitet werden — Anthropic, OpenAI, Google oder ein anderer Dritter — vorbehaltlich der eigenen Datenschutzrichtlinien und Datenspeicherungsbedingungen dieses Anbieters.
Durch die Nutzung dieses MCP-Servers mit einem gehosteten KI-Modell teilen Sie wissentlich Ihre Finanzdaten mit diesem KI-Anbieter. Verwenden Sie dieses Tool nur, wenn Sie mit diesem Kompromiss einverstanden sind. Falls nicht, ziehen Sie in Betracht, auf eine offizielle Copilot Money-Integration zu warten oder ein vollständig lokales Modell zu verwenden.
Schnellstart
Voraussetzungen
Node.js 18+ (im Lieferumfang von Claude Desktop enthalten)
Copilot Money (macOS App Store-Version)
Claude Desktop, Cursor oder ein beliebiger MCP-kompatibler Client
Installation via Claude Desktop
Laden Sie das neueste
.mcpb-Bundle von den Releases herunterDoppelklicken Sie auf die
.mcpb-Datei, um sie in Claude Desktop zu installierenStarten Sie Claude Desktop neu
Beginnen Sie, Fragen zu Ihren Finanzen zu stellen!
Installation via npm
npm install -g copilot-money-mcpFügen Sie dann Folgendes zu Ihrer Claude Desktop-Konfiguration hinzu (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"copilot-money": {
"command": "copilot-money-mcp"
}
}
}Installation für Cursor
Installieren Sie das Paket global:
npm install -g copilot-money-mcpÖffnen Sie die Cursor-Einstellungen (
Cmd + ,) > Features > MCP ServersFügen Sie die Serverkonfiguration hinzu:
{ "mcpServers": { "copilot-money": { "command": "copilot-money-mcp" } } }
Was Sie tun können
Ausgabenanalyse
"Wie viel habe ich letzten Monat für Restaurantbesuche ausgegeben?"
"Zeige mir alle meine Amazon-Einkäufe der letzten 30 Tage"
"Was sind meine Top 5 Ausgabenkategorien in diesem Jahr?"
Verwendet get_transactions, get_categories mit Datumsbereichen, Textsuche und Kategoriefiltern.
Kontenübersicht
"Wie hoch ist mein Nettovermögen über alle Konten hinweg?"
"Zeige mir meinen Girokontostand der letzten 6 Monate, monatlich aufgeschlüsselt"
"Welche Bankverbindungen benötigen Aufmerksamkeit?"
Verwendet get_accounts, get_balance_history, get_connection_status.
Anlageportfolio
"Was sind meine aktuellen Bestände und Gesamtrenditen?"
"Zeige mir die AAPL-Preishistorie für das letzte Jahr"
"Wie hoch ist meine zeitgewichtete Rendite in diesem Quartal?"
Verwendet get_holdings, get_investment_prices, get_securities, get_investment_performance, get_twr_returns.
Budgets & Ziele
"Bin ich diesen Monat im Rahmen meiner Budgets?"
"Wie entwickelt sich mein Notgroschen?"
"Zeige mir meine Zielhistorie der letzten 6 Monate"
Verwendet get_budgets, get_goals, get_goal_history.
Abonnements & Wiederkehrende Zahlungen
"Für welche Abonnements zahle ich?"
"Wie viel gebe ich pro Monat für wiederkehrende Zahlungen aus?"
Verwendet get_recurring_transactions.
Verfügbare Tools
Lese-Tools (17)
Tool | Beschreibung |
| Abfrage von Transaktionen mit Filtern — Datumsbereich, Kategorie, Händler, Betrag, Konto, Ort, Textsuche und spezielle Typen (ausländisch, Rückerstattungen, Duplikate, HSA-fähig). |
| Auflistung aller Konten mit Salden, Filter nach Typ (Giro, Sparkonto, Kredit, Investition). Beinhaltet die Berechnung des Nettovermögens. |
| Auflistung von Kategorien mit Transaktionsanzahl und Gesamtausgaben. Unterstützt Listen-, Baum- und Suchansichten. |
| Identifizierung von Abonnements und wiederkehrenden Zahlungen mit Häufigkeit, Kosten und nächstem erwarteten Datum. |
| Abrufen von Budgets mit Vergleichen zwischen Ausgaben und Limit. |
| Abrufen von finanziellen Zielen mit Zielbeträgen, Fortschritt und monatlichen Beiträgen. |
| Monatliche Fortschritts-Snapshots für Ziele mit täglichen Daten und Beitragsaufzeichnungen. |
| Tägliche Salden-Snapshots für Konten im Zeitverlauf. Unterstützt tägliche, wöchentliche oder monatliche Granularität. |
| Aktuelle Anlagebestände mit Ticker, Menge, Preis, Einstandskurs und Gesamtrendite. |
| Historische Preisdaten (täglich + hochfrequent) für Aktien, ETFs, Investmentfonds und Krypto. |
| Aktiensplit-Historie mit Verhältnissen, Daten und Multiplikatoren. |
| Performance-Daten pro Wertpapier. |
| Monatliche Daten zur zeitgewichteten Rendite (TWR) für Anlagebestände. |
| Stammdaten für Wertpapiere — Ticker, Name, Typ, Preis und Identifikatoren (ISIN/CUSIP). |
| Status der Banksynchronisierung für verknüpfte Institute, einschließlich Zeitstempeln der letzten Synchronisierung und Fehlern. |
| Metadaten des lokalen Caches — Datumsbereich, Transaktionsanzahl, Cache-Alter. |
| Daten von der Festplatte neu laden. Der Cache aktualisiert sich automatisch alle 5 Minuten. |
Konfiguration
Cache-TTL
Der Server speichert Daten für 5 Minuten im Arbeitsspeicher. Konfiguration über Umgebungsvariable:
# Set cache TTL to 10 minutes
COPILOT_CACHE_TTL_MINUTES=10 copilot-money-mcp
# Disable caching (always reload from disk)
COPILOT_CACHE_TTL_MINUTES=0 copilot-money-mcpSie können auch manuell über das Tool refresh_database aktualisieren.
Decode-Timeout
Für große Datenbanken (500 MB+) erhöhen Sie das Decode-Timeout (Standard: 90 Sekunden):
# Via environment variable
DECODE_TIMEOUT_MS=600000 copilot-money-mcp
# Via CLI flag
copilot-money-mcp --timeout 600000Für Datenbanken über 1 GB erhöhen Sie zusätzlich den Node.js-Speicher:
{
"mcpServers": {
"copilot-money": {
"command": "node",
"args": [
"--max-old-space-size=4096",
"/path/to/copilot-money-mcp/dist/cli.js",
"--timeout", "600000"
]
}
}
}Unterstützte Datumszeiträume
Der Parameter period unterstützt diese Kürzel:
this_month last_month last_7_days last_30_days last_90_days ytd this_year last_year
Bekannte Einschränkungen
Abhängigkeit vom lokalen Cache
Dieser Server liest aus dem lokalen Firestore-Cache von Copilot Money, nicht aus der Cloud. Die Offline-Persistenz von Firestore speichert jedes Dokument, das die App jemals abgerufen hat, sodass die lokale Datenbank im Allgemeinen alle Transaktionen, Konten, Budgets, Ziele und andere Daten enthält, die Sie in der App angesehen haben. Die Standardgröße des Firestore-Caches beträgt 100 MB (ausreichend für zehntausende Transaktionen), und ältere Dokumente werden nur durch LRU-Garbage-Collection entfernt, wenn dieses Limit überschritten wird.
Um die zwischengespeicherten Daten zu maximieren: Öffnen Sie die Copilot Money-App und durchsuchen Sie Ihre Daten (Transaktionsverlauf, Konten, Budgets), um sicherzustellen, dass sie abgerufen und lokal zwischengespeichert wurden.
Fehlerbehebung
Datenbank nicht gefunden
Wenn Sie "Database not available" sehen:
Stellen Sie sicher, dass Copilot Money installiert ist und Daten synchronisiert hat
Überprüfen Sie den Speicherort der Datenbank:
~/Library/Containers/com.copilot.production/Data/Library/Application Support/firestore/__FIRAPP_DEFAULT/copilot-production-22904/mainÜberprüfen Sie, ob
.ldb-Dateien im Verzeichnis vorhanden sindGeben Sie einen benutzerdefinierten Pfad an:
copilot-money-mcp --db-path /pfad/zur/datenbank
Decode-Worker-Zeitüberschreitung
Wenn Sie "Decode worker timed out" sehen:
Erhöhen Sie das Timeout:
copilot-money-mcp --timeout 300000(5 Minuten)Für Datenbanken ab 1 GB erhöhen Sie zusätzlich den Node.js-Speicher:
node --max-old-space-size=4096 dist/cli.js --timeout 300000
Keine Transaktionen gefunden
Öffnen Sie die Copilot Money-App und warten Sie auf die Synchronisierung
Die Datenbankstruktur könnte sich geändert haben — eröffnen Sie ein Issue
Mitwirken
Siehe CONTRIBUTING.md für die Entwicklungseinrichtung, Architektur und wie man neue Tools hinzufügt.
Lizenz
MIT-Lizenz - Siehe LICENSE für Details.
Danksagungen
Available Tools
14 toolsget_accountsARead-only
Get all accounts with balances, plus summary fields: total_balance (net worth = assets minus liabilities), total_assets, and total_liabilities. Optionally filter by account type (checking, savings, credit, investment). Checks both account_type and subtype fields for better filtering (e.g., finds checking accounts even when account_type is 'depository'). By default, hidden accounts are excluded. name is your Copilot nickname when set, else the provider label — it is user-editable, so key on account_id, never on name. Default rows are terse: account_id, name, account_type, subtype, current_balance, institution_name, iso_currency_code, item_id, plus user_hidden / user_deleted when set (the flags include_hidden controls). That drops the other ~35 document fields. PARTIAL list of what goes, not exhaustive: the embedded holdings array (get_holdings covers it), institution logo images plus their logo_content_type (base64-encoded, several KB each — this PAIR is where the removed include_logos flag went, and the flag gated both, so request them together), mask (the last-4 digits humans identify an account by), available_balance, limit, institution_id, creation_timestamp (when the account was created in Copilot, YYYY-MM-DD — written only on newer rows, so absent means unknown, not old), the denormalized official_name / original_* name dupes, and user_id. Any document field is requestable by name: fields: ["default", "mask", "available_balance"], or "all" / "*" for full rows. include_logos was removed in v3.0.0 — passing it now raises an error naming this migration.
Inputs: fields, account_type, include_hidden.
get_balance_historyARead-only
Get daily balance snapshots for accounts over time. Each entry returns current_balance, available_balance, limit, account_id, and account_name. The response also includes an accounts array listing the distinct account IDs in the paginated page. Requires a granularity parameter (daily, weekly, monthly) to control response size. Weekly and monthly modes downsample by keeping the last data point per period. Filter by account_id and date range.
Inputs: granularity (required), limit, offset, end_date, +2 more.
get_budgetsARead-only
Get budgets from Copilot's native budget tracking. Returns the current-month effective budget per category plus the full amounts map of per-month overrides for history lookups. For parent categories, the returned amount is the resolved total (children + rollovers) that Copilot displays in the Budgets view. Totals use the current-month effective amount.
Inputs: active_only.
get_cache_infoARead-only
Get information about the local data cache, including the date range of cached transactions and total count. Useful for understanding data availability before running historical queries. This tool reads from a local cache that may not contain your complete transaction history. Also reports decode_health: per-collection counts of documents dropped on schema validation failure (a "degraded" status means some cached documents are missing from results).
Inputs: no named parameters.
get_categoriesARead-only
Unified category retrieval tool. Supports multiple views: list (default) - user categories with transaction counts/amounts for a time period; tree - user categories as hierarchical tree; search - search user categories by keyword. Use parent_id to get subcategories. For list view, use period (e.g., "this_month") or start_date/end_date to filter by date. Includes all categories, even those with $0 spent (matching UI behavior).
Inputs: view, query, period, end_date, +2 more.
get_connection_statusARead-only
Get connection status for all linked financial institutions. Shows per-institution sync health including last successful update timestamps for transactions and investments, login requirements, and error states. Use this to check when accounts were last synced or to identify connections needing attention. Also reports decode_health: per-collection counts of cached documents dropped on schema validation failure (a "degraded" status means some documents are missing from results). Also reports scheduled_smoke: the last scheduled API-drift check with timestamp, or null if the weekly job is not installed. Only "fail" means the API drifted; "auth-missing" and "incomplete" mean drift is unknown.
Inputs: no named parameters.
get_goal_historyARead-only
Get monthly progress snapshots for financial goals. Returns current_amount, target_amount, daily data points, and contribution records per month. Filter by goal_id or month range (YYYY-MM). Cache-only: no live-mode (--live-reads) counterpart exists because Copilot's GraphQL endpoint does not expose goal data, so this tool always returns cached LevelDB data regardless of the --live-reads flag.
Inputs: limit, offset, goal_id, end_month, +1 more.
get_goalsARead-only
Get financial goals from Copilot's native goal tracking. Retrieves user-defined savings goals, debt payoff targets, and investment goals. Returns goal details including target amounts, monthly contributions, status (active/paused), start dates, and tracking configuration. Calculates total target amount across all goals. Cache-only: no live-mode (--live-reads) counterpart exists because Copilot's GraphQL endpoint does not expose goal data, so this tool always returns cached LevelDB data regardless of the --live-reads flag.
Inputs: active_only.
get_holdingsARead-only
Get current investment holdings with position-level detail. Returns ticker, name, quantity, current price, equity value, average cost, and total return per holding. Joins data from account holdings, securities, and optionally historical snapshots. Filter by account or ticker symbol. Note: cost_basis may be unavailable for cash-equivalent positions. Positions on hidden and merged accounts are EXCLUDED by default, matching get_accounts — pass include_hidden: true for them. Do NOT sum holdings as portfolio value: unvested stock-plan shares are reported as holdings, so the sum can far exceed the investment balance; with --live-reads use get_investment_balance_live for the total.
Inputs: limit, offset, account_id, ticker_symbol, +2 more.
get_investment_pricesARead-only
Get investment price history for portfolio tracking. Returns one row per (security, period) for stocks, ETFs, mutual funds, and crypto. Filter by ticker symbol, date range, or price type (daily/hf). By default each row is TERSE: the security, the period, and its latest price (latest_price / latest_at) — enough to answer "what is this worth". The full price series (prices, an epoch-millis map) is most of a full row and roughly quadruples response size, so it is omitted unless requested via fields; ask for it only when you need the time series itself, not a current value.
Inputs: limit, fields, offset, end_date, +3 more.
get_investment_splitsARead-only
Get stock split events from the local Firestore cache. Returns one row per (security, effective_date) with the adjustment multiplier (e.g. 0.1 for a 10-for-1 split — multiply pre-split prices/quantities by this value to convert to the post-split equivalent). Joined with the securities collection so each row includes ticker and name. IMPORTANT: prices returned by get_investment_prices and get_investment_prices_live are ALREADY split-adjusted by Copilot. Use this tool only when you need the split events themselves (e.g., for narrative or historical-analysis purposes) — you do NOT need to apply these multipliers to the prices yourself. Securities that have never split are not included in the output. Coverage is limited to securities Copilot currently syncs in your local cache (typically currently-held or recently-held).
Inputs: limit, offset, end_date, start_date, +1 more.
get_recurring_transactionsARead-only
Identify recurring/subscription charges. Combines two data sources: (1) Pattern analysis - finds transactions from same merchant with similar amounts, returns estimated frequency, confidence score, and next expected date. (2) Copilot's native subscription tracking - returns user-confirmed subscriptions stored in the app. Both sources are included by default for comprehensive coverage. Rows in the pattern-analysis recurring array are terse by default: merchant, normalized_merchant, occurrences, average_amount, total_amount, frequency, confidence, category_name, last_date, next_expected_date. That excludes the matched transactions array (already reachable via get_transactions) and confidence_reason (prose explaining the score) — see fields for how to get either back.
Inputs: name, fields, period, end_date, +4 more.
get_transactionsARead-only
Reads from the local LevelDB cache, which may lag behind Copilot's server if the macOS app hasn't synced recently. For real-time data use --live-reads with get_transactions_live. Unified transaction retrieval tool. Supports multiple modes: (1) Filter-based: Use period, date range, category, merchant, amount filters. (2) Single lookup: Provide transaction_id to get one transaction. (3) Text search: Use query for free-text merchant search. (4) Special types: Use transaction_type for foreign, refunds, credits, duplicates, hsa_eligible, tagged. (5) Location-based: Use city or lat/lon with radius_km. (6) Tag filter: Use tag to find transactions with a specific tag. Rows are TERSE by default: transaction_id, date, amount, name, category_name, account_id, item_id, pending, excluded, internal_transfer. excluded answers "is this row excluded from spending?" — the raw per-transaction flag OR the row's category being user-excluded, the same union exclude_excluded filters on — so it is true for a row Copilot never stamped individually. It is therefore nearly always false in a default response, since exclude_excluded already removed those rows; it carries information only when you pass exclude_excluded: false. A cache row carries ~30 fields and most callers need a handful, so the rest are excluded unless asked for. PARTIAL list of what that drops, not exhaustive: Plaid metadata (plaid_category_id, plaid_category_strings, plaid_deleted), internal IDs (category_id, recurring_id, goal_id, parent_transaction_id, children_transaction_ids, user_id), enrichment and intelligence fields (normalized_merchant — still the normalized merchant name when requested — intelligence_suggested_category_ids, suggestion_ids, original_name), tag_ids, review state (user_reviewed, user_note, user_changed_type — true only when a human re-typed the row, so do not second-guess its type), location (city, region, country, lat/lon), and flags like is_amazon/from_investment. amazon is worth naming because nothing else hints it exists: on rows Copilot matched to an Amazon order it carries the receipt — {order_id, items: [{id, name, link, price, quantity}], other: {giftWrapping, rewards, savings, shipping, tax}} — so fields: ["default", "amazon"] answers "what was in this order" without an exported CSV. Ask for any of them by name with fields: ["default", "tag_ids"], or take the whole document with fields: ["all"] (or "*"). category_name is always resolved to a human-readable name. compact was removed in v3.0.0 — passing it now raises an error naming this migration.
Inputs: lat, lon, tag, city, +22 more.
refresh_databaseARead-only
Refresh the in-memory cache by reloading data from the local Copilot Money database. Use this when the user has recently synced new transactions in the Copilot Money app, or when you suspect the cached data is stale. The cache also auto-refreshes every 5 minutes. Returns the updated cache info after refresh.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a distinct resource (transactions, accounts, holdings, budgets, goals, categories, splits, connection/cache status), and the descriptions steer callers correctly for the closest pairs (get_goals vs get_goal_history, get_accounts vs get_balance_history, get_cache_info vs get_connection_status). The main ambiguity comes from get_transactions being a six-mode mega-tool and from multiple tools referencing absent `_live` counterparts (get_transactions_live, get_investment_prices_live, get_investment_balance_live), which an agent cannot call.
All tools use snake_case with a get_<resource> pattern, and the single exception (refresh_database) still follows the verb_noun convention. Resource names are predictable and parallel across domains (get_goals/get_goal_history, get_holdings/get_investment_prices).
14 tools is well within the sweet spot for a personal-finance server covering transactions, accounts, investments, budgets, goals, and cache management. Each tool maps to a real domain object and none look redundant or padding.
Read coverage is thorough across every major domain: accounts, transactions (with search/filter/location/tag modes), balance history, budgets, categories, goals plus goal history, holdings, prices, splits, recurring charges, and cache/connection health. The gap is the absence of any mutation tools (edit transaction category, adjust budget/goal, create tags), so agents can analyze but not change anything.
Maintenance
Related MCP Connectors
Personal finance for AI agents — onboard, import statements, categorize & budget over MCP.
The Ramp MCP server enables users to securely connect Ramp with AI assistants like ChatGPT and Claude to query financial data and take actions using natural language. It transforms Ramp's developer API into a SQL interface that LLMs can query, allowing admins to analyze spend trends, identify cost savings, and run complex SQL analyses on comprehensive datasets (transactions, purchase orders, vendors, users), while all users can manage cards, view transactions, request reimbursements, and get expense policy answers.
Read-only finance MCP server. Connects your banks, cards, payment apps, books and payroll into one ledger for your AI. Can't move money. Open source (AGPL-3.0), free during beta.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.112,331MIT
- AlicenseAqualityBmaintenanceAn MCP server implementation that provides programmatic access to personal finance data through LunchMoney's API, enabling AI assistants to manage transactions, budgets, categories, and assets.59394 npm115MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Splitwise expenses with atomic duplicate prevention, smart fuzzy matching, and support for flexible split ratios between two people.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to perform comprehensive Microsoft Excel operations including data analysis, cell editing, advanced formatting, and VBA execution on Windows systems. It provides a structured workflow for managing workbooks and worksheets through a dedicated Model Context Protocol interface.54MIT