Stripe MCP Server

Stripe analytics — revenue, customers, subscriptions, refunds, churn from Claude.

Local serverstdio

What is the Stripe MCP server?

Stripe analytics — revenue, customers, subscriptions, refunds, churn from Claude. That is what the stripe mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

Connect Claude to your Stripe dashboard. Revenue, customers, subscriptions -- all from chat.

The tools it exposes

The server publishes 8 tools. What each one is for:

  • get_revenue_summary — Get gross revenue, fees, net revenue, and transaction count for a period
  • get_customer_count — The get_customer_count tool exposed by this server
  • get_subscription_metrics — Breakdown of subscription statuses: active, trialing, past_due, canceled
  • get_top_customers — The get_top_customers tool exposed by this server
  • get_recent_charges — The get_recent_charges tool exposed by this server
  • get_refund_summary — The get_refund_summary tool exposed by this server
  • get_product_revenue — The get_product_revenue tool exposed by this server
  • get_mrr — Monthly Recurring Revenue calculated from all active subscriptions

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: STRIPE_SECRET_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Plenty of payments and commerce servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Stripe's toolset — get_revenue_summary, get_customer_count, get_subscription_metrics and 5 more — is a fair guide to whether it matches your workflow. It is maintained by lordbasilaiassistant-sudo; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
get_revenue_summaryGet gross revenue, fees, net revenue, and transaction count for a period.
get_customer_countThe get_customer_count tool exposed by this server.
get_subscription_metricsBreakdown of subscription statuses: active, trialing, past_due, canceled.
get_top_customersThe get_top_customers tool exposed by this server.
get_recent_chargesThe get_recent_charges tool exposed by this server.
get_refund_summaryThe get_refund_summary tool exposed by this server.
get_product_revenueThe get_product_revenue tool exposed by this server.
get_mrrMonthly Recurring Revenue calculated from all active subscriptions.

How to install the Stripe MCP server

{
  "mcpServers": {
    "stripe-analytics": {
      "command": "npx",
      "args": ["-y", "mcp-stripe-analytics"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_live_..."
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
STRIPE_SECRET_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Stripe to get revenue summary.
  • Use Stripe to get customer count.
  • Use Stripe to get subscription metrics.

Frequently asked questions

It connects Stripe to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (get_revenue_summary, get_customer_count, get_subscription_metrics, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Stripe directly.