# ninetails-io/gnucash-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ninetails-io/gnucash-mcp  
**GitHub Stars:** 91  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ninetails-io-gnucash-mcp

## Description
Full double-entry accounting on local GnuCash books: transactions (single and batch), invoices and bills, budgets, investment lots, scheduled transactions, reconciliation, and reports. Modular tool loading — role presets (bookkeeper, investor, freelancer, business) expose just the surface you need, from a 29-tool core up to 87 in all. Multi-currency and multi-book aware, with a plain-text audit trail of every write. Data never leaves your machine. Try it before installing: the browser sandbox opens three populated sample books (USD, CNY, EUR) with nothing to set up; when it clicks, clone and run with uv.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "gnucash-mcp": {
    "command": "uvx",
    "args": ["gnucash-mcp"],
    "env": {
      "GNUCASH_BOOK_PATH": ""
    }
  }
}
```

**Requires environment variables:** `GNUCASH_BOOK_PATH` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/ninetails-io-gnucash-mcp/readme_

