hledger MCP server
The hledger MCP server lets your AI agent work with hledger from Claude Code, Claude for desktop, or Cursor. It's a community server, not made by Simon Michael and contributors, runs on your computer, and it needs no sign-in.
Add it to your agent
Claude for desktop runs this server on your computer. Add it to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"hledger": {
"command": "npx",
"args": [
"-y",
"@iiatlas/hledger-mcp",
"/path/to/your/master.journal"
]
}
}
}Before you connect it
An MCP server lets your agent read and change what you connect it to in hledger. Connect a test account or a test project first, and check what your agent can do before you give it your real data.
Questions
Is there an official hledger MCP server?
This page lists a community MCP server for hledger, not one made by Simon Michael and contributors.
How do I connect hledger to Claude?
Run claude mcp add hledger -- npx -y @iiatlas/hledger-mcp /path/to/your/master.journal in Claude Code, or add the server to Claude for desktop's config file.
Do I need a hledger account to use its MCP server?
No. The server answered ZeroCrew's check without asking for a sign-in.
More about hledger
hledger in the ZeroCrew directory: what it does, reviews from founders, and alternatives.