
iiatlas/hledger-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
iiatlas/hledger-mcp - кандидат на сервер MCP, импортированный из https://github.com/iiatlas/hledger-mcp.
Обзор
iiatlas/hledger-mcp - кандидат на сервер MCP, импортированный из https://github.com/iiatlas/hledger-mcp.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который предоставляет помощникам ИИ (MCP-клиентам) прямой доступ к учетным данным и функциональности HLedger. Этот сервер позволяет приложениям ИИ запрашивать балансы счетов, генерировать финансовые отчеты, добавлять новые целые и анализировать учетные данные через стандартизированный протокол.
Он имеет поддержку большинства команд hledger cli, возможность извлекать проходимые include журнальные файлы и безопасный --read-only режим. Надеюсь, вы найдете это полезным!
Опубликован на npm как @iiatlas/hledger-mcp, и доступен в виде установочного .mcpb файла из релизов.
Особенности
Сервер HLedger MCP обеспечивает полный доступ к возможностям финансовой отчетности HLedger с помощью следующих инструментов:
###Основной бухгалтерский учет
Учетные записи - Имена и структуры учетных записей и запросов Баланс - Создание отчетов о балансе с широкими возможностями настройки Регистрация - Просмотр регистров транзакций и размещение деталей Print - выпуск журнальных записей и транзакций
Финансовые отчеты
-Балансовый отчет - Создание отчетов о балансе ** Балансовый баланс Акционерный капитал** - Отчеты о балансе с указанием деталей собственного капитала
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
HLedger MCP Server
A Model Context Protocol (MCP) server that provides AI assistants (MCP Clients) with direct access to HLedger accounting data and functionality. This server enables AI applications to query account balances, generate financial reports, add new entires, and analyze accounting data through a standardized protocol.
It has support for most hledger cli commands, the ability to fetch an traverse include’d journal files, and a safe --read-only mode. I hope you find it useful!
Published on npm as @iiatlas/hledger-mcp, and available as an installable .mcpb file from releases.
Features
The HLedger MCP server provides comprehensive access to HLedger’s financial reporting capabilities through the following tools:
Core Accounting
- Accounts - List and query account names and structures
- Balance - Generate balance reports with extensive customization options
- Register - View transaction registers and posting details
- Print - Output journal entries and transactions
Financial Reports
- Balance Sheet - Generate balance sheet reports
- Balance Sheet Equity - Balance sheet reports with equity details
- Income Statement - Profit & loss statements
- Cash Flow - Cash flow analysis and reports
Data Analysis
- Stats - Statistical analysis of journal data
- Activity - Account activity and transaction frequency analysis
- Payees - List and analyze transaction payees
- Descriptions - Transaction description analysis
- Tags - Query and analyze transaction tags
- Notes - List unique transaction notes and memo fields
- Files - List data files used by hledger
Resource Integration
- Automatically registers the primary journal and every file reported by
hledger filesas MCP resources so clients can browse and retrieve the source ledgers
Journal Updates
- Add Transaction - Append new, validated journal entries with optional dry-run support
- Find Entry - Locate complete transactions (with file and line metadata) matching any hledger query
- Remove Entry - Delete a transaction safely using its exact text and location, with optional dry-run
- Replace Entry - Swap an existing transaction for new content after validating the change
- Import Transactions - Safely ingest batches of entries from external journal files or other supported formats
Установка
npx -y @iiatlas/hledger-mcp /path/to/your/master.journalКонфигурация
{
"mcpServers": {
"hledger": {
"command": "npx",
"args": ["-y", "@iiatlas/hledger-mcp", "/path/to/your/master.journal"]
}
}
}