buchpilot-mcp
BuchPilot MCP Server
MCP Server fuer DACH-Buchhaltung — Kontakte, Rechnungen, Belege und Angebote direkt aus Claude, Cursor oder jedem MCP-kompatiblen Client verwalten.
Was ist das?
BuchPilot MCP ist ein Model Context Protocol Server, der dein Buchhaltungssystem (aktuell Lexoffice) mit KI-Assistenten verbindet. Du kannst per natuerlicher Sprache Rechnungen erstellen, Kontakte verwalten und ueberfaellige Zahlungen pruefen — direkt in Claude Desktop, Cursor oder jedem anderen MCP-Client.
Related MCP server: @centry-digital/bukku-mcp
Features
15 Tools fuer vollstaendige Buchhaltungs-Automatisierung
Kontakte erstellen, abrufen, auflisten, aktualisieren
Rechnungen erstellen, abrufen, auflisten, aktualisieren, PDF herunterladen
Belege erstellen, abrufen, auflisten (Eingangsrechnungen, Gutschriften)
Angebote erstellen, abrufen
Ueberfaellige Rechnungen mit Betraegen und Tagen ueberfaellig
Backend-Architektur — aktuell Lexoffice, erweiterbar fuer sevDesk, Billomat etc.
Plugin-faehig — kann E-Invoice MCP Tools integrieren (
einvoice-mcp)Keine Datenbank, kein State — reiner API-Proxy
Installation
Voraussetzungen
Node.js >= 18
Ein Lexoffice-Account mit API-Key
npm (global)
npm install -g buchpilot-mcpVon Source
git clone https://github.com/makririch/buchpilot-mcp.git
cd buchpilot-mcp
npm install
npm run buildKonfiguration
Erstelle eine Konfigurationsdatei .buchpilot.json an einem der folgenden Orte:
Pfad aus Umgebungsvariable
BUCHPILOT_CONFIG~/.buchpilot.json(Home-Verzeichnis)./.buchpilot.json(aktuelles Verzeichnis)
Inhalt der .buchpilot.json
{
"backends": {
"lexoffice": {
"api_key": "DEIN_LEXOFFICE_API_KEY"
}
},
"default_backend": "lexoffice"
}Lexoffice API-Key erstellen
Gehe zu Lexoffice Public API
Klicke auf API-Key erstellen
Kopiere den Key und fuege ihn in
.buchpilot.jsonein
Sicherheitshinweis: Speichere den API-Key nie in Git. Fuege
.buchpilot.jsonzu deiner.gitignorehinzu.
Nutzung
Server starten (standalone)
# Nach npm install -g:
buchpilot-mcp
# Oder von Source:
npm start
# Entwicklung mit Auto-Reload:
npm run devDer Server laeuft ueber stdio und wartet auf MCP-Nachrichten.
In Claude Desktop verwenden
Siehe Claude Desktop Setup Guide fuer eine detaillierte Anleitung.
Kurzversion — fuege in claude_desktop_config.json hinzu:
{
"mcpServers": {
"buchpilot": {
"command": "npx",
"args": ["-y", "buchpilot-mcp"],
"env": {
"BUCHPILOT_CONFIG": "/Users/DEIN_NAME/.buchpilot.json"
}
}
}
}Beispiele (natuerliche Sprache in Claude)
Nachdem du den Server konfiguriert hast, kannst du Claude z.B. fragen:
"Erstelle einen Kontakt fuer die Firma Beispiel GmbH mit der E-Mail info@beispiel.de"
"Zeige mir alle offenen Rechnungen"
"Erstelle eine Rechnung an Kontakt XYZ: 10 Stunden Beratung zu je 150 EUR"
"Welche Rechnungen sind ueberfaellig?"
"Lade die PDF von Rechnung ABC herunter"
"Erstelle ein Angebot fuer 5 Lizenzen a 49 EUR/Monat"
Tool-Referenz
Eine vollstaendige Referenz aller 15 Tools mit Parametern, Beispiel-Inputs und Beispiel-Outputs findest du in docs/tool-reference.md.
Kurzuebersicht
Tool | Beschreibung |
| Neuen Kontakt anlegen (Person oder Firma) |
| Kontakt per ID abrufen |
| Kontakte auflisten mit Filtern |
| Kontakt aktualisieren |
| Neue Rechnung mit Positionen erstellen |
| Rechnung per ID abrufen |
| Rechnungen auflisten (nach Status filterbar) |
| Rechnung als PDF herunterladen (Base64) |
| Entwurfs-Rechnung aktualisieren |
| Neuen Beleg anlegen |
| Beleg per ID abrufen |
| Belege auflisten |
| Neues Angebot mit Positionen erstellen |
| Angebot per ID abrufen |
| Ueberfaellige Rechnungen mit Analyse |
E-Invoice Integration
BuchPilot MCP kann optional das E-Invoice MCP Paket integrieren, um XRechnung und ZUGFeRD direkt aus dem Buchhaltungssystem zu erzeugen:
// In deinem eigenen MCP-Server:
import { registerEInvoiceTools } from "einvoice-mcp";
registerEInvoiceTools(server);
// Ergebnis: 15 + 4 = 19 ToolsFAQ / Troubleshooting
"No .buchpilot.json found"
Der Server findet keine Konfigurationsdatei. Erstelle eine .buchpilot.json in deinem Home-Verzeichnis:
echo '{"backends":{"lexoffice":{"api_key":"DEIN_KEY"}},"default_backend":"lexoffice"}' > ~/.buchpilot.json"401 Unauthorized" bei Lexoffice
Ist der API-Key korrekt in
.dachflow.json?Ist der Key noch aktiv? Pruefe unter Lexoffice Public API
API-Keys koennen ablaufen — erstelle ggf. einen neuen
"429 Too Many Requests"
Lexoffice erlaubt max. 2 Requests pro Sekunde. Wenn du viele Operationen hintereinander ausfuehrst, warte kurz zwischen den Anfragen.
Server startet, aber Claude erkennt die Tools nicht
Pruefe ob die
claude_desktop_config.jsonkorrekt istStarte Claude Desktop neu nach Konfigurationsaenderungen
Pruefe die Logs:
~/Library/Logs/Claude/mcp.log(macOS)
Rechnung kann nicht aktualisiert werden
Nur Rechnungen im Status draft (Entwurf) koennen aktualisiert werden. Finalisierte Rechnungen sind unveraenderlich.
Backend "sevDesk" nicht verfuegbar
Aktuell wird nur Lexoffice als Backend unterstuetzt. sevDesk-Unterstuetzung ist geplant. Du kannst die n8n-Nodes (n8n-nodes-buchpilot) fuer sevDesk verwenden.
Lizenz
MIT — Frei nutzbar, auch kommerziell.
Autor
MaKri — GitHub
Available Tools
15 toolscreate_contactB
Erstellt einen neuen Kontakt (Person oder Firma) im Buchhaltungssystem. Creates a new contact (person or company).
Inputs: type (required), name (required), firstName, email, +2 more.
create_invoiceB
Erstellt eine neue Rechnung mit Positionen. Creates a new invoice with line items.
Inputs: contactId (required), date (required), lineItems (required), title, +5 more.
create_quotationB
Erstellt ein neues Angebot mit Positionen. Creates a new quotation with line items.
Inputs: contactId (required), date (required), lineItems (required), expirationDate, +5 more.
create_voucherC
Erstellt einen neuen Beleg (Eingangsrechnung, Gutschrift). Creates a new voucher (purchase invoice, credit note).
Inputs: type (required), date (required), totalGross (required), taxRate, +3 more.
get_contactC
Ruft einen Kontakt per ID ab. Gets a contact by ID.
Inputs: id (required), backend.
get_invoiceC
Ruft eine Rechnung per ID ab. Gets an invoice by ID.
Inputs: id (required), backend.
get_invoice_pdfA
Laedt eine Rechnung als PDF herunter (Base64-kodiert). Downloads an invoice as PDF (base64-encoded).
Inputs: id (required), backend.
get_overdue_invoicesC
Listet alle ueberfaelligen Rechnungen mit Betrag und Faelligkeitsdatum. Lists all overdue invoices with amount and due date.
Inputs: days_overdue, limit, backend.
get_quotationC
Ruft ein Angebot per ID ab. Gets a quotation by ID.
Inputs: id (required), backend.
get_voucherC
Ruft einen Beleg per ID ab. Gets a voucher by ID.
Inputs: id (required), backend.
list_contactsC
Listet Kontakte auf mit optionalen Filtern. Lists contacts with optional filters.
Inputs: name, email, role, limit, +1 more.
list_invoicesC
Listet Rechnungen auf. Kann nach Status filtern (draft, open, paid, overdue). Lists invoices with optional status filter.
Inputs: status, contactId, limit, backend.
list_vouchersB
Listet Belege auf mit optionalen Filtern. Lists vouchers with optional filters.
Inputs: type, limit, backend.
update_contactB
Aktualisiert einen bestehenden Kontakt. Updates an existing contact.
Inputs: id (required), name, firstName, email, +1 more.
update_invoiceB
Aktualisiert eine bestehende Rechnung (nur Entwuerfe). Updates a draft invoice.
Inputs: id (required), title, introduction, remark, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct resource (contact, invoice, quotation, voucher) with separate actions (create, get, list, update). No overlap in purpose.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_contact, get_invoice_pdf). No mixed conventions.
15 tools are appropriate for an accounting server covering contacts, invoices, quotations, and vouchers. Not too few or too many.
Core CRUD operations are present for contacts and invoices, with additional features like PDF download and overdue listing. However, missing updates for quotations and vouchers, and missing deletions for all resources are minor gaps.
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for ABRA Flexi — accounting, contacts, stock and draft-checked invoice creation.
sevdesk MCP server for ChatGPT, Claude and any AI agent: create invoice, send invoice, upload receipt, book voucher and list open invoices in your own sevdesk account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to sevdesk yourself; Cotlet does not store your password and you need no sevdesk API key. About the official sevdesk API: sevdesk has a REST API (checked 14 Oct 2026). It covers almost everything the web app does, but only on the Buchhaltung Pro plan, in Germany, on system version 2.0. Setup and FAQ: https://cotlet.dev/integrations/sevdesk-api-mcp-server
Create, send and track invoices from a conversation in Claude, ChatGPT or any MCP client that supports OAuth. Draft an invoice from one sentence or from last month's invoice for the same client, finalize it, email it to your client and send payment reminders for overdue ones. See revenue by month and by client, download PDFs and e-invoices (ZUGFeRD, XRechnung), and export DATEV packages for your tax advisor. Invoices follow the tax rules of 25 countries, including reverse charge and the small-business VAT exemption. New invoices are drafts, and nothing is emailed until you ask. Pay per invoice with no subscription: the first invoice is free.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP 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.61MIT
- AlicenseNot gradedqualityAmaintenanceMCP server enabling AI assistants to manage invoices, contacts, products, and other accounting data through the Bukku API.9MIT
- AlicenseAqualityBmaintenanceMCP server for the Elorus invoicing and accounting platform, enabling AI assistants to create invoices, manage contacts, and query financial data through natural language.435MIT
- AlicenseAqualityCmaintenanceMCP 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).234MIT