Lexware

io.github.lazyantsPublished by GitHub account lazyantsv5.4.1Updated Nov 7, 2026

MCP server for the Lexware Office API — invoices, contacts, articles, and vouchers.

VerifiedSTDIODesktop onlyFinanceBusiness & Commerce

Overview

AI-generated overview

Local MCP server for the Lexware Office API that lets an assistant create and read invoices, quotations, contacts, articles and bookkeeping vouchers.

What you can do
  • Create and read sales documents such as invoices, credit notes, quotations, order confirmations, delivery notes and dunnings
  • Manage contacts and articles
  • Record bookkeeping vouchers and payments, and search across voucher types
  • Upload and download files and manage webhook subscriptions
  • Read a reference resource on API conventions, formatting rules and webhook guidance
When to use it
Useful when you want an assistant to draft or look up Lexware Office invoices, quotations and contacts, or to handle bookkeeping vouchers and payments, without switching to the Lexware web app. Split entry points let you load only one area to keep the tool list small.
Requirements
Node.js 20 or newer, run locally via npx. A Lexware Office API token, ideally stored in the OS keyring (service lexware-mcp, account api-token) or supplied through the LEXWARE_API_TOKEN environment variable. Network access to the Lexware Office API.
Before you install
Create, update, delete, upload and pursue tools change real business data in your Lexware account; a pursue tool creates a follow-up document. Set LEXWARE_READ_ONLY=true to block all changing tools. Keep the API token out of version control and prefer the keyring. Tool annotations are only hints, so rely on token permissions and client approval prompts. Unofficial community project, not affiliated with Lexware; test against a non-critical account first.

Installation

In SourceWeft

  1. Open Lexware in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

lexware-mcp-server

[Listed on AgentHub: lexware] [Tests]

MCP server for the Lexware Office API. Manage invoices, contacts, articles, vouchers, and more through the Model Context Protocol.

Unofficial community project — not affiliated with Lexware GmbH or Haufe Group. See the Disclaimer.

Requirements

Quick start

1. Store the token in the OS keyring

The server reads the token from the OS keyring first (service lexware-mcp, account api-token) and falls back to the LEXWARE_API_TOKEN environment variable. The keyring is recommended: your MCP config then holds no credentials.

The commands below prompt for the token, so it never lands in your shell history or the process list.

macOS:

bash
security add-generic-password -s "lexware-mcp" -a "api-token" -w

Linux (needs a Secret Service / libsecret):

bash
secret-tool store --label="Lexware Office API" service lexware-mcp username api-token

For Windows, headless machines, and the environment-variable fallback, see the configuration guide.

2. Add the server to your MCP client

json
{  "mcpServers": {    "lexware": {      "command": "npx",      "args": ["-y", "@lazyants/lexware-mcp-server"]    }  }}

Put this in your client's MCP configuration, for example claude_desktop_config.json for Claude Desktop. In Claude Code, run:

bash
claude mcp add --scope user lexware -- npx -y @lazyants/lexware-mcp-server

npx downloads and runs the package; no separate install is needed. Restart the client, and the Lexware tools appear in its tool list.

Entry points

The package provides a full server and smaller split servers that each cover one area. Use a split server to reduce context size or to stay under your MCP client's tool limit.

CommandCovers
lexware-mcp-serverEverything below
lexware-mcp-salesInvoices, Credit Notes, Quotations, Order Confirmations, Delivery Notes, Down Payment Invoices, Dunnings, Voucherlist
lexware-mcp-contactsContacts, Articles
lexware-mcp-bookkeepingVouchers, Voucherlist, Payments
lexware-mcp-referenceCountries, Payment Conditions, Posting Categories, Profile, Print Layouts
lexware-mcp-systemEvent Subscriptions, Files, Recurring Templates

Run a split server with npx -y -p @lazyants/lexware-mcp-server lexware-mcp-sales. The configuration guide has client examples for split servers and for several Lexware accounts.

What the tools do

Tool names follow lexware_<action>_<resource>, for example lexware_create_invoice or lexware_list_voucherlist. They create and read sales vouchers such as invoices and quotations, manage contacts and articles, record bookkeeping vouchers, search across voucher types, upload and download files, and manage webhook subscriptions. Your MCP client's tool list, with each tool's description and input schema, is the authoritative inventory.

Every entry point also serves a read-only MCP resource, reference://lexware/api, with API conventions, text formatting rules, and webhook guidance.

The usage guide explains the API caveats: finalizing at creation, voucher search filters, voucher updates, file uploads and downloads, and webhooks.

Security

  • Use the OS keyring and never commit your API token to version control.
  • Create, update, delete, upload, and pursue tools change real business data in your Lexware account. A pursue tool creates a follow-up document.
  • Set LEXWARE_READ_ONLY=true to make the server refuse every tool that changes data. See Read-only mode.
  • Without read-only mode, two things stop unintended changes: the permissions of your Lexware API token, which Lexware enforces, and your MCP client's approval prompts. Tool annotations such as readOnlyHint are hints for the client, not checks.
  • Split servers offer fewer tools, but most of them still include tools that change data. For a conservative setup, see Limit what the server can change.
  • Requests that hit the rate limit (HTTP 429) are retried automatically with exponential backoff.

To report a vulnerability, see SECURITY.md.

Documentation

  • Configuration — keyring setup for macOS, Windows, and Linux; environment variables; Claude Code and Claude Desktop; split servers and multiple accounts; limiting what the server can change.
  • Usage notes — API behavior and caveats.
  • Releasing — maintainer release procedure.
  • Changelog

Releasing

Maintainers: follow the release guide. Never create a release with a bare gh release create; the guide's guarded tag sequence explains why and prevents republishing an old version.

Disclaimer

This is an unofficial, independent community project. It is not affiliated with, endorsed by, sponsored by, or supported by Lexware GmbH, Haufe Group, or any of their affiliates. For official Lexware support, contact Lexware directly — issues with this MCP server should be reported here, not to Lexware.

"Lexware" and "Lexware Office" are trademarks of their respective owners and are used in this project's name and documentation under nominative fair use, solely to identify the third-party API this client connects to.

Create, update, and delete operations modify real business data in your Lexware account. The authors provide this software "as-is" and accept no responsibility for unintended changes, data loss, or any other damages arising from its use. Test against a sandbox or non-critical account before running write operations against production data.

License

FSL-1.1-MIT — see LICENSE for the full terms.

Source: README.md at commit 9a214cf

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

5
  1. v5.4.1LatestNov 7, 2026
  2. v5.4.0Oct 26, 2026
  3. v5.3.2Oct 23, 2026
  4. v5.3.0Oct 3, 2026
  5. v5.2.0Sep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.