Skip to main content
Glama
luke-nielsen

ledger-mcp

by luke-nielsen

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEDGER_MCP_DBNoSQLite path or SQLAlchemy URL./ledger.db

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
search_transactionsA

Search ledger transactions with flexible filters.

Filters combine with AND. entry_types accepts charge/payment/credit/ refund/adjustment. Amount bounds apply to the signed amount. Returns the matching transactions (newest first) and a count.

get_account_balanceA

Get the running balance for an account, or the whole ledger.

Omit account for the overall outstanding balance. as_of (YYYY-MM-DD) limits to transactions on or before that date.

sum_transactionsB

Sum a filtered set of transactions.

Returns net (signed total), outflow (charges) and inflow (payments/credits) magnitudes, and a count.

monthly_spendingC

Total spending (charges/expenses) per calendar month.

Optionally restrict to a year and/or category.

transactions_by_categoryC

Summarise activity per category, ordered by spending descending.

get_income_statementA

Accrual-basis income statement (profit & loss) for a period.

start/end are inclusive ISO dates; omit for all data.

get_balance_sheetC

Balance sheet (assets, liabilities, equity) as of a date.

list_accountsA

List the chart of accounts with each account's type.

get_lease_summaryA

Get the lease terms extracted from the tenant's lease.

Returns rent, deposit, term dates, due day, late-fee policy, recurring fees and parties — each with a confidence level and the source excerpt it was read from. Low-confidence values should be verified with get_lease_text.

get_lease_textA

Read the raw lease text, or only the lines matching query (with context).

Use this to answer questions the structured terms don't cover (pet rules, subletting, maintenance) or to verify an extracted value against the source.

check_rent_chargesB

Compare each month's rent charges in the ledger to the lease's monthly rent.

Flags months that are overcharged, undercharged or missing a rent charge.

find_unexpected_chargesA

Audit every ledger charge category against the lease.

Classifies each category as expected (rent/deposit/named fee), referenced (mentioned in the lease text), amount_mismatch, or unexpected (not found in the lease at all), and lists lease items never charged.

check_security_depositA

Compare the security deposit charged in the ledger to the lease deposit.

check_late_feesA

Compare late fees charged in the ledger to the lease late-fee policy.

lease_ledger_reportA

Full lease-vs-ledger cross-examination in one call.

Bundles the lease terms, rent check, charge audit, deposit and late-fee checks, plus a flags list of human-readable findings to relay to the user. Start here for open-ended questions like 'is my ledger consistent with my lease?'.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/luke-nielsen/ledger-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server