MCP servers · Accounting
Lexware Office MCP server: connect AI agents to lexoffice from the EU
Lexware Office, known as lexoffice until its rename, has no MCP server of its own. The open-source Lexware Office MCP server covers its public API with just two tools and blocks writes unless you allow them. inference.eu agents use it with your Lexware API key to answer questions about invoices, vouchers and contacts.
- 01Authentication: API key
- 02Community server
- 03EU data centres
What agents can do with it
- 1
Search the API catalogue
`search` runs a small sandboxed script against a curated catalogue of the Lexware Office API, so the agent finds the right endpoint and fields for contacts, sales documents, vouchers, payments or files.
- 2
Execute API workflows
`execute` runs a sandboxed script with one capability, `lexware.request`, for relative `/v1/...` calls, so a single tool call can page through results, aggregate totals and build a multi-step report.
- 3
Guarded writes and uploads
With `LEXWARE_OFFICE_ALLOW_WRITES=true` the agent can create contacts, draft sales documents, upload receipt files and manage webhooks. `LEXWARE_OFFICE_READ_ONLY=true` blocks all of this, whatever else is set.
What Lexware Office and this MCP server are
Lexware Office is the cloud accounting product of Haufe-Lexware in Freiburg, Germany, used by small businesses and freelancers for quotes, invoices, receipts and bookkeeping. It was called lexoffice until its rename and offers a public REST API, but no MCP server.
The community server JannikWempe/mcp-lexware-office covers that API in Code Mode. Instead of dozens of endpoint tools, it offers search and execute, which run sandboxed JavaScript against the API. This keeps the tool list short while still covering pagination, aggregation and reports. It is MIT licensed and runs as a stdio process.
What agents can do with Lexware Office
A typical request is a receivables overview: the agent pages through all open invoices, groups them by customer and age, and writes a short list for the weekly finance meeting. Another is month-end preparation: compare vouchers with bank payments from another connector and list receipts that are still missing.
With writes allowed, an agent can create a new customer contact from an email signature, prepare a quotation as a draft, or upload a receipt PDF so it is ready for booking in Lexware Office.
Setup and authentication
Create an API key in Lexware Office under the public API add-on at app.lexoffice.de/addons/public-api. On inference.eu, add the Lexware Office connector to an agent and paste the key; it is stored encrypted in the EU and never shown again in full.
Keep LEXWARE_OFFICE_READ_ONLY=true at first. The key carries the rights of the account that created it, so read-only is the safest start. When you need drafts or uploads, set LEXWARE_OFFICE_ALLOW_WRITES=true and remove the read-only flag.
Data protection and where the data goes
The server sends requests straight to the Lexware Office API, so your accounting data goes to Haufe-Lexware, a German company, just as it does when you use the web app. No extra service sits between the agent and Lexware.
On inference.eu the model reads the results in EU data centres, and your API key is stored encrypted in the EU. Invoices and contacts include personal data of customers, so check that your agreement with Haufe-Lexware covers processing through an API integration.
Approvals and safe use
Read-only is the default, and the server's scripts run in a sandbox that can only call relative Lexware API paths. Finalised invoices cannot be changed afterwards under German bookkeeping rules, so keep agents to drafts.
On inference.eu you can require a person to approve each execute call that writes, such as creating a contact or uploading a file, before it runs. Pair this with the server's audit logs, so you can see which requests the agent sent and why.
Lexware Office (lexoffice): common questions
The questions buyers, developers and legal teams ask us most. Something missing? Ask us directly.
Related
- sevdeskConnect inference.eu agents to sevdesk through an open-source MCP server. Audit VAT, reconcile bank payments and draft invoices, read-only by default.Accounting
- DATEVConnect inference.eu agents to DATEV through an MCP server. Read postings, clients and documents, and prepare uncommitted booking batches for review.Accounting
- QontoConnect inference.eu agents to the official Qonto MCP server. Read transactions and invoices, issue client invoices and manage cards, within Qonto's approvals.Banking and payments
Move your AI workloads to EU infrastructure
Tell us which models you use and roughly how much traffic you have. We reply within one working day with pricing and next steps.
- Reply within one working day
- Pricing for your volume
- DPA ready to sign