# BillingEngine

Connects your assistant to BillingEngine to prepare draft invoices, find client records, and register incoming payments.

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

## What it does

This server runs locally as a bridge to the BillingEngine API. It equips your assistant with tools such as `create_invoice`, `find_customers`, and `record_payment` right in the chat. You can also trigger `download_invoice` to save generated PDF or XML documents to your Downloads directory.

Safety limits are built in by default. New invoices are generated solely as drafts, meaning nothing gets mailed to your buyers without your manual approval in the web interface. Nothing can be deleted through the tools.

The server requires Node.js 20 or newer and an active paid plan, because the free tier lacks API access. You must provide your credential using `BILLINGENGINE_API_KEY`.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `BILLINGENGINE_API_KEY` — 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 mcp -e BILLINGENGINE_API_KEY=<BILLINGENGINE_API_KEY> -- npx -y billingengine-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add billingengine --env BILLINGENGINE_API_KEY=<BILLINGENGINE_API_KEY> -- npx -y billingengine-mcp
```
Replace <…> with your own values

### Cursor

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

### GitHub Copilot

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

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e BILLINGENGINE_API_KEY=<BILLINGENGINE_API_KEY> billingengine npx -y billingengine-mcp
```
Replace <…> with your own values

## When to use it
- draft customer invoices from chat prompts
- look up client profiles by email or organization name
- review unpaid or overdue invoices
- log incoming payments against existing bills
- save invoice PDF and XML files to the local machine

## Example prompts
- Create a draft invoice for Acme Painting for 100 euros
- Which invoices are overdue right now?
- Acme paid invoice 2610030028, record the payment

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44591
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5469
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2817
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2197
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

---
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
