monarch-mcp
MCP-сервер для Monarch Money
Сервер протокола контекста модели (MCP) для интеграции с платформой личных финансов Monarch Money через Claude Desktop.
Обзор
Безопасность по дизайну — вход через браузер, токен хранится в системной связке ключей (никогда не попадает в файлы конфигурации или переменные окружения)
Безопасность по умолчанию — режим «только чтение» предотвращает случайные изменения; инструменты записи требуют явного подтверждения
Комплексность — 37 инструментов, охватывающих счета, транзакции, разделения, бюджеты, денежные потоки, теги, категории и кредитную историю
Простота установки — расширение Claude Desktop (
.mcpb),uvxилиpip
Два режима работы:
Сервер по умолчанию запускается в режиме «только чтение». Инструменты записи скрыты и заблокированы, пока вы явно не разрешите их использование.
Только чтение (по умолчанию) | Режим записи | |
Просмотр счетов, транзакций, бюджетов | Да | Да |
Анализ денежных потоков, расходов, чистой стоимости | Да | Да |
Создание транзакций, тегов, категорий | Нет | Да |
Обновление счетов, бюджетов, разделений | Нет | Да |
Удаление транзакций, тегов, счетов | Нет | Да |
Related MCP server: Monarch Money MCP Server
Быстрый старт
Установка
Вариант 1: Расширение Claude Desktop (.mcpb) — рекомендуется для Claude Desktop
Позволяет включать/выключать режим записи прямо из приложения Claude Desktop.
Скачайте последний файл
.mcpbиз раздела ReleasesВ Claude Desktop: Settings > Extensions > Advanced Settings > Install Extensions — выберите файл
.mcpbПерезапустите Claude Desktop
Чтобы включить инструменты записи: Settings > Extensions > Monarch Money MCP Server > Configure — включите "Enable write tools" и нажмите Save.
Вариант 2: uvx (установка не требуется) — рекомендуется для агентов (например, Claude Code или Cursor)
Также работает с Claude Desktop, но режим записи нельзя переключить из приложения — установите его в конфигурации.
Добавьте в ваш файл конфигурации MCP:
{
"mcpServers": {
"Monarch Money": {
"command": "uvx",
"args": ["monarch-mcp"]
}
}
}Чтобы включить инструменты записи:
{
"mcpServers": {
"Monarch Money": {
"command": "uvx",
"args": ["monarch-mcp", "--enable-write"]
}
}
}Вариант 3: установка через pip — рекомендуется для локальной установки и venv
pip install monarch-mcpУчастникам: См. docs/releasing.md для ознакомления с процессом выпуска, схемой версий и предварительным тестированием через TestPyPI.
Добавьте в вашу конфигурацию MCP, используя полный путь к вашему интерпретатору Python:
{
"mcpServers": {
"Monarch Money": {
"command": "/path/to/bin/python3",
"args": ["-m", "monarch_mcp"]
}
}
}Чтобы включить инструменты записи, добавьте "--enable-write" в args.
Вариант 4: Клонирование и установка — рекомендуется для разработки
git clone https://github.com/vargahis/monarch-mcp.git
cd monarch-mcp
pip install -e .Затем добавьте в вашу конфигурацию MCP, используя интерпретатор Python из вашей среды разработки:
{
"mcpServers": {
"Monarch Money": {
"command": "/path/to/bin/python3",
"args": ["-m", "monarch_mcp"]
}
}
}Чтобы включить инструменты записи, добавьте "--enable-write" в args.
Аутентификация
Аутентификация происходит автоматически в вашем браузере при первом запуске MCP-сервера без сохраненной сессии.
Запустите (или перезапустите) Claude Desktop
Сервер обнаружит отсутствие токена и откроет страницу входа в вашем браузере
Введите ваш адрес электронной почты и пароль от Monarch Money
Введите код 2FA, если у вас включена двухфакторная аутентификация
После аутентификации токен будет сохранен в системной связке ключей — все готово
Ключевые детали:
Учетные данные вводятся только в браузере — никогда через Claude Desktop
Токен хранится в системной связке ключей — сохраняется после перезагрузок, действует неделями/месяцами
Истекшие сессии проходят повторную аутентификацию автоматически — вход через браузер срабатывает при следующем вызове инструмента
Полная поддержка MFA
Резервный вариант: запустите
python login_setup.pyв терминале для headless-сред
Технические подробности архитектуры аутентификации см. в docs/authentication.md.
Примеры использования
Show me all my financial accountsWhat were my last 50 transactions?How's my budget looking this month?Analyze my cashflow for the last 3 monthsCreate a tag called "Business Expenses" in redДоступные инструменты
Инструмент | Описание | Режим |
Auth | ||
| Получить инструкции по настройке | чтение |
| Проверить статус аутентификации | чтение |
| Отладка проблем со связкой ключей | чтение |
Accounts | ||
| Получить все финансовые счета | чтение |
| Получить инвестиционные активы | чтение |
| Получить исторические данные баланса | чтение |
| Получить ежедневные балансы | чтение |
| Чистая стоимость по типу счета | чтение |
| Ежедневная совокупная чистая стоимость | чтение |
| Получить подключенные финансовые организации | чтение |
| Получить допустимые типы счетов | чтение |
| Запросить обновление данных счетов | чтение |
| Создать ручной счет | запись |
| Обновить настройки счета | запись |
| Удалить счет | запись |
Transactions | ||
| Получить транзакции с фильтрацией (дата, счет, категория, тег, поиск, needs_review и др.) | чтение |
| Получить полные детали транзакции | чтение |
| Агрегированная статистика транзакций | чтение |
| Получить информацию о разделении транзакций | чтение |
| Получить повторяющиеся транзакции | чтение |
| Создать новую транзакцию | запись |
| Обновить существующую транзакцию | запись |
| Удалить транзакцию | запись |
| Создать/изменить/удалить разделения | запись |
Tags | ||
| Получить все теги | чтение |
| Создать новый тег | запись |
| Удалить тег | запись |
| Установить теги для транзакции | запись |
Categories | ||
| Получить все категории | чтение |
| Получить группы категорий | чтение |
| Создать категорию | запись |
| Удалить категорию | запись |
Budgets & Cashflow | ||
| Получить информацию о бюджете | чтение |
| Получить анализ денежных потоков | чтение |
| Получить сводку денежных потоков | чтение |
| Установить бюджет для категории | запись |
Other | ||
| Получить статус подписки | чтение |
| Получить историю кредитного рейтинга | чтение |
🙏 Благодарности
Форк monarch-mcp-server от @robcerda, поддерживаемый vargahis.
Построено на базе библиотеки Python monarchmoneycommunity.
Спасибо:
@robcerda за оригинальный MCP-сервер
@hammem за оригинальную библиотеку monarchmoney
@bradleyseanf за форк сообщества
Лицензия
Лицензия MIT
Available Tools
25 toolscheck_auth_statusA
Check if already authenticated with Monarch Money.
Inputs: no named parameters. Returns: result
debug_session_loadingC
Debug keyring session loading issues.
Inputs: no named parameters. Returns: result
get_account_historyC
Get historical balance snapshots for an account.
Args: account_id: The ID of the account
Inputs: account_id (required). Returns: result
get_account_holdingsC
Get investment holdings for a specific account.
Args: account_id: The ID of the investment account
Inputs: account_id (required). Returns: result
get_accountsA
Get all financial accounts from Monarch Money.
Inputs: no named parameters. Returns: result
get_account_snapshots_by_typeA
Get net value snapshots grouped by account type.
Args: start_date: Start date in YYYY-MM-DD format timeframe: Aggregation period - "month" or "year"
Inputs: start_date (required), timeframe (required). Returns: result
get_account_type_optionsA
Get available account types and sub-types for creating manual accounts.
Inputs: no named parameters. Returns: result
get_aggregate_snapshotsA
Get daily aggregate net value of all accounts.
Args: start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format account_type: Filter by account type (optional)
Inputs: start_date, end_date, account_type. Returns: result
get_budgetsB
Get budget information from Monarch Money.
Args: start_date: Start date in YYYY-MM-DD format (default: last month) end_date: End date in YYYY-MM-DD format (default: next month) use_v2_goals: Whether to use v2 goals format (default: True)
Inputs: start_date, end_date, use_v2_goals. Returns: result
get_cashflowB
Get cashflow analysis from Monarch Money.
Args: start_date: Start date in YYYY-MM-DD format (requires end_date; defaults to current month) end_date: End date in YYYY-MM-DD format (requires start_date; defaults to current month)
Inputs: start_date, end_date. Returns: result
get_cashflow_summaryA
Get cashflow summary (income, expenses, savings, savings rate).
Args: limit: Number of records to retrieve (default: 100) start_date: Start date in YYYY-MM-DD format (requires end_date) end_date: End date in YYYY-MM-DD format (requires start_date)
Inputs: limit, start_date, end_date. Returns: result
get_credit_historyA
Get credit score history and related details.
Inputs: no named parameters. Returns: result
get_institutionsA
Get all connected financial institutions and their connection status.
Inputs: no named parameters. Returns: result
get_recent_account_balancesB
Get daily balance for all accounts from a start date.
Args: start_date: Start date in YYYY-MM-DD format (optional)
Inputs: start_date. Returns: result
get_recurring_transactionsC
Get recurring transactions from Monarch Money.
Args: start_date: Start date in YYYY-MM-DD format (requires end_date) end_date: End date in YYYY-MM-DD format (requires start_date)
Inputs: start_date, end_date. Returns: result
get_subscription_detailsB
Get Monarch Money subscription status and details.
Inputs: no named parameters. Returns: result
get_transaction_categoriesA
Get all transaction categories from Monarch Money.
Inputs: no named parameters. Returns: result
get_transaction_category_groupsA
Get all transaction category groups from Monarch Money.
Inputs: no named parameters. Returns: result
get_transaction_detailsA
Get detailed information about a specific transaction.
Args: transaction_id: The ID of the transaction redirect_posted: Whether to redirect to posted transaction (default: True)
Inputs: transaction_id (required), redirect_posted. Returns: result
get_transactionsA
Get transactions from Monarch Money.
Args: limit: Number of transactions to retrieve (default: 100) offset: Number of transactions to skip (default: 0) start_date: Start date in YYYY-MM-DD format (requires end_date) end_date: End date in YYYY-MM-DD format (requires start_date) account_id: Specific account ID to filter by (shorthand for account_ids with one ID) search: Free text search query category_ids: List of category IDs to filter by account_ids: List of account IDs to filter by (cannot use with account_id) tag_ids: List of tag IDs to filter by has_attachments: Filter transactions with/without attachments has_notes: Filter transactions with/without notes hidden_from_reports: Filter transactions hidden/visible in reports is_split: Filter split/unsplit transactions is_recurring: Filter recurring/non-recurring transactions synced_from_institution: Filter synced/manual transactions needs_review: Filter transactions that need review
Inputs: limit, offset, start_date, end_date, +12 more. Returns: result
get_transaction_splitsB
Get split information for a transaction.
Args: transaction_id: The ID of the transaction
Inputs: transaction_id (required). Returns: result
get_transactions_summaryB
Get aggregate transaction summary (count, sum, avg, max, income, expenses).
Inputs: no named parameters. Returns: result
get_transaction_tagsA
Get all transaction tags from Monarch Money.
Inputs: no named parameters. Returns: result
refresh_accountsB
Request account data refresh from financial institutions.
Inputs: no named parameters. Returns: result
setup_authenticationA
Get instructions for setting up secure authentication with Monarch Money.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Each tool targets a distinct aspect of Monarch Money (accounts, transactions, budgets, cashflow, credit, institutions, auth). Even with many transaction-related tools, they differ in scope (e.g., get_transactions vs get_transaction_details vs get_transaction_splits) and have clear parameter distinctions, leaving no ambiguity.
All tool names use snake_case and follow a verb_noun pattern, which is consistent. However, the verbs vary: most use 'get_', but there are also 'check_', 'debug_', 'setup_', and 'refresh_'. This minor inconsistency prevents a perfect score.
With 25 tools, the server is on the larger side but covers many facets of personal finance (accounts, transactions, budgets, cashflow, credit, institutions). Each tool serves a clear purpose, and the count feels justified for the domain, though slightly heavy.
The tool set is heavily read-focused, lacking any create, update, or delete operations for core entities like accounts, transactions, or budgets. This is a significant gap for agents that need to manage finances, leaving the surface incomplete for typical CRUD workflows.
Maintenance
Related MCP Connectors
Ask Claude about your income and spending, and import bank statements. No bank login.
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
Where Is My Dough (WIMD) is a budgeting app for Canadians. Connect it to Claude or another AI app and ask about your real Canadian bank accounts, spending, budgets, cash flow and projects: "Why was October so expensive?", "Can I afford a $2,400 trip in March?". Read-only by default; with your permission it can also categorize transactions, create rules and set project budgets. Every change is logged and can be undone, and it never moves money.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to access and analyze MonarchMoney personal finance data through natural language queries. Provides comprehensive financial insights including account balances, transaction analysis, budget tracking, and spending patterns with enterprise-grade security.12MIT
- AlicenseAqualityDmaintenanceEnables integration with Monarch Money to query financial data, analyze spending patterns, track budgets, and get personalized financial insights through conversational AI with Claude Desktop.113ISC
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Monarch Money financial data, enabling AI assistants to analyze transactions, budgets, and cashflow.4MIT
- AlicenseNot gradedqualityBmaintenanceInteractive UI for Monarch Money inside claude.ai, running on Monarch's official OAuth. Provides interactive widgets for transactions, spending, and accounts with inline editing and broad data-tool coverage.MIT