Skip to main content
Glama
themusashimaru

ledgerkit-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEDGER_FILENoPath to the append-only journal file. If not set, the ledger runs in-memory (not persistent).
LEDGER_CURRENCYNoThe currency code for the ledger. Defaults to USD. Can be 'EUR', 'JPY', or a custom code with decimals like 'CODE:2'.USD

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
open_accountA

Open a ledger account. Every account posts in the ledger currency. Accounts may not go negative unless allow_negative is set: overdraft is a policy you opt into, not an accident.

post_entryA

Post a balanced journal entry: total debits must equal total credits across at least two legs. This is the ONLY way to change a balance. Corrections are reversal entries, never edits. If you are retrying a call that may already have gone through, reuse the SAME idempotency_key: you will get the original entry back with replayed=true instead of posting twice.

get_balanceA

Current signed normal balance of one account (asset/expense: debit-positive; liability/equity/income: credit-positive). Pass as_of for the balance at a past moment, recomputed from the journal.

list_accountsA

Every account with its type, overdraft policy, and current balance.

list_entriesA

Journal entries, newest first, paginated. Use before_seq from the previous page to walk further back instead of asking for everything: the journal is append-only and can be long.

trial_balanceA

Every account's balance plus the proof the books balance: total debits and total credits across the whole journal, always equal.

allocateA

Split an amount by integer ratios without losing a minor unit (largest-remainder method). allocate("100.00", [1,1,1]) is ["33.34","33.33","33.33"]: the parts sum to EXACTLY the original. Use this for commission splits, installments, and tax apportionment instead of doing division yourself.

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/themusashimaru/ledgerkit-mcp'

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