Skip to main content
Glama

Copilot Money MCP 서버

로컬 Copilot Money 데이터를 사용하여 AI로 개인 재정을 조회하고 관리하세요

License: MIT Node.js 18+ TypeScript Tests codecov copilot-money-mcp MCP server

면책 조항

이 프로젝트는 독립적인 커뮤니티 주도 프로젝트이며, Copilot Money 또는 그 모회사와 어떠한 방식으로도 제휴, 보증 또는 관련되어 있지 않습니다. 이 도구는 로컬에 캐시된 데이터에 대해 AI 기반 쿼리를 수행할 수 있도록 독립 개발자가 만들었습니다. "Copilot Money"는 해당 소유자의 상표입니다.

Related MCP server: LunchMoney MCP Server

개요

AI 어시스턴트가 사용자의 Copilot Money 개인 재정 데이터에 액세스할 수 있도록 하는 MCP 서버입니다. Mac의 로컬에 캐시된 Firestore 데이터베이스(LevelDB + Protocol Buffers)에서 데이터를 읽습니다. 읽기 작업은 100% 로컬에서 수행되며 네트워크 요청이 전혀 없습니다.

지출, 투자, 예산, 목표 등을 아우르는 17개의 읽기 도구를 통해 거래 내역, 계좌, 보유 자산, 잔액, 카테고리, 정기 결제, 예산, 목표 및 투자 성과를 조회할 수 있습니다.

개인정보 보호 우선

당사는 사용자의 데이터를 수집, 저장하거나 이 프로젝트에서 운영하는 서버로 전송하지 않습니다. 애초에 그런 서버가 없습니다. 자세한 내용은 개인정보 처리방침을 참조하십시오.

  • 어떠한 종류의 분석, 텔레메트리 또는 추적도 없음

  • 읽기 작업은 완전히 로컬에서 수행됨 — 네트워크 요청 제로

  • 오픈 소스 — 코드를 직접 검증 가능

[!IMPORTANT] AI 제공업체 관련 주의사항. 이 서버 자체는 로컬에서 실행되며 이 프로젝트가 운영하는 서버로 데이터를 전송하지 않지만, 연결된 AI 어시스턴트(Claude, ChatGPT, Gemini 등)는 질문에 답변하는 과정에서 사용자의 Copilot Money 데이터를 보게 됩니다. 즉, 사용자의 금융 데이터가 선택한 모델의 제공업체(Anthropic, OpenAI, Google 또는 기타 제3자)로 전송 및 처리되며, 이는 해당 제공업체의 개인정보 처리방침 및 데이터 보존 약관을 따릅니다.

이 MCP 서버를 호스팅된 AI 모델과 함께 사용하면, 사용자는 자신의 금융 데이터를 해당 AI 제공업체와 공유하는 것에 동의하는 것입니다. 이러한 트레이드오프를 감수할 수 있는 경우에만 이 도구를 사용하십시오. 그렇지 않다면 공식 Copilot Money 통합을 기다리거나 완전히 로컬에서 실행되는 모델을 사용하는 것을 고려하십시오.

빠른 시작

사전 요구 사항

  • Node.js 18+ (Claude Desktop에 포함됨)

  • Copilot Money (macOS App Store 버전)

  • Claude Desktop, Cursor 또는 기타 MCP 호환 클라이언트

Claude Desktop을 통한 설치

  1. Releases에서 최신 .mcpb 번들을 다운로드합니다.

  2. .mcpb 파일을 더블 클릭하여 Claude Desktop에 설치합니다.

  3. Claude Desktop을 재시작합니다.

  4. 재정에 관해 질문을 시작하세요!

npm을 통한 설치

npm install -g copilot-money-mcp

그런 다음 Claude Desktop 설정(~/Library/Application Support/Claude/claude_desktop_config.json)에 추가합니다:

{
  "mcpServers": {
    "copilot-money": {
      "command": "copilot-money-mcp"
    }
  }
}

Cursor를 위한 설치

  1. 패키지를 전역으로 설치합니다:

npm install -g copilot-money-mcp
  1. Cursor 설정(Cmd + ,) > Features > MCP Servers를 엽니다.

  2. 서버 설정을 추가합니다:

{
  "mcpServers": {
    "copilot-money": {
      "command": "copilot-money-mcp"
    }
  }
}

수행 가능한 작업

지출 분석

"지난달 외식에 얼마를 썼지?"

"지난 30일 동안의 모든 Amazon 구매 내역을 보여줘"

"올해 나의 상위 5개 지출 카테고리는 무엇이지?"

get_transactions, get_categories를 날짜 범위, 텍스트 검색 및 카테고리 필터와 함께 사용합니다.

계좌 개요

"모든 계좌를 합친 나의 순자산은 얼마지?"

"지난 6개월 동안의 당좌 예금 잔액을 월별로 보여줘"

"주의가 필요한 은행 연결은 무엇이지?"

get_accounts, get_balance_history, get_connection_status를 사용합니다.

투자 포트폴리오

"현재 나의 보유 자산과 총 수익률은 얼마지?"

"지난 1년간의 AAPL 가격 변동 내역을 보여줘"

"이번 분기 나의 시간 가중 수익률(TWR)은 얼마지?"

get_holdings, get_investment_prices, get_securities, get_investment_performance, get_twr_returns를 사용합니다.

예산 및 목표

"이번 달 예산 계획대로 잘 지키고 있나?"

"비상금 목표는 얼마나 달성했지?"

"지난 6개월간의 목표 달성 내역을 보여줘"

get_budgets, get_goals, get_goal_history를 사용합니다.

구독 및 정기 결제

"내가 결제 중인 구독 서비스는 무엇이지?"

"매달 정기 결제에 얼마를 쓰고 있지?"

get_recurring_transactions를 사용합니다.

사용 가능한 도구

읽기 도구 (17)

도구

설명

get_transactions

날짜 범위, 카테고리, 가맹점, 금액, 계좌, 위치, 텍스트 검색 및 특수 유형(해외, 환불, 중복, HSA 적격) 필터를 사용하여 거래 내역을 조회합니다.

get_accounts

잔액이 포함된 모든 계좌를 나열하고 유형(당좌, 저축, 신용, 투자)별로 필터링합니다. 순자산 계산을 포함합니다.

get_categories

거래 건수와 지출 합계가 포함된 카테고리를 나열합니다. 목록, 트리 및 검색 보기를 지원합니다.

get_recurring_transactions

빈도, 비용 및 다음 예상 결제일이 포함된 구독 및 정기 결제 내역을 식별합니다.

get_budgets

지출 대비 한도 비교가 포함된 예산을 가져옵니다.

get_goals

목표 금액, 진행 상황 및 월별 기여금이 포함된 재무 목표를 가져옵니다.

get_goal_history

일일 데이터 및 기여 기록이 포함된 목표의 월별 진행 상황 스냅샷입니다.

get_balance_history

시간에 따른 계좌의 일일 잔액 스냅샷입니다. 일, 주 또는 월 단위 세분화를 지원합니다.

get_holdings

티커, 수량, 가격, 취득 원가 및 총 수익률이 포함된 현재 투자 보유 자산입니다.

get_investment_prices

주식, ETF, 뮤추얼 펀드 및 암호화폐에 대한 과거 가격 데이터(일일 + 고빈도)입니다.

get_investment_splits

비율, 날짜 및 승수가 포함된 주식 분할 내역입니다.

get_investment_performance

증권별 투자 성과 데이터입니다.

get_twr_returns

투자 보유 자산에 대한 시간 가중 수익률(TWR) 월별 데이터입니다.

get_securities

증권 마스터 데이터 — 티커, 이름, 유형, 가격 및 식별자(ISIN/CUSIP).

get_connection_status

마지막 동기화 타임스탬프 및 오류를 포함하여 연결된 기관의 은행 동기화 상태입니다.

get_cache_info

로컬 캐시 메타데이터 — 날짜 범위, 거래 건수, 캐시 경과 시간.

refresh_database

디스크에서 데이터를 다시 로드합니다. 캐시는 5분마다 자동 새로고침됩니다.

설정

캐시 TTL

서버는 데이터를 메모리에 5분 동안 캐시합니다. 환경 변수를 통해 설정할 수 있습니다:

# 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-mcp

refresh_database 도구를 사용하여 수동으로 새로고침할 수도 있습니다.

디코드 타임아웃

대규모 데이터베이스(500MB 이상)의 경우 디코드 타임아웃을 늘리십시오(기본값: 90초):

# Via environment variable
DECODE_TIMEOUT_MS=600000 copilot-money-mcp

# Via CLI flag
copilot-money-mcp --timeout 600000

1GB가 넘는 데이터베이스의 경우 Node.js 메모리도 늘리십시오:

{
  "mcpServers": {
    "copilot-money": {
      "command": "node",
      "args": [
        "--max-old-space-size=4096",
        "/path/to/copilot-money-mcp/dist/cli.js",
        "--timeout", "600000"
      ]
    }
  }
}

지원되는 날짜 기간

period 매개변수는 다음 단축키를 지원합니다:

this_month last_month last_7_days last_30_days last_90_days ytd this_year last_year

알려진 제한 사항

로컬 캐시 의존성

이 서버는 클라우드가 아닌 Copilot Money의 로컬 Firestore 캐시에서 읽습니다. Firestore의 오프라인 지속성은 앱이 가져온 모든 문서를 캐시하므로, 로컬 데이터베이스에는 일반적으로 앱에서 본 모든 거래, 계좌, 예산, 목표 및 기타 데이터가 포함되어 있습니다. 기본 Firestore 캐시 크기는 100MB(수만 건의 거래를 처리하기에 충분함)이며, 이전 문서는 해당 제한을 초과하는 경우에만 LRU 가비지 컬렉션을 통해 제거됩니다.

캐시된 데이터를 최대화하려면: Copilot Money 앱을 열고 데이터(거래 내역, 계좌, 예산)를 탐색하여 로컬에 가져오고 캐시되었는지 확인하십시오.

문제 해결

데이터베이스를 찾을 수 없음

"Database not available" 메시지가 표시되는 경우:

  1. Copilot Money가 설치되어 있고 데이터가 동기화되었는지 확인하십시오.

  2. 데이터베이스 위치를 확인하십시오: ~/Library/Containers/com.copilot.production/Data/Library/Application Support/firestore/__FIRAPP_DEFAULT/copilot-production-22904/main

  3. 디렉토리에 .ldb 파일이 있는지 확인하십시오.

  4. 사용자 지정 경로를 제공하십시오: copilot-money-mcp --db-path /path/to/database

디코드 워커 시간 초과

"Decode worker timed out" 메시지가 표시되는 경우:

  1. 타임아웃을 늘리십시오: copilot-money-mcp --timeout 300000 (5분)

  2. 1GB 이상의 데이터베이스의 경우 Node.js 메모리도 늘리십시오: node --max-old-space-size=4096 dist/cli.js --timeout 300000

거래 내역을 찾을 수 없음

  • Copilot Money 앱을 열고 동기화가 완료될 때까지 기다리십시오.

  • 데이터베이스 구조가 변경되었을 수 있습니다 — 이슈를 제기하십시오.

기여

개발 설정, 아키텍처 및 새 도구 추가 방법에 대해서는 CONTRIBUTING.md를 참조하십시오.

라이선스

MIT 라이선스 - 자세한 내용은 LICENSE를 참조하십시오.

감사의 말

  • Anthropic의 MCP SDK로 구축됨

  • Zod을 사용한 데이터 검증

  • Bun으로 개발됨

Available Tools

14 tools
get_accountsA
Read-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_historyA
Read-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_budgetsA
Read-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_infoA
Read-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_categoriesA
Read-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_statusA
Read-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_historyA
Read-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_goalsA
Read-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_holdingsA
Read-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_pricesA
Read-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_splitsA
Read-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_transactionsA
Read-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_transactionsA
Read-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_databaseA
Read-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

    A4.3/5.0

    Scored across 14 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

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

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.
      11
      2,331
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      An 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.
      59
      378 npm
      115
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Splitwise expenses with atomic duplicate prevention, smart fuzzy matching, and support for flexible split ratios between two people.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables 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.
      5
      4
      MIT