What is hledger-mcp?
hledger-mcp is a MCP server by iiAtlas that read and optionally write local hledger journals for double-entry plain text accounting. It is listed under Finance & commerce and has 65 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | iiAtlas |
| Repository | iiAtlas/hledger-mcp |
| Popularity | 65 GitHub stars |
| Category | Finance & commerce |
| Security | Low risk (80/100) |
| Rank | #763 of 4,418 MCP servers; #43 in Finance & commerce |
| License | MIT |
| Last commit | 2026-02-28 |
| Runs | Locally |
| Language | TypeScript |
| Platforms | macOS, Windows |
Is hledger-mcp safe to install?
hledger-mcp scores 80/100 on the MCPMods security check: Low risk. Things to review: can take actions such as send, write or deploy. It passed 3 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| Needs an API key or account login | Note |
| Can take actions such as send, write or deploy | Review |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install hledger-mcp?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/iiAtlas/hledger-mcp
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add hledger-mcp -- <command from README> claude mcp add --transport http hledger-mcp <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs hledger-mcp for you:
Add the "hledger-mcp" MCP server from https://github.com/iiAtlas/hledger-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.