buchpilot-mcp
Can be used with n8n-nodes-buchpilot for sevDesk backend support, extending accounting automation capabilities beyond the current Lexoffice integration.
BuchPilot MCP Server
MCP Server for DACH accounting — manage contacts, invoices, vouchers, and quotes directly from Claude, Cursor, or any MCP-compatible client.
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-mcpFrom source
git clone https://github.com/makririch/buchpilot-mcp.git
cd buchpilot-mcp
npm install
npm run buildConfiguration
Create a configuration file .buchpilot.json in one of the following locations:
Path from environment variable
BUCHPILOT_CONFIG~/.buchpilot.json(home directory)./.buchpilot.json(current directory)
Content of .buchpilot.json
{
"backends": {
"lexoffice": {
"api_key": "DEIN_LEXOFFICE_API_KEY"
}
},
"default_backend": "lexoffice"
}Create Lexoffice API key
Go to Lexoffice Public API
Click on Create API key
Copy the key and paste it into
.buchpilot.json
Security note: Never store the API key in Git. Add
.buchpilot.jsonto your.gitignore.
Usage
Start server (standalone)
# Nach npm install -g:
buchpilot-mcp
# Oder von Source:
npm start
# Entwicklung mit Auto-Reload:
npm run devThe 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 a new contact (person or company) |
| Retrieve contact by ID |
| List contacts with filters |
| Update contact |
| Create a new invoice with line items |
| Retrieve invoice by ID |
| List invoices (filterable by status) |
| Download invoice as PDF (Base64) |
| Update draft invoice |
| Create a new voucher |
| Retrieve voucher by ID |
| List vouchers |
| Create a new quote with line items |
| Retrieve quote by ID |
| 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 ToolsFAQ / 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.jsonis correctRestart 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
MaKri — GitHub
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
- 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 gradedqualityDmaintenanceMCP server enabling AI assistants to manage invoices, contacts, products, and other accounting data through the Bukku API.4MIT
- AlicenseAqualityBmaintenanceMCP server for the Elorus invoicing and accounting platform, enabling AI assistants to create invoices, manage contacts, and query financial data through natural language.432MIT
- AlicenseAqualityAmaintenanceMCP 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).23MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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