Skip to main content
Glama
eloircorona

hledger-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HLEDGER_JOURNALNoThe path to the hledger journal file. Overrides the default ~/hledger.journal.~/hledger.journal

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_balanceA

Show account balances. Optionally filter by account name pattern and/or period (e.g. 'this month', '2026-08', 'Q1').

get_registerA

Show transaction register (history). Optionally filter by account, period, and max number of entries.

get_budgetA

Show budget report. Requires budget directives in the journal. Optionally filter by period.

add_transactionC

Add a new transaction to the journal.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct hledger concern: balances, transaction history, budget reports, and adding transactions. There is no meaningful overlap between them.

Naming Consistency5/5

All tools follow the verb_noun pattern with 'get_' for read operations and 'add_' for the write operation. Naming is perfectly predictable and consistent.

Tool Count5/5

Four tools is a compact, focused set for a hledger interface covering the most common actions. No tool is redundant, and the scope feels well-suited to an MCP server.

Completeness3/5

The core workflows of viewing balances, transactions, budgets, and adding entries are covered. However, there are notable gaps such as no way to list accounts, edit/delete transactions, or retrieve full transaction details, which are common hledger operations.

Maintenance

ActivitySlowing
ResponsivenessNo issues