The Chartsy MCP server gives any MCP client read-only access to SaaS revenue, MRR, churn, refunds and site traffic from Stripe, Paddle, Polar, Lemon Squeezy, Creem or Freemius. Last updated October 2026.
Endpoint https://mcp.chartsy.app/mcp
Transport Streamable HTTP
Auth OAuth 2.1, PKCE (S256), DCR
or a personal Bearer token
Scope chartsy:read
(+ openid, email for OIDC)
Tools 19, all read-onlyPick by what your client supports. Step-by-step guides for each agent are on Chartsy for AI agents.
For clients with a browser: Claude, ChatGPT, Cursor, VS Code, Codex and most others. Add the URL; the client discovers the authorization server from the 401, registers itself and opens the Chartsy sign-in. Scope: chartsy:read.
https://mcp.chartsy.app/mcp
For agents without a browser: servers, schedulers, CI. Generate one in Chartsy → Settings → Claude & MCP. It lasts a year and is shown once. Keep it in an environment variable or secret store.
Authorization: Bearer <your-chartsy-token>
For clients that only launch local servers, run mcp-remote. It handles the OAuth sign-in, or passes a token header.
npx -y mcp-remote https://mcp.chartsy.app/mcp
An initialize request answers with the server's capabilities. Without a valid token you get 401 and a WWW-Authenticate header pointing to the resource metadata.
curl https://mcp.chartsy.app/mcp \
-H "Authorization: Bearer $CHARTSY_MCP_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc": "2.0", "id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": {"name": "test", "version": "1"}
}}'Put the token in env and keep no spaces around the colon in the header argument; some clients split arguments on spaces. For the OAuth sign-in instead, leave out --header and env.
{
"mcpServers": {
"chartsy": {
"command": "npx",
"args": [
"-y", "mcp-remote", "https://mcp.chartsy.app/mcp",
"--header", "Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <your-chartsy-token>"
}
}
}
}Most clients handle it for you: they find the sign-in details from the server's first response.
Authorization: Bearer <token>. It lasts a year.Building your own client? Endpoints, scopes, redirect URIs and token lifetimes are in the MCP reference: OAuth details.
All tools are annotated readOnlyHint: true. Required arguments are bare; name=value shows a default; name? is optional.
| Tool | Arguments | Returns |
|---|---|---|
get_mrr | account_id? | Current monthly recurring revenue |
get_mrr_by_plan | periods=12 granularity=month account_id? | MRR and paying customers per plan, per month (up to 36 months) |
get_mrr_by_country | top_k=20 account_id? | Current MRR and paying customers per country |
get_revenue_breakdown | start_date end_date by=plan account_id? | Revenue over a date range, grouped by plan, country or payment method |
get_refund_summary | start_date? end_date? account_id? | Refund totals and refund ratio by plan |
get_goal_progress | account_id? | Your goals, each with its current value, percent progress, deadline and status |
| Tool | Arguments | Returns |
|---|---|---|
get_churn_rate | start_date end_date granularity=month account_id? | Churn rate per day, week, month, quarter or year |
get_new_subscribers | start_date end_date granularity=month account_id? | New subscribers per period |
list_at_risk_customers | account_id? | Customers with 2+ failed payments this quarter, and paused subscriptions |
list_top_customers | top_k=10 account_id? | Top customers by lifetime revenue |
get_customer_concentration | top_k=10 account_id? | Share of MRR coming from your top K customers |
| Tool | Arguments | Returns |
|---|---|---|
list_tracked_sites | None | The sites you track with Chartsy |
get_site_traffic | start_date end_date granularity=day site_id? | Visits, unique visitors and signups per period |
get_traffic_sources | start_date end_date by=source site_id? | Traffic by source, medium, campaign, country, referrer or landing page, with signup rates |
get_monthly_events_usage | None | This month's tracked events against your plan limit |
| Tool | Arguments | Returns |
|---|---|---|
get_revenue_by_source | start_date end_date by=source site_id? touch=last | Paying customers, current MRR, churn and retention per source, medium, campaign or post, with first- or last-touch attribution |
| Tool | Arguments | Returns |
|---|---|---|
get_business_snapshot | months=12 site_id? account_id? | The whole business review in one call, with derived warnings |
get_daily_snapshot | date? site_id? account_id? | A single day against the previous day and the trailing 7-day average |
list_accounts | None | The Chartsy accounts this login can read |
YYYY-MM-DD, and both start_date and end_date are included. Pass the same date twice for a single day.day, week, month, quarter or year (get_site_traffic: day, week or month). get_mrr_by_plan caps periods at 36 months or 104 weeks.plan, country or payment_method for revenue; source, medium, campaign, country, referrer or landing_path for traffic.list_tracked_sites; without it, all of the login's sites are read.JSON objects, returned as structuredContent and as text. Customers appear as payment-processor IDs, never names or emails.
get_business_snapshot and get_daily_snapshot add a flags array: derived warnings, each {code, surface, severity, message}.critical, warning or info. For alerts, skip info: it covers normal events such as a single refund or a quiet day.report for findings about the business. internal flags a Chartsy data inconsistency; don't show it to users.traffic is null when the login tracks no sites."flags": [
{
"code": "cancellations",
"surface": "report",
"severity": "warning",
"message": "2 subscription(s) were cancelled on 2026-10-12 ..."
},
{
"code": "refunds_recorded",
"surface": "report",
"severity": "info",
"message": "1 refund(s) totalling 49.00 were ..."
}
]Each tool call that reaches your data uses one ChartsyAI question from the plan's monthly allowance, the same budget as questions asked inside Chartsy. Calls that fail there count too; malformed dates and rejected tokens don't.
| Error text | What to do |
|---|---|
| This Chartsy login has no connected payment provider yet, so there is no revenue data to read. | Connect a payment provider in Chartsy and let the first sync finish. The demo data added at signup doesn't count. |
| This Chartsy login has N accounts, so account_id is required. Call list_accounts for details, or pass one of: … | Pass account_id. The message lists the valid ids. |
| No Chartsy account with id N on this login. Available: … | The id isn't one of this login's accounts. Use one from the list. |
| You've used all N ChartsyAI questions included in your plan this month. Upgrade your plan for more. | The monthly allowance is spent. It resets on the 1st of the month. |
| start_date must be a date in YYYY-MM-DD format, got … | Fix the date. Date-format errors name the field and aren't counted. |
| by must be one of: plan, country, payment_method | Fix the argument. These are checked against your data, so they count. |
| Chartsy could not complete <tool> - the failure has been logged. | A server-side failure. Retry; if it persists, contact support@chartsy.app. |
Errors come back as MCP tool errors with the text above, so agents can show them as they are. Broad questions stay cheap: one get_business_snapshot call replaces a dozen small ones.
Each guide is checked against the client's current docs. The skill and plugin manifests are on GitHub.
For end users, see the Chartsy MCP help guide. Anything else: support@chartsy.app.
https://mcp.chartsy.app/mcp, over streamable HTTP. Clients sign in with OAuth 2.1 (PKCE and dynamic client registration), or send a personal token as an Authorization: Bearer header.
No. Clients register themselves at https://dashboard.chartsy.app/o/register (RFC 7591). Every client is public, uses PKCE with S256, and gets an authorization code, so there is no client secret. Redirect URIs can be https, or http on 127.0.0.1, localhost or [::1] with any port.
OAuth access tokens last an hour. Refresh tokens rotate on every use and expire after 90 days without one. Personal tokens from Chartsy → Settings → Claude & MCP last a year, and any token can be revoked there at once.
Each tool call that reaches your data counts as one ChartsyAI question from your plan's monthly allowance, including calls that fail there. Malformed dates and rejected tokens don't count. Free trials get the smallest paid plan's allowance.
No. Every call is filtered to the active accounts and tracked sites the authorizing login owns, and access is checked on every call, so a revoked token or lapsed subscription stops working at once.
Not directly: it's a remote server. Clients that only run local servers can use the mcp-remote bridge: npx -y mcp-remote https://mcp.chartsy.app/mcp, adding a --header for a token if the client can't open a browser.
In the chartsy-agent repository (https://github.com/sprifti/chartsy-agent): a skill that tells agents which tool answers which question, plus plugin and extension manifests for Claude Code, Codex and Gemini CLI.
Start a free trial, connect your payment provider, and point any MCP client at the server.
Product names are trademarks of their owners, used only to say what Chartsy works with. Chartsy isn't affiliated with or endorsed by them.
Ministry of Economy and Innovation
Startup AlbaniaThe Chartsy program is realized with the financial support of the Albanian Government through the Ministry of Economy and Innovation, under the Grant 2026 scheme, and is implemented by the Innovation4Albania Agency.