HLedger

•
65
•

Integrate HLedger accounting data and functionality with AI assistants via a local Model Context Protocol (MCP) server.

HLedger provides a Model Context Protocol (MCP) server designed to give AI assistants (MCP Clients) direct access to HLedger's comprehensive accounting data and features. This server empowers AI applications to perform a wide range of financial tasks, including querying account balances, generating detailed financial reports, adding and modifying journal entries, and analyzing accounting data through a standardized protocol. It supports most `hledger` CLI commands, handles `!include`d journal files, and offers a safe `--read-only` mode for secure interaction with your financial records.

主要功能

01Configurable read-only mode and automatic backup creation for safe and controlled journal operations.
02Integrated web interface launcher for `hledger web` directly within the MCP server, with customizable permissions.
03Comprehensive access to HLedger's core accounting, financial reporting, and data analysis functionalities.
04Securely modify journal entries with tools for adding, finding, removing, replacing, importing, closing, and rewriting transactions.
05Automatic registration of all primary and included journal files as MCP resources for client browsing and retrieval.
068 GitHub stars

使用案例

01Query account balances and generate customized financial reports using natural language with an AI assistant.
02Analyze financial data such as cash flow, expenses, payees, and transaction activity through AI-driven insights.
03Automate the process of adding new transactions, importing data, or making bulk changes to your HLedger journal.