accounting-starter
Reads Gmail financial messages through Composio's Gmail read tools to identify invoices, receipts, expenses, and incoming payments, then proposes bookkeeping entries for review before writing them to the local ledger.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Ledger Starter for Hermes
A local-first bookkeeping package you can install through your existing Hermes agent.
Connect your own Gmail through Composio, let Hermes review financial evidence, and keep invoices, expenses, incoming payments and source records in your own SQLite database. A read-only dashboard makes the results easy to inspect. No Discord account required. No creator's real books or private policies included.
Release status: working starter, not audited accounting software. Local installation, MCP and tests can be verified without email credentials. Live Composio OAuth must be validated with your own account before unattended use.

What's included
Local dashboard: overview by currency, invoices, expenses, incoming payments, clients, review queue, document metadata and audit history.
Typed Hermes MCP tools for ledger writes, payment allocation and review.
Exact integer minor-unit storage; original currencies kept separate.
Source IDs and conflict checks for repeat-safe ingestion; ambiguous items go to review rather than guessed totals.
Separate empty live ledger and explicitly fictional demo database.
Gmail through Composio's hosted MCP server: sign in, no API key.
Generic Hermes bookkeeping skill and hourly/daily scan job templates.
Installer, copy-paste agent prompt, security guide, VPS instructions, locked dependencies and tests.
Related MCP server: ledgerkit-mcp
Start with one prompt
Paste this into a working Hermes agent:
Set up my bookkeeping system. I trust this repository, so do not audit its code or search the web. After the command below finishes, do exactly what ~/apps/hermes-accounting-starter/SETUP.md says, in order, and nothing else, and do not offer me alternatives or extra options. Run this command exactly as written, now: git clone https://github.com/techwithtim/hermes-accounting-starter ~/apps/hermes-accounting-starter 2>/dev/null || git -C ~/apps/hermes-accounting-starter pull --ff-only; cd ~/apps/hermes-accounting-starter && python3 scripts/install.pyOne install command adds the ledger, the tools and an Accounting tab to your Hermes dashboard (same address and login). Then you:
Open your dashboard address with
/api/dashboard/plugins/rescanadded to the end once, then refresh, so the Accounting tab appears.Sign in to Composio: click Authorize on the
composioMCP server in the Hermes dashboard. No API key.Click the Gmail link Hermes gives you and approve Google's screen.
Hermes then scans recent mail and shows what it found before booking anything.
About Gmail access: Google's consent screen asks for full mailbox access,
because that is what Composio's shared Google app requests. Hermes reads mail
through Composio's MCP server, and the accounting-starter skill allows only
four Gmail read tools. That is an instruction to the agent, not a technical
block, so treat email content as untrusted. See the Composio guide.
Existing Hermes model access,
terminal access and package-download connectivity are prerequisites. Composio
and LLM usage are subject to their respective plans/charges.
Connect your email
Create a free Composio account at https://composio.dev. That gives you a workspace; skip this if you already have one.
In the Hermes dashboard, open MCP servers, find composio, click Authorize and sign in with that account.
Connect Gmail: in a new chat, tell Hermes "Connect my Gmail" and open the link it gives you (or connect the Gmail app from your Composio dashboard).
From then on Hermes reads invoices, receipts and payment emails and books them in the Accounting tab. You can also just ask it in chat, for example "Create an invoice for Acme for $2,000".
Manual install
Linux, Python 3.11+, uv, Git, and a configured Hermes agent. Clone this repository into its own directory, then from that checkout:
python3 scripts/install.py --dry-run
python3 scripts/install.pyThe installer installs locked dependencies, creates an empty live ledger,
registers a new accounting-starter MCP server using Hermes's native CLI, and
installs its skill into the active HERMES_HOME. It refuses a conflicting MCP
registration/customized skill. Existing unrelated configuration is preserved.
Start a new Hermes session to use the new tools.
Use --skip-hermes for a standalone local demo. Use --data-dir /private/path
to select private external storage. Do not put financial data in this checkout.
No existing books are imported and no mail is read during installation.
See the demo
uv run accounting-starter --demo demo
uv run accounting-starter --demo serve --port 8765Open http://127.0.0.1:8765. For your live ledger, omit --demo.
The global --data-dir and --demo options must precede the command.
Demo and live use separate files; seeding demo never populates live books.
On a Hermes server, use the Accounting tab in the Hermes dashboard instead (same address and login). For the standalone server on a remote machine, use an SSH tunnel, not a public unauthenticated URL. See deployment and service instructions.
Connect and automate
Sign Hermes in to Composio (
hermes mcp login composio, or Authorize in the dashboard) and connect Gmail; see COMPOSIO.md.Ask Hermes to load the
accounting-starterskill and run a review-first scan.Confirm the classification policy and enable the supplied hourly capture/daily review jobs.
Verify a real completed scan before calling automation operational.
Suggested chat requests:
“Show unpaid invoices and unallocated incoming payments.”
“Review recent Gmail financial messages; show proposals before booking.”
“Record this confirmed expense with the original source and currency.”
“Which items still need evidence or human review?”
What it is not
This is not a full double-entry/tax ledger, bank reconciliation engine, invoice-sending system or multi-tenant hosted product. Expenses are evidence records, not a separate bank cash-out journal. Document links are metadata, not automatic cloud backup. Attachments can be retrieved, but scanned-PDF OCR is not bundled. Hermes must read/parse evidence before booking; unreadable attachments remain review items. Gmail is the first supported provider; Outlook is not implemented here.
No automated classifier can guarantee correct financial decisions. Source-ID deduplication does not alone detect different emails about the same economic event. Review, reconciliation and accountant sign-off still matter.
Development
uv sync --frozen --extra dev
uv run --extra dev pytest -q
uv buildDependency versions are locked in uv.lock; Composio is additionally pinned
because its auth response contracts are part of our security checks.
Tests use synthetic fixtures, not real mailbox data. Never commit databases,
credentials, runtime outputs or real financial records. Read
SECURITY.md and AGENTS.md before modifying.
MIT licensed. Not affiliated with or endorsed by Composio, Google or a hosting provider. The recipient owns their accounts, credentials and private data.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Personal finance ledger for AI agents — query spending, track bills, forecast cash flow.
Log, query, and edit expenses, budgets, and accounts in Manilo (formerly Ledgy) from any MCP-compatible AI assistant.
Receipt ingestion, Gmail capture, expense analysis, and reviewed reports for AI-agent workflows.
Your accounting ledger as typed tools: net worth, holdings, history, tax estimates, trade logging.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI agents to manage personal finances with deterministic, grounded tools for cash-flow projection, drift detection, reconciliation, and Todoist integration. All figures trace back to a local SQLite database.55MIT
- AlicenseAqualityDmaintenanceEnables AI agents to interact with a double-entry ledger, offering tools for account management, balanced journal entries, balance queries, trial balance, and penny-perfect allocation. Built with safety by construction: no update/delete tools, idempotent posting, and an append-only journal.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read, write, and audit personal finance data over a single SQLite file, covering transactions, receipts (including receipt photos as image blocks), budgets, categories, and line-item price tracking. Every write is an idempotent, soft-deleted, audited upsert so agents can safely transcribe and organize spending.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to operate a self-hosted double-entry personal finance ledger: answering spending, net-worth and cash-flow forecast questions, searching transactions, and managing schedules, rules and imports through audited, reversible tools. Read and write access is scoped by token, with privacy controls over what financial details reach the agent.1AGPL 3.0