buchpilot-mcp
Servidor MCP BuchPilot
Servidor MCP para contabilidad en la región DACH: gestiona contactos, facturas, comprobantes y presupuestos directamente desde Claude, Cursor o cualquier cliente compatible con MCP.
¿Qué es esto?
BuchPilot MCP es un servidor del Model Context Protocol que conecta tu sistema contable (actualmente Lexoffice) con asistentes de IA. Puedes crear facturas, gestionar contactos y comprobar pagos vencidos mediante lenguaje natural, directamente en Claude Desktop, Cursor o cualquier otro cliente MCP.
Related MCP server: @centry-digital/bukku-mcp
Características
15 herramientas para una automatización contable completa
Contactos: crear, obtener, listar, actualizar
Facturas: crear, obtener, listar, actualizar, descargar PDF
Comprobantes: crear, obtener, listar (facturas recibidas, notas de crédito)
Presupuestos: crear, obtener
Facturas vencidas: con importes y días de retraso
Arquitectura backend: actualmente Lexoffice, ampliable para sevDesk, Billomat, etc.
Preparado para plugins: puede integrar herramientas MCP de factura electrónica (
einvoice-mcp)Sin base de datos, sin estado: un proxy de API puro
Instalación
Requisitos previos
Node.js >= 18
Una cuenta de Lexoffice con clave de API
npm (global)
npm install -g buchpilot-mcpDesde el código fuente
git clone https://github.com/makririch/buchpilot-mcp.git
cd buchpilot-mcp
npm install
npm run buildConfiguración
Crea un archivo de configuración .buchpilot.json en una de las siguientes ubicaciones:
Ruta desde la variable de entorno
BUCHPILOT_CONFIG~/.buchpilot.json(directorio home)./.buchpilot.json(directorio actual)
Contenido de .buchpilot.json
{
"backends": {
"lexoffice": {
"api_key": "DEIN_LEXOFFICE_API_KEY"
}
},
"default_backend": "lexoffice"
}Crear clave de API de Lexoffice
Ve a Lexoffice Public API
Haz clic en API-Key erstellen (Crear clave de API)
Copia la clave y pégala en
.buchpilot.json
Aviso de seguridad: Nunca guardes la clave de API en Git. Añade
.buchpilot.jsona tu.gitignore.
Uso
Iniciar el servidor (standalone)
# Nach npm install -g:
buchpilot-mcp
# Oder von Source:
npm start
# Entwicklung mit Auto-Reload:
npm run devEl servidor se ejecuta a través de stdio y espera mensajes MCP.
Uso en Claude Desktop
Consulta la Guía de configuración de Claude Desktop para obtener instrucciones detalladas.
Versión corta: añade esto a claude_desktop_config.json:
{
"mcpServers": {
"buchpilot": {
"command": "npx",
"args": ["-y", "buchpilot-mcp"],
"env": {
"BUCHPILOT_CONFIG": "/Users/DEIN_NAME/.buchpilot.json"
}
}
}
}Ejemplos (lenguaje natural en Claude)
Una vez configurado el servidor, puedes preguntar a Claude, por ejemplo:
"Crea un contacto para la empresa Beispiel GmbH con el correo electrónico info@beispiel.de"
"Muéstrame todas las facturas abiertas"
"Crea una factura para el contacto XYZ: 10 horas de consultoría a 150 EUR cada una"
"¿Qué facturas están vencidas?"
"Descarga el PDF de la factura ABC"
"Crea un presupuesto para 5 licencias a 49 EUR/mes"
Referencia de herramientas
Encontrarás una referencia completa de las 15 herramientas con parámetros, ejemplos de entrada y salida en docs/tool-reference.md.
Resumen rápido
Herramienta | Descripción |
| Crear un nuevo contacto (persona o empresa) |
| Obtener contacto por ID |
| Listar contactos con filtros |
| Actualizar contacto |
| Crear nueva factura con posiciones |
| Obtener factura por ID |
| Listar facturas (filtrable por estado) |
| Descargar factura como PDF (Base64) |
| Actualizar factura en borrador |
| Crear nuevo comprobante |
| Obtener comprobante por ID |
| Listar comprobantes |
| Crear nuevo presupuesto con posiciones |
| Obtener presupuesto por ID |
| Facturas vencidas con análisis |
Integración de factura electrónica
BuchPilot MCP puede integrar opcionalmente el paquete E-Invoice MCP para generar XRechnung y ZUGFeRD directamente desde el sistema contable:
// In deinem eigenen MCP-Server:
import { registerEInvoiceTools } from "einvoice-mcp";
registerEInvoiceTools(server);
// Ergebnis: 15 + 4 = 19 ToolsFAQ / Solución de problemas
"No .buchpilot.json found"
El servidor no encuentra el archivo de configuración. Crea un .buchpilot.json en tu directorio home:
echo '{"backends":{"lexoffice":{"api_key":"DEIN_KEY"}},"default_backend":"lexoffice"}' > ~/.buchpilot.json"401 Unauthorized" en Lexoffice
¿Es correcta la clave de API en
.buchpilot.json?¿Sigue activa la clave? Compruébalo en Lexoffice Public API
Las claves de API pueden caducar; si es necesario, crea una nueva.
"429 Too Many Requests"
Lexoffice permite un máximo de 2 solicitudes por segundo. Si realizas muchas operaciones seguidas, espera un poco entre solicitudes.
El servidor arranca, pero Claude no reconoce las herramientas
Comprueba si el archivo
claude_desktop_config.jsones correctoReinicia Claude Desktop después de realizar cambios en la configuración
Revisa los registros:
~/Library/Logs/Claude/mcp.log(macOS)
No se puede actualizar la factura
Solo se pueden actualizar las facturas en estado draft (borrador). Las facturas finalizadas son inmutables.
Backend "sevDesk" no disponible
Actualmente solo se admite Lexoffice como backend. La compatibilidad con sevDesk está planificada. Puedes usar los nodos de n8n (n8n-nodes-buchpilot) para sevDesk.
Licencia
MIT: de uso libre, incluso comercial.
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