# lexware

Connects an agent to the Lexware Office API for invoices, contacts, articles, and vouchers. Useful when business records need to be handled from an AI client.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8
- Author: lazyants
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lazyants/lexware-mcp-server
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/lexware

## What it does

lexware exposes MCP tools for reading and creating invoices, quotations, and other sales documents. It can manage contacts and articles, record bookkeeping vouchers, search voucher types, transfer files, and handle webhook subscriptions.

The server runs through `npx`. You can use the full entry point or choose a smaller server for sales, contacts, bookkeeping, reference data, or system features. It reads the Lexware Office API token from the OS keyring or `LEXWARE_API_TOKEN`. Node.js 20 or newer is required.

Create, update, and delete operations change real data in the Lexware account. Use read-only access for lookup tasks, and test write operations on a sandbox or non-critical account first.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `LEXWARE_API_TOKEN`, `LEXWARE_KEYRING_SERVICE` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env LEXWARE_API_TOKEN=<LEXWARE_API_TOKEN> --env LEXWARE_KEYRING_SERVICE=<LEXWARE_KEYRING_SERVICE> --transport stdio lexware -- npx -y @lazyants/lexware-mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add lexware --env LEXWARE_API_TOKEN=<LEXWARE_API_TOKEN> --env LEXWARE_KEYRING_SERVICE=<LEXWARE_KEYRING_SERVICE> -- npx -y @lazyants/lexware-mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "lexware": {
            "command": "npx",
            "args": [
                "-y",
                "@lazyants/lexware-mcp-server"
            ],
            "env": {
                "LEXWARE_API_TOKEN": "<LEXWARE_API_TOKEN>",
                "LEXWARE_KEYRING_SERVICE": "<LEXWARE_KEYRING_SERVICE>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "lexware": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@lazyants/lexware-mcp-server"
            ],
            "env": {
                "LEXWARE_API_TOKEN": "<LEXWARE_API_TOKEN>",
                "LEXWARE_KEYRING_SERVICE": "<LEXWARE_KEYRING_SERVICE>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e LEXWARE_API_TOKEN=<LEXWARE_API_TOKEN> -e LEXWARE_KEYRING_SERVICE=<LEXWARE_KEYRING_SERVICE> lexware npx -y @lazyants/lexware-mcp-server
```
Replace <…> with your own values

## When to use it
- create an invoice through the Lexware Office API
- find a contact or article
- record a bookkeeping voucher
- upload or download a file
- manage a webhook subscription

## Example prompts
- Create an invoice in Lexware for the selected contact and return its number.
- Search Lexware for vouchers from the requested period.
- Upload this file to Lexware and report the operation result.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24271
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18779
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7548

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
