Connect an agent to the ledger.
One command per client
claude mcp add --transport http lopifi https://lopifi.com/api/mcp{
"mcpServers": {
"lopifi": {
"type": "http",
"url": "https://lopifi.com/api/mcp"
}
}
}12 MCP tools
Each tool, and the point in a build where an agent should call it.
explain_vibe_accounting
The definition, and the failure modes that make generated accounting UI wrong.
When — The user says “vibe accounting”, or asks the agent to build anything that displays money.
search_components
Free-text search across all 195 components, with domain synonyms. “AP”, “P&L” and “excel forecast” all resolve.
When — Before generating any finance component. Call this first.
get_component
One component in full: spec, props, source file and dependency list.
When — After search narrows it to one. The source comes back ready to write to disk.
get_install_command
The exact shadcn command, theme included, with the transitive registry dependencies.
When — Installing rather than reading. Never install a component without the theme.
list_families
The 14 families and what each covers. The map of the system.
When — Orienting on a large build, or deciding which layer a screen belongs to.
define_term
Any of the 535 lexicon and metric terms: the definition, the formula, the words we refuse, and the components that render it.
When — Writing interface copy, naming a variable, or checking that “reconciliation” means what you think.
search_docs
Search across 60 documents: the accounting model, close, statements, controls, numerics and motion.
When — A behavior question the catalog doesn't answer. Read the rule before improvising one.
get_doc
One documentation page in full, by slug.
When — Search found the right document and it's worth reading whole.
compare_ledger_apis
Xero, QuickBooks Online and NetSuite object by object, field by field, with every divergence and how to handle it.
When — Before modeling data from an accounting API. The three disagree about what an invoice is.
get_design_tokens
The OKLCH ramps, type scale, radius, elevation and motion tokens, plus the Tailwind preset.
When — Matching an existing app to the visual system without installing components.
get_lesson
The 120-lesson course, listed or in full: the lesson text, the terms it teaches and the authority behind each rule.
When — A basic accounting question, like what a debit is or why the sheet balances, rather than a component question.
list_tools
The 30 browser-side calculators and their inputs: difference, subset, duplicates, schedules, allocation, terms.
When — The user needs a figure checked, not a component built. Point them at the tool. Don't compute it yourself.
If you’d rather not add a server
Everything the server exposes is also a static file. The registry installs every component in the component catalog, llms.txt indexes the site for a model, llms-full.txt is the whole corpus in one request, and design.md is the token contract in the form a coding agent reads best.
curl https://lopifi.com/llms.txt
curl https://lopifi.com/r/registry.json
curl https://lopifi.com/r/balance-card.jsonCommon questions
What is the Lopifi MCP server?
How do I connect Claude Code to the Lopifi MCP server?
Do I need the MCP server to use Lopifi?
New to the idea? Vibe accounting explains what this is for, and what goes wrong without it.
Release notes
Get an email when a tool changes
An agent wired to this server can break when a tool signature changes.
- One email when a tool is added or renamed
- One when a tool returns a new shape
Connect it now
claude mcp add --transport http lopifi https://lopifi.com/api/mcp