Skip to content
MCP server

PromptBill

Maps local AI coding spend to Git repos and builds client invoices for freelancers

Runs locally

PromptBill is a freemium MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
CLI, macOS, Linux
Runs
Locally
Version
1.5.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add promptbill -- docker run -i --rm ghcr.io/danielneuron/promptbill:1.5.0

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "promptbill": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/danielneuron/promptbill:1.5.0"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "promptbill": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/danielneuron/promptbill:1.5.0"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "promptbill": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/danielneuron/promptbill:1.5.0"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "promptbill": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/danielneuron/promptbill:1.5.0"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add promptbill -- docker run -i --rm ghcr.io/danielneuron/promptbill:1.5.0

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.promptbill]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/danielneuron/promptbill:1.5.0"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "promptbill": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/danielneuron/promptbill:1.5.0"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user promptbill docker -- run -i --rm ghcr.io/danielneuron/promptbill:1.5.0

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "promptbill": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/danielneuron/promptbill:1.5.0"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About PromptBill

PromptBill reads the usage logs that AI coding assistants already keep on your machine and works out how much each Git repository consumed. Claude Code, Codex CLI, Gemini CLI, Cline and Roo Code are read directly, and CSV usage exports from Anthropic, OpenAI, OpenRouter and Cursor can be imported alongside them. Token counts are priced and grouped by the repository the work happened in, so you can see what a given client project actually cost.

The same data feeds a studio UI and a command line tool that produce client-ready PDF invoices, with optional hourly labour, markup and sales tax, and an appendix of dates, models and commit titles without source code. Pro adds Xero and QuickBooks Online invoice CSV exports. Everything runs locally, with no telemetry; the only network call is license activation for paid tiers.

It suits freelancers and small agencies who pass AI compute through to clients and want the charge to be traceable. It also ships as a local MCP server, so an assistant such as Claude Code or Cursor can query spend and generate an invoice from inside the editor.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 4 tools reads data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

promptbill_scan_usage
Scans local Claude Code, Codex CLI, Gemini CLI, Cline, Roo Code and imported CSVs grouped by Git repo.
promptbill_repo_spend
Detailed spend, models and pass-through billing estimate for a specific Git repository.
promptbill_generate_invoice_pdf
Generates a native PDF client invoice on disk with optional labour, markup, GST/VAT and audit appendix.
promptbill_export_csvName suggests: reads
Exports a repo summary CSV or a Xero / QuickBooks Online invoice CSV.

What it does

Multi-tool log parsing
Reads local session logs from Claude Code, Codex CLI, Gemini CLI, Cline and Roo Code without uploading them.
Git repository attribution
Assigns token usage to the enclosing Git repository of each working directory.
Client PDF invoices
Generates PDF invoices with optional labour, markup, tax and a sanitized audit appendix.
Accounting CSV exports
Produces Xero and QuickBooks Online invoice CSVs on the Pro tier.
Local MCP server
Exposes scan, spend, invoice and export tools to MCP-compatible coding agents over stdio.
Editable pricing table
Ships built-in model prices that can be overridden with a local pricing file.

Good for

  • Billing AI compute spent on a specific client repository back to that client
  • Producing a PDF invoice with an audit appendix that shows dates, models and token totals
  • Importing monthly OpenRouter or Cursor CSV usage and attributing it to a project
  • Checking live AI spend per workspace from the VS Code or Cursor extension
  • Asking a coding agent how much a repository has cost this month

Pricing

Freemium

Free MIT CLI; Pro $19 one-time; Agency $49 one-time for up to 25 machines

Prices change. Check danielneuron.github.io before you buy.

PromptBill FAQ

Do my prompts or code leave my machine?

No. Log parsing, Git mapping, CSV export and PDF generation all run locally, and the only optional network request is Polar.sh license activation for paid tiers.

Which tools and exports are supported?

Local scanners cover Claude Code, OpenAI Codex CLI, Gemini CLI, Cline and Roo Code. CSV import covers Anthropic, OpenAI, OpenRouter and Cursor exports.

How does the Pro licence work?

A one-time $19 payment via Polar.sh returns a licence key usable on up to 3 machines, with lifetime v1.x updates and a 14-day refund window.

Is PromptBill free?

PromptBill has a free plan, with paid plans for more usage or features.

How do I add PromptBill to Claude Code?

Run this command in your terminal: claude mcp add promptbill -- docker run -i --rm ghcr.io/danielneuron/promptbill:1.5.0

What are the best alternatives to PromptBill?

The closest alternatives to PromptBill are InvoiceBloom, Invoice Studio, eBRBe Hybrid Human + AI Agent Compute Billing, PocketInvoice MCP and Holdings.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers