Skip to main content
MCP server CX Codex

mcp-chargebee — Claude Code MCP server: what it does, how to install

Manages recurring subscriptions, customer records, and invoices in Chargebee through your AI agent. Useful for automating SaaS billing tasks directly from the workspace.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-chargebee -e CHARGEBEE_SITE=<CHARGEBEE_SITE> -e CHARGEBEE_API_KEY=<CHARGEBEE_API_KEY> -- npx -y @codespar/mcp-chargebee
Open on GitHub

What mcp-chargebee does

The server connects language models to Chargebee v2 billing endpoints using 15 dedicated tools. Your assistant can create, retrieve, modify, pause, or reactivate subscriptions, inspect invoices, and read webhook event logs. Outgoing requests use application/x-www-form-urlencoded formatting. The server flattens nested JSON payloads into bracket notation on the fly.

List queries support structured filters matching the field[operator]=value convention via the filters parameter or direct top-level options. You can also attach gateway payment tokens to existing customers or delete stored payment sources when cards expire.

Calls fail immediately without valid CHARGEBEE_SITE and CHARGEBEE_API_KEY credentials. When setting up automated workflows, start with your sandboxed test site (<site>-test) to prevent unintended modifications to live accounts.

What it helps with

  • manage recurring customer subscriptions and renewal statuses
  • inspect unpaid invoices and track incoming webhook events
  • attach external gateway tokens to customer payment profiles
  • filter active subscriptions by plan identifier

Example prompts for the agent

  • Find all active subscriptions on the pro-monthly plan
  • Cancel subscription sub_98765 and show the confirmation
  • Retrieve the latest invoices for customer cust_12345

How to install mcp-chargebee

Platform CLI

claude mcp add mcp-chargebee -e CHARGEBEE_SITE=<CHARGEBEE_SITE> -e CHARGEBEE_API_KEY=<CHARGEBEE_API_KEY> -- npx -y @codespar/mcp-chargebee

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-chargebee

How to install mcp-chargebee in Claude Code?

Run claude mcp add mcp-chargebee -e CHARGEBEE_SITE=<CHARGEBEE_SITE> -e CHARGEBEE_API_KEY=<CHARGEBEE_API_KEY> -- npx -y @codespar/mcp-chargebee in your terminal. Replace the placeholders with your Chargebee subdomain and API token.

What actions can the server perform on subscriptions?

It provides create_subscription, retrieve_subscription, update_subscription, cancel_subscription, reactivate_subscription, and list_subscriptions. These tools cover looking up, changing, or stopping recurring plans.

How do you test the server without touching live billing data?

Point CHARGEBEE_SITE to your sandbox subdomain ending in -test. Use an API key generated from that test site to avoid affecting production payments.

Similar MCP servers

Everything for Finance and business →

From the same set124

mcp-clip An MCP server for taking payments through Clip (PayClip) in Mexico. Agents get hosted payment links, card-token charges, refunds and payment lookups, priced in MXN. CX Codex +1 ★ 274repo stars mcp-clearsale Connects your coding agent to ClearSale for fraud screening and Brazilian buyer verification. Handy for online stores selling in Brazil. CX Codex +1 ★ 274repo stars mcp-circle Give an agent Circle tools for USDC payments, wallets, payouts and transfers. A Circle API key is required. CX Codex +1 ★ 274repo stars mcp-cielo Wires Cielo payments into your coding agent: card sales, boleto, Pix, recurring charges and payment links, as 22 callable tools. Handy when billing logic lives in the repo you are editing. CX Codex +1 ★ 274repo stars mcp-certta This MCP server exposes Certta identity checks, biometrics, document OCR, fraud scoring, and signature tools to an agent. Its API host currently does not resolve, so the tools cannot reach a service. CX Codex +1 ★ 274repo stars mcp-celcoin An MCP server that hands your agent Celcoin's payment API: Pix charges, boletos, TED/DOC transfers, top-ups. Handy when a Brazilian payment has to happen from the chat. CX Codex +1 ★ 274repo stars mcp-caixa Connects AI agents to Caixa Econômica Federal for Pix transfers, Cobrança boletos, and statement queries using mTLS and OAuth2. CX Codex +1 ★ 274repo stars mcp-caf This MCP server exposes KYC/KYB, biometrics, document OCR, and Trust Platform flows. Its default service host currently fails DNS resolution. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor