io.github.lazyants/lexware

Official registry Finance and payments

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @lazyants/lexware-mcp-server
Claude Code
claude mcp add lexware -e 'LEXWARE_API_TOKEN=<your lexware_api_token>' -e 'LEXWARE_KEYRING_SERVICE=lexware-mcp' -e 'LEXWARE_READ_ONLY=<LEXWARE_READ_ONLY>' -- npx -y @lazyants/lexware-mcp-server@5.4.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "lexware": {
            "command": "npx",
            "args": [
                "-y",
                "@lazyants/lexware-mcp-server@5.4.0"
            ],
            "env": {
                "LEXWARE_API_TOKEN": "<your lexware_api_token>",
                "LEXWARE_KEYRING_SERVICE": "lexware-mcp",
                "LEXWARE_READ_ONLY": "<LEXWARE_READ_ONLY>"
            }
        }
    }
}

Environment variables

  • LEXWARE_API_TOKEN secret Lexware Office API token; required when no token is stored in the OS keyring.
  • LEXWARE_KEYRING_SERVICE OS keyring service containing the API token.
  • LEXWARE_READ_ONLY Set to true or 1 to block every tool that changes Lexware data; unset, empty, false or 0 leaves it off.

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. lexware-mcp-server
  2. Requirements
  3. Quick start
  4. Entry points
  5. What the tools do
  6. Security
  7. Documentation
  8. Releasing
  9. Disclaimer
  10. License

lexware-mcp-server

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:

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

Linux (needs a Secret Service / libsecret):

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
{
  "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:

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.
  • Use read-only access when you only need to list/get resources.
  • Create, update, and delete tools modify real business data in your Lexware account.
  • 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.
  • 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.

Frequently asked questions

What is io.github.lazyants/lexware?

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

How do I install io.github.lazyants/lexware?

It runs on your machine. In Claude Code: claude mcp add lexware -e 'LEXWARE_API_TOKEN=<your lexware_api_token>' -e 'LEXWARE_KEYRING_SERVICE=lexware-mcp' -e 'LEXWARE_READ_ONLY=<LEXWARE_READ_ONLY>' -- npx -y @lazyants/lexware-mcp-server@5.4.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.lazyants/lexware need an API key?

Yes. It expects LEXWARE_API_TOKEN, which you set in its configuration.

Is io.github.lazyants/lexware open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.lazyants/lexware?

It is published by lazyants. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.