Skip to main content
Glama
makririch
by makririch

BuchPilot MCP Server

MCP Server for DACH accounting — manage contacts, invoices, vouchers, and quotes directly from Claude, Cursor, or any MCP-compatible client.

npm version License: MIT

What is this?

BuchPilot MCP is a Model Context Protocol server that connects your accounting system (currently Lexoffice) with AI assistants. You can create invoices, manage contacts, and check overdue payments using natural language — directly in Claude Desktop, Cursor, or any other MCP client.

Related MCP server: @centry-digital/bukku-mcp

Features

  • 15 tools for complete accounting automation

  • Contacts: create, retrieve, list, update

  • Invoices: create, retrieve, list, update, download PDF

  • Vouchers: create, retrieve, list (incoming invoices, credit notes)

  • Quotes: create, retrieve

  • Overdue invoices: with amounts and days overdue

  • Backend architecture — currently Lexoffice, extensible for sevDesk, Billomat, etc.

  • Plugin-ready — can integrate E-Invoice MCP tools (einvoice-mcp)

  • No database, no state — pure API proxy

Installation

Prerequisites

  • Node.js >= 18

  • A Lexoffice account with an API key

npm (global)

npm install -g buchpilot-mcp

From source

git clone https://github.com/makririch/buchpilot-mcp.git
cd buchpilot-mcp
npm install
npm run build

Configuration

Create a configuration file .buchpilot.json in one of the following locations:

  1. Path from environment variable BUCHPILOT_CONFIG

  2. ~/.buchpilot.json (home directory)

  3. ./.buchpilot.json (current directory)

Content of .buchpilot.json

{
  "backends": {
    "lexoffice": {
      "api_key": "DEIN_LEXOFFICE_API_KEY"
    }
  },
  "default_backend": "lexoffice"
}

Create Lexoffice API key

  1. Go to Lexoffice Public API

  2. Click on Create API key

  3. Copy the key and paste it into .buchpilot.json

Security note: Never store the API key in Git. Add .buchpilot.json to your .gitignore.

Usage

Start server (standalone)

# Nach npm install -g:
buchpilot-mcp

# Oder von Source:
npm start

# Entwicklung mit Auto-Reload:
npm run dev

The server runs via stdio and waits for MCP messages.

Use in Claude Desktop

See Claude Desktop Setup Guide for detailed instructions.

Quick version — add to claude_desktop_config.json:

{
  "mcpServers": {
    "buchpilot": {
      "command": "npx",
      "args": ["-y", "buchpilot-mcp"],
      "env": {
        "BUCHPILOT_CONFIG": "/Users/DEIN_NAME/.buchpilot.json"
      }
    }
  }
}

Examples (natural language in Claude)

After configuring the server, you can ask Claude, for example:

  • "Create a contact for the company Beispiel GmbH with the email info@beispiel.de"

  • "Show me all open invoices"

  • "Create an invoice for contact XYZ: 10 hours of consulting at 150 EUR each"

  • "Which invoices are overdue?"

  • "Download the PDF for invoice ABC"

  • "Create a quote for 5 licenses at 49 EUR/month"

Tool Reference

A full reference of all 15 tools with parameters, example inputs, and example outputs can be found in docs/tool-reference.md.

Quick Overview

Tool

Description

create_contact

Create a new contact (person or company)

get_contact

Retrieve contact by ID

list_contacts

List contacts with filters

update_contact

Update contact

create_invoice

Create a new invoice with line items

get_invoice

Retrieve invoice by ID

list_invoices

List invoices (filterable by status)

get_invoice_pdf

Download invoice as PDF (Base64)

update_invoice

Update draft invoice

create_voucher

Create a new voucher

get_voucher

Retrieve voucher by ID

list_vouchers

List vouchers

create_quotation

Create a new quote with line items

get_quotation

Retrieve quote by ID

get_overdue_invoices

Overdue invoices with analysis

E-Invoice Integration

BuchPilot MCP can optionally integrate the E-Invoice MCP package to generate XRechnung and ZUGFeRD directly from the accounting system:

// In deinem eigenen MCP-Server:
import { registerEInvoiceTools } from "einvoice-mcp";
registerEInvoiceTools(server);
// Ergebnis: 15 + 4 = 19 Tools

FAQ / Troubleshooting

"No .buchpilot.json found"

The server cannot find a configuration file. Create a .buchpilot.json in your home directory:

echo '{"backends":{"lexoffice":{"api_key":"DEIN_KEY"}},"default_backend":"lexoffice"}' > ~/.buchpilot.json

"401 Unauthorized" with Lexoffice

  • Is the API key correct in .dachflow.json?

  • Is the key still active? Check under Lexoffice Public API

  • API keys can expire — create a new one if necessary

"429 Too Many Requests"

Lexoffice allows a maximum of 2 requests per second. If you perform many operations in succession, wait a moment between requests.

Server starts, but Claude does not recognize the tools

  • Check if claude_desktop_config.json is correct

  • Restart Claude Desktop after configuration changes

  • Check the logs: ~/Library/Logs/Claude/mcp.log (macOS)

Invoice cannot be updated

Only invoices with the status draft can be updated. Finalized invoices are immutable.

Backend "sevDesk" not available

Currently, only Lexoffice is supported as a backend. sevDesk support is planned. You can use the n8n nodes (n8n-nodes-buchpilot) for sevDesk.

License

MIT — Free to use, including commercially.

Author

MaKriGitHub

Install Server
F
license - not found
B
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for German e-invoice compliance (XRechnung 3.0 & ZUGFeRD 2.x) enabling AI agents to validate, generate, parse, and check compliance of electronic invoices per EN 16931.
    6
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for the Elorus invoicing and accounting platform, enabling AI assistants to create invoices, manage contacts, and query financial data through natural language.
    43
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for Spanish accounting for freelancers and SMEs, enabling AI agents to issue invoices, OCR expense PDFs, reconcile bank transactions, and prepare quarterly VAT (Modelo 303).
    23
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.

  • AI-native ERP MCP: ES/EU fiscal compliance (VeriFactu/TicketBAI/Facturae), invoicing, tax, banking

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/makririch/buchpilot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server