Chargebee API and MCP server

Chargebee's API covers customers, subscriptions and invoices, but it takes an admin API key and code you write and host. Sign in to Chargebee once in your own Cloud Browser, and your AI agent does the work there for you. The same tools work over MCP for agents and as a REST API for scripts.

Not affiliated with Chargebee.

Chargebee has no API for this. So we run one for you.

Chargebee's own API, a GitHub MCP server and Cotlet compared
What you need Chargebee's APIGitHub MCP serverCotlet
Use without an API key or code No Partly Yes, 12 tools
Acts as you, signed in 24/7 No No Yes, Cloud Browser
Fixed for you when Chargebee changes N/A No Yes, tested every 6h
Runs with your laptop off N/A No Yes, hosted

Checked Oct 14, 2026. Sources: Chargebee Docs: MCP servers · Chargebee Docs: Custom MCP server · Chargebee API reference: Getting started · Chargebee Docs: What are the Chargebee API limits?

Your own Cloud Browser, on 24/7. Sign in once. We keep it connected.

  1. 01Sign in to Chargebee in your own Cloud Browser

  2. 02Connect it for your agents

  3. 03Cotlet keeps it signed in and working

How do I connect Chargebee to Claude, ChatGPT or my code?

AI agents connect over MCP, scripts call the REST API. Both reach the same 12 tools with one API key.

For AI agents: MCP

Add Cotlet to your agent once. Chargebee and every other app you connect show up as its tools.

  • Claude
  • ChatGPT
  • OpenClaw
  • Hermes
  • GrokBot
  • Cursor
  • n8n
  • Any MCP client
  1. 1

    Add Cotlet to your agent

    Claude Code
    claude mcp add --transport http cotlet \
      https://cotlet.dev/mcp/v1 \
      --header "Authorization: Bearer $COTLET_API_KEY"
    Cursor
    {
      "mcpServers": {
        "cotlet": {
          "url": "https://cotlet.dev/mcp/v1",
          "headers": {
            "Authorization": "Bearer ${COTLET_API_KEY}"
          }
        }
      }
    }
    Codex
    # ~/.codex/config.toml
    [mcp_servers.cotlet]
    url = "https://cotlet.dev/mcp/v1"
    bearer_token_env_var = "COTLET_API_KEY"

    Paste the snippet for your client. The same server and key serve every app you connect, so you do this once.

For scripts: REST API

Every tool is an endpoint under /api/v1/chargebee with its own method and path, such as POST /api/v1/chargebee/reference-invoices/{reference_invoice_id}/credit-notes, with the same API key. Our open-source repo has ready scripts to start from.

REST API docs

What can the Chargebee API and MCP server do?

12 tools on your own Chargebee account. Agents call them as operations of the MCP tools chargebee_read and chargebee_write; scripts call each one at its own REST endpoint, with the same inputs and answers.

Chargebee tools in Cotlet's MCP server and REST API
Tool What it does Access
find_customer Customers matching an email, company or name. read
get_customer One customer with tax status, credits and payment collection setting. read
list_subscriptions Subscriptions filtered by customer, status, plan or renewal date, newest first. read
get_subscription One subscription with its items, coupons and any scheduled change. read
list_invoices Invoices filtered by customer, subscription, status or date, newest first. read
get_invoice One invoice with line items, payments and credits applied. read
list_credit_notes Credit notes for a customer or an invoice, newest first. read
change_subscription_plan Move a subscription to another plan or quantity, now or at renewal. writeasks first
cancel_subscription Cancel a subscription now, at the end of the term or on a date. writeasks first
create_credit_note Credit all or part of an invoice with a refundable or adjustment credit note. writeasks first
apply_coupon Add a coupon to a subscription. writeasks first
record_invoice_payment Record an offline payment, such as a bank transfer, on an open invoice. writeasks first

Scroll the table for all 12 tools.

Ask in plain words. Your agent does the rest.

Is it safe to connect Chargebee?

You sign in yourself in your own Cloud Browser, we never save your password, and anything that reaches your readers waits for your OK. The browser profile is encrypted in the EU. Independent scanners grade cotlet.dev A+.

How much do the Chargebee API and MCP server cost?

One price for both: a tool call costs the same over MCP or REST. Free 7-day trial with 2,000 credits, no card needed. Then one-time credit packs, no subscription, valid 12 months. Most calls use 25 credits, and your Cloud Browser uses 50 credits a day while Chargebee is enabled for agents, so 20 calls a day come to 550 credits.

Cotlet credit packs: price, credits and calls at 25 credits each
Credits Price, one time Calls at 25 credits Per 1,000 credits
5,000 $29 200 $5.80
15,000 $79 600 $5.27
32,000 $149 1,280 $4.66
60,000 $249 2,400 $4.15

Only successful calls use credits; failed calls and timeouts cost nothing. At a balance of 0 calls pause, never a surprise charge. Authenticate with the Authorization: Bearer header.

Questions

Does Chargebee have an API?

Yes. Chargebee has a public REST API (v2) for customers, subscriptions, invoices, credit notes and coupons, called with a site API key, and it ships its own MCP servers (checked 14 Oct 2026). The ready-made Data Lookup MCP server retrieves customer, subscription, invoice and payment data, and the Onboarding server creates catalogs on test and sandbox sites only. Writing subscriptions or credit notes through MCP means a site admin builds a custom MCP server, which needs the Latest Product Catalog, and the docs do not list its tools.

How do I get access?

Sign up free, open Chargebee under Integrations in the console and press Request access. Your free trial starts with your account, no card needed.

Is the MCP server different from the API?

No, only the way in. Cotlet builds each integration as a REST API and puts an MCP server on top, so both have the same 12 tools, the same inputs and answers, one API key and one price. AI agents such as Claude, ChatGPT or Cursor use MCP; scripts, cron jobs and HTTP steps in n8n, Make or Zapier use the REST API.

What is the Cloud Browser?

Your own Chrome that Cotlet runs for you in the EU, around the clock. You open it from the console, sign in to Chargebee yourself and press Enable for agents. Your agent's calls go through it, from its IP with its cookies, so Chargebee sees the browser you signed in with. Password saving is off and the profile is stored encrypted with AES-256-GCM.

Can my agent act without asking me?

Not on anything that reaches other people: change_subscription_plan, cancel_subscription, create_credit_note, apply_coupon, record_invoice_payment wait for your OK by default. You can switch that off per tool for scheduled runs.

Can a cancelled subscription be brought back?

Sometimes. Chargebee lets you reactivate a cancelled subscription only if it has card information, and a decommissioned subscription can never be reactivated. cancel_subscription does not decommission, so a cancellation from your agent can be reactivated in the Chargebee console when the card is on file.

Which credit note type can my agent create?

The one the invoice status allows: refundable on a paid invoice, adjustment on a payment_due or not_paid invoice, either on a partially paid one. A refundable credit note starts with refund due and sends no money until someone clicks Issue a refund in Chargebee.

Should I use a Chargebee MCP server from GitHub instead?

Pick one if you want the code on your own computer and do not mind the upkeep: you install it, sign it in and fix it when Chargebee changes. Pick Cotlet if you want it hosted and kept working for you.

Can I use it in n8n, Make or Zapier?

Yes. Add https://cotlet.dev/mcp/v1 in n8n's MCP Client node, or call the REST endpoints from an HTTP step in Make or Zapier.

Who runs Cotlet?

Cotlet is run by Take Group, a Polish software company working since 2019. Take Group runs about 3,200 websites on its own systems and has its own DevOps team for infrastructure security. We built and used integrations like this inside the company for years before opening them as Cotlet.

Is Cotlet affiliated with Chargebee?

No. Cotlet is independent and not affiliated with Chargebee.

Give your agent access to Chargebee.

Free 7-day trial with 2,000 credits, no card needed.