npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

billingengine-mcp

v0.3.0

Published

MCP server for BillingEngine: create customers and invoices, look up invoices, record payments and ask for revenue and profit from Claude, Cursor and other MCP clients.

Readme

BillingEngine MCP server

npm License: MIT AllMCPs Verified

Create customers and invoices, look up open invoices and record payments in BillingEngine by talking to Claude, Cursor or any other MCP client:

"Create an invoice for Acme Painting over 100 euros."

"Which invoices are overdue?"

"What was my revenue in September?"

"Acme paid invoice 2610030028, record the payment."

BillingEngine is invoicing software for freelancers and small businesses with e-invoicing (EN 16931, XRechnung, ZUGFeRD / Factur-X). The server is a thin layer over the BillingEngine API and runs on your computer.

What you can use it for

  • Billing by conversation: have Claude or Cursor create a customer and a draft invoice from a sentence, then review and send it in BillingEngine.
  • Key figures: ask for revenue, profit, open amounts, the VAT balance or your best customers.
  • Chasing payments: ask which invoices are open or overdue and record incoming payments.
  • E-invoices: download an invoice as PDF or as a structured XML e-invoice (XRechnung, ZUGFeRD / Factur-X, EN 16931), for example to pass it on to your tax advisor or a customer's accounting system.
  • Automation: combine it with other MCP servers, such as a calendar or a time tracker, to turn logged work into invoices.

BillingEngine is built for German invoicing requirements and e-invoicing.

Requirements

  • Node.js 20 or newer
  • A BillingEngine account on a paid plan. The API is not available in the Free plan.
  • Your API key from Settings > API keys in BillingEngine

Setup

Claude Desktop

Add this to claude_desktop_config.json:

{
  "mcpServers": {
    "billingengine": {
      "command": "npx",
      "args": ["-y", "billingengine-mcp"],
      "env": { "BILLINGENGINE_API_KEY": "your-api-key" }
    }
  }
}

Claude Code

claude mcp add billingengine --env BILLINGENGINE_API_KEY=your-api-key -- npx -y billingengine-mcp

Cursor and other clients

Use the same command, args and env as above in the MCP settings of your client.

Tools

| Tool | What it does | | --- | --- | | find_customers | Searches customers by company, name, email or identifier of another system | | create_customer | Creates a customer | | update_customer | Changes a customer | | create_invoice | Creates a draft invoice for a customer | | update_invoice | Changes a draft invoice | | list_invoices | Lists invoices, filtered by status, type, customer, number, identifier or date | | get_invoice | Returns one invoice with items, tax breakdown and status | | download_invoice | Saves the PDF or the XML e-invoice to your Downloads folder | | record_payment | Records a payment for sent invoices | | list_payments | Lists payments, optionally for one invoice | | get_profits | Income, expenses and profit per month, quarter or year | | get_invoiced_revenue | Invoiced revenue by invoice date | | get_open_amounts | Open, overdue and reminded amounts | | get_vat_balance | Output tax, input tax and balance | | get_customer_shares | Income per customer, largest first | | get_article_sales | Quantity and sales per article | | get_expense_shares | Expenses per category |

What it does and does not do

  • Invoices are created as drafts. Nothing is sent to your customers; you review and send the invoice in BillingEngine. Every result contains a link to open the draft.
  • Prices are net or gross, as set in your account; every invoice says which. Amounts in results are decimal strings such as "119.00". Number, language, texts, VAT treatment and payment terms come from your account settings, exactly as in the invoice form.
  • Nothing can be deleted through this server.
  • New invoices count towards the monthly invoice maximum of your plan.
  • The API allows 60 requests per minute per key.
  • Your key stays on your computer and is only sent to BillingEngine.
  • What the assistant asks for, such as customer data, invoices and revenue, is passed to the provider of your AI assistant. Check its privacy terms before you connect the server.

If a key is ever exposed, create a new one under Settings > API keys. The old key stops working immediately. The settings also show when the key was last used.

Configuration

| Variable | Meaning | | --- | --- | | BILLINGENGINE_API_KEY | Your API key (required) | | BILLINGENGINE_URL | Base URL, defaults to https://www.billingengine.com |

Development

npm install
npm run build
BILLINGENGINE_API_KEY=... node dist/index.js

License

MIT. BillingEngine itself is a commercial service; see billingengine.com.