MCPVault

hledger_import

MCP tool from Hledger MCP by iiAtlas

wraps hledger import, running the command against a temporary copy of the journal. Provide one or more dataFiles (journal, csv, etc.) and an optional rulesFile; set dryRun to inspect the diff before committing. Successful imports create timestamped .bak files unless --skip-backup is active.

How to use it

hledger_import is exposed by the Hledger MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the hledger_import tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Hledger MCP

$npx @iiatlas/hledger-mcp /path/to/your/master.journal
FULL HLEDGER MCP LISTING