three.ws Billing runs on your own machine — the client starts it, so there is no endpoint to ping. 51 installs a week from npm. Last commit 8 Nov 2026.
An agent's account economics — plan quotas, metered usage, invoices, receipts, and earnings.
Today is the operative word: we check three.ws Billing every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add billing-mcp -e 'THREE_WS_SESSION=<THREE_WS_SESSION>' -- npx -y @three-ws/billing-mcp
{
"mcpServers": {
"billing-mcp": {
"command": "npx",
"args": [
"-y",
"@three-ws/billing-mcp"
],
"env": {
"THREE_WS_SESSION": "<THREE_WS_SESSION>"
}
}
}
}
[mcp_servers.billing-mcp]
command = "npx"
args = ["-y", "@three-ws/billing-mcp"]
env = { THREE_WS_SESSION = "<THREE_WS_SESSION>" }
{
"mcpServers": {
"billing-mcp": {
"command": "npx",
"args": [
"-y",
"@three-ws/billing-mcp"
],
"env": {
"THREE_WS_SESSION": "<THREE_WS_SESSION>"
}
}
}
}
{
"servers": {
"billing-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/billing-mcp"
],
"env": {
"THREE_WS_SESSION": "<THREE_WS_SESSION>"
}
}
}
}
Put your own value in place of
<THREE_WS_SESSION> (Your three.ws session token (the value of the `__Host-sid` cookie from a signed-in browser). REQUIRED: it exposes private billing data, so every account-scoped read (get_billing_summary, query_usage, export_billing_history, get_receipt) resolves the calling user from it and returns only your data. Only the public get_fee_info works without it. Treat like a password).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
THREE_WS_BASE (Base URL of the three.ws API that serves the billing endpoints. Override only when self-hosting or targeting a preview deployment), THREE_WS_TIMEOUT_MS (Per-request timeout in milliseconds for the live three.ws API reads).
Sales and billing for small businesses: leads, quotations, invoices, receipts and credit notes.
Query and manage Amberflo metering & billing: customers, meters, usage, plans, invoices, prepaid.
Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).
Danish accounting data from e-conomic and Billy: invoices, VAT by quarter, P&L. Read-only.
PayPing merchant account for agents: balance, sales, invoices; create invoices and payment links.
Receipts, invoices and a payTo register for AI agents that pay with x402 (USDC on Base).
Make invoice, quote and receipt PDFs from a chat: totals, tax, 26 currencies. Free, nothing stored.
Plans, services, usage, invoices, endpoints and connection checks for your TrueProxies account
Answers built from our own checks of this server.