Gnucash MCP logo

Gnucash MCP

by ninetails-io

Local GnuCash accounting over MCP, with transactions, invoices, budgets, investments, reports, and modular tool sets.

Install Gnucash MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ninetails-io-gnucash-mcp": {
      "command": "uvx",
      "args": [
        "gnucash-mcp"
      ],
      "env": {
        "GNUCASH_BOOK_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env GNUCASH_BOOK_PATH=YOUR_VALUE_HERE --transport stdio ninetails-io-gnucash-mcp -- uvx gnucash-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx gnucash-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The ninetails-io/gnucash-mcp MCP server connects an AI assistant to local GnuCash books for reading and writing accounting data. It supports transactions, invoices, bills, budgets, investments, scheduled transactions, reconciliation, reports, multiple currencies, and multiple books. Tool modules can be selected by role, from a 29-tool core to the complete 87-tool surface. Reach for it when accounting data must remain on the local machine and the source of truth is a GnuCash SQLite book.

Use cases

  • Record personal transactions through an AI assistant
  • Review budget pacing and monthly cash flow
  • Issue customer invoices and track receivables
  • Reconcile local GnuCash accounts
  • Track investments across currencies

Key features

  • Single and batch transaction management
  • Invoices, bills, and business bookkeeping
  • Budgets and scheduled transactions
  • Investment lot tracking
  • Multi-currency and multi-book support
  • Role-based modular tool loading

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

23/23 checks healthy over the last 76d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · gnucash-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars91Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How Gnucash MCP works

What ninetails-io/gnucash-mcp MCP server does

The ninetails-io/gnucash-mcp MCP server lets an MCP-compatible AI assistant work with local GnuCash books. It can read financial information and write changes to the book, while keeping the GnuCash file and its audit log on the same machine. The project is intended for personal finance, freelance work, and small-business bookkeeping.

Supported accounting areas include single and batch transactions, customer invoices, vendor bills, budgets, investment lots, scheduled transactions, reconciliation, and reports. The server also handles multi-currency and multi-book use cases. A dashboard-style orientation view can expose account balances, net-worth history, monthly net results, budget pacing, receivables, scheduled items, and reconciliation status from a populated book.

How it works

The ninetails-io/gnucash-mcp MCP server runs locally and communicates with an AI client through MCP. Writes are recorded in a plain-text audit trail, and the server creates backups alongside the book file.

Tool loading is modular. Role-oriented presets are available for bookkeepers, investors, freelancers, and businesses, while the core configuration exposes 29 tools and the full configuration exposes up to 87. The README’s example uses --modules=all to load the complete set.

Three fictional sample books are included for evaluation: a USD personal-and-freelance book, a CNY cross-border business book, and a EUR German freelancer book using an SKR03 chart. They are snapshots rather than continuously updated ledgers, so stale prices and accumulated scheduled transactions may appear.

Setup and configuration

Claude Desktop users can install the release .mcpb bundle and select GnuCash books through its installer. The installer also offers the sample books and an optional business suite for customer invoices, vendor bills, and employee expenses. Books must use SQLite format; older XML books require conversion first.

For a manual installation, clone the repository and install it with uv tool install -e ./gnucash-mcp. Configure the MCP client with the full path to the installed gnucash-mcp command and set GNUCASH_BOOK_PATH to the book file. The documented Claude Desktop example passes --modules=all; restart Claude Desktop after changing its configuration. A copied sample book is recommended because logs and backups are written beside the file.

Tools and capabilities

The available surface covers:

  • Reading and creating individual or batch transactions
  • Managing invoices, bills, customers, vendors, and employee expenses when the business suite is enabled
  • Working with budgets and recurring scheduled transactions
  • Tracking investment lots
  • Handling reconciliation and financial reports
  • Using multiple currencies and switching among multiple books
  • Selecting a smaller role-based module set instead of loading every tool

Limitations and notes

The server requires GnuCash, or willingness to install it, and an MCP-compatible AI assistant. The documented book configuration uses SQLite files. Sample books are synthetic and frozen; they are suitable for trying the workflow but are not live financial records. Rebuilding samples requires running the deterministic generator scripts in order. Because the server writes audit logs and backups beside the configured book, protect that directory and use a working copy when experimenting.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gnucash MCP

ninetails-io/gnucash-mcp is an MCP server that connects AI assistants to local GnuCash SQLite books. Its main tools cover transactions, invoices, bills, budgets, investment lots, scheduled transactions, reconciliation, and reports. It supports multiple currencies and books while keeping book data and audit logs on the local machine.

Install it either with the Claude Desktop .mcpb release bundle or by cloning the repository and running `uv tool install -e ./gnucash-mcp`. Manual clients need the installed command in their MCP configuration and the `GNUCASH_BOOK_PATH` variable set to a GnuCash SQLite file.

No, the documented setup requires SQLite-format GnuCash books. Convert an older XML book to SQLite before configuring the server. The Claude Desktop installer asks you to select the compatible book files.

Yes, it supports Claude Desktop through either the downloadable `.mcpb` bundle or a manual MCP configuration. The README also names Claude Code and Continue.dev as compatible MCP clients.

Choose a role-based module preset instead of `--modules=all`. Presets are provided for bookkeepers, investors, freelancers, and businesses, with configurations ranging from a 29-tool core to the full 87-tool surface.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGnucash MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ninetails-io-gnucash-mcp?style=directory)](https://allmcps.com/mcp/ninetails-io-gnucash-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ninetails-io-gnucash-mcp"><img src="https://allmcps.com/api/badge/ninetails-io-gnucash-mcp?style=directory" alt="Gnucash MCP on AllMCPs" /></a>