lexoffice-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
lexoffice-mcp
MCP server (built with FastMCP) for creating invoices in Lexware Office (formerly lexoffice).
Tools
Tool | Purpose |
| Creates an invoice. Drafts by default; |
| Looks up customers by name, email or customer number to reference them via |
| Returns the full invoice (line items, totals, status). |
create_invoice supports one-time addresses or existing contacts, custom, service, material and text
line items, net, gross and vat-free tax types, performance dates and periods, payment terms with early
payment discount, and title, introduction and remark texts. It returns the invoice id, number, status,
totals and deep links into Lexware.
The client respects the Lexware limit of 2 requests per second and retries 429 responses. Other errors
are not retried, so a failing request never creates duplicate invoices.
Related MCP server: sevdesk MCP Server
Example
Ask Claude something like:
Create a draft invoice for Bike & Ride GmbH, Musterstraße 42, 79112 Freiburg, Germany: 8 hours of consulting at 120 EUR net with 19% VAT, payable within 14 days.
Claude calls create_invoice with a payload such as:
{
"invoice": {
"address": { "name": "Bike & Ride GmbH", "street": "Musterstraße 42", "zip": "79112", "city": "Freiburg", "country_code": "DE" },
"line_items": [
{ "name": "Consulting", "quantity": 8, "unit_name": "Stunde", "unit_price": 120, "tax_rate_percentage": 19 }
],
"payment_conditions": { "payment_term_label": "Zahlbar innerhalb von 14 Tagen", "payment_term_duration": 14 }
}
}and gets back the invoice number, totals and a link to open the draft in Lexware.
Setup
Create an API key at https://app.lexware.de/addons/public-api.
Clone this repository. No install step is needed:
uv run --withresolves the dependencies (fastmcp,httpx) on the fly when the server starts.
Run the server manually to check it starts:
LEXWARE_API_KEY=your-api-key uv run --with "fastmcp>=4" --with httpx /absolute/path/to/lexoffice_mcp/main.pyInstall into Claude Code
claude mcp add lexware --scope user \
-e LEXWARE_API_KEY=your-api-key \
-- uv run --with "fastmcp>=4" --with httpx /absolute/path/to/lexoffice_mcp/main.pyCheck the connection with claude mcp list or /mcp inside Claude Code. The key is stored in plain text in
your Claude Code configuration, so use a key dedicated to this integration and revoke it when no longer needed.
Install into Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"lexware": {
"command": "uv",
"args": ["run", "--with", "fastmcp>=4", "--with", "httpx", "/absolute/path/to/lexoffice_mcp/main.py"],
"env": { "LEXWARE_API_KEY": "your-api-key" }
}
}
}Configuration
Variable | Default | Description |
| required | Lexware public API key. |
|
| API gateway. |
|
| Used for invoice deep links. |
Development
uv sync
uv run pytestTests run the server in memory against a mocked Lexware API, so no API key is needed.
License
MIT, see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read Lexware Office contacts, articles, invoices and vouchers; create contacts and draft invoices.
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.
Create EU-compliant invoices, manage clients and download PDFs from your AI assistant.
Create invoices from your AI assistant in 6 languages and 10 currencies, ready for WhatsApp.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables the generation of professional PDF invoices and their distribution via email using customizable templates. It allows users to create, manage, and send invoices with standard business fields like tax rates and line items through natural language.37 npm2MIT
- AlicenseBqualityCmaintenanceEnables integration with sevdesk accounting software for managing contacts, invoices, vouchers, bank accounts, and articles through natural language.3436MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create and manage e-invoices through natural language, supporting EU compliance formats like ZUGFeRD and XRechnung, as well as US plain PDF invoices.7-
- AlicenseAqualityDmaintenanceEnables MCP-capable assistants to query and manage Lexware Office contacts, sales documents, vouchers, files, payments, webhooks, and reference data via the Lexware Office public API. Adds bank reconciliation tools for matching bank statement CSVs against Lexware vouchers or scanned receipt PDFs.4MIT