# GnuCash MCP Server

> Manage a local GnuCash book through AI conversations.

- **URL**: https://followmcp.com/en/servers/gnucash-mcp
- **Category**: Other
- **Origin**: Community
- **Stars**: 91
- **FMRS Score**: 54/100 (Grade D)
- **Source**: https://github.com/ninetails-io/gnucash-mcp

- **Runtimes**: Python
- **Auth**: No credential needed

## Overview
GnuCash MCP Server lets MCP-compatible AI assistants read and write GnuCash accounting data through a server running on your machine. It supports information such as accounts, balances, transactions, budgets, scheduled transactions, investments, invoices, and receivables and payables, and can also record and modify book data. The book file stays on your machine, while the AI assistant sees tool call results. The server supports SQLite books and can also connect to PostgreSQL or MySQL/MariaDB databases.

## Best for
- Individuals who use GnuCash and want an MCP-compatible AI assistant to query or maintain their books.
- Small business owners and freelancers who use GnuCash for bookkeeping, invoicing, and cash-flow tracking.
- Users who want the book file to remain local and are comfortable with the AI assistant seeing returned financial information.

## Not for
- Users with XML-format books who do not want to convert them to SQLite.
- Users who need the server to write cross-currency or commodity transactions in books with GnuCash trading accounts enabled.
- Users who need to edit the same book simultaneously in the GnuCash desktop app and through the server.
- Users who require book contents to remain unseen by the AI assistant.

## Required permissions
- The server needs to read the local GnuCash book and, depending on the tool call, write book data.
- The AI assistant can see tool call results such as balances, payees, and invoices.
- Database books require connection details; database mode also requires a log directory.

## Risks
- Writes change financial records. Although the server provides an audit log and automatic backups for file-based books, review results and keep your own backups.
- Do not edit the same book in GnuCash Desktop and through the server at the same time; the server does not hold its own persistent lock.
- Reconciled splits are protected, but explicit overrides or deletion operations can still affect the book.
- The server does not automatically back up database books, so arrange separate database backups.
- Writes to cross-currency or commodity transactions are refused when GnuCash trading accounts are enabled.
