# Stripe — MCP Server

> Query customers, subscriptions and payments with an AI agent.

**Source:** https://mcpplaygroundonline.com/mcp-servers/stripe  
**Transport:** http  
**Requires auth:** Yes

---

## What it does

The Stripe MCP server wraps the Stripe API and surfaces it as MCP tools — listing customers and subscriptions, fetching invoices and charges, retrieving payment intents and disputes, and (with the right scopes) creating refunds or sending invoices. It is intended for back-office and analytics workflows: revenue rollups, churn investigation, billing support triage, dunning analysis. Combine it with a database MCP (Postgres, Supabase) for full customer-360 questions in chat.

## Tools exposed

- list_customers / get_customer — read customer records
- list_subscriptions / get_subscription — active subs and history
- list_invoices / get_invoice — billing history per customer
- list_payment_intents / get_payment_intent — payment lookup
- list_disputes / get_dispute — chargeback investigation
- create_refund — issue a refund (write scope required)

## Example queries you can run

- "How many active subscribers did we have at the start of this month vs today?"
- "List the 10 largest disputes this quarter and summarise the reasons."
- "Find this customer's payment history and tell me why their last invoice failed."
- "Refund invoice in_1ABC for the full amount and add a note that it was a duplicate charge."

## Details

- **Recommended model:** anthropic/claude-sonnet-4.5 — Claude Sonnet 4.5 is reliable on multi-call billing investigations. Use Haiku 4.5 for high-volume read queries and GPT-5.2 for natural-language financial summaries.
- **Transport:** http
- **Authentication:** Required — Stripe restricted API key. Create one at dashboard.stripe.com/apikeys with the minimum read scopes you need; never paste a live secret key.
- **Hosted endpoint:** https://mcp.stripe.com/
- **Official source:** [Stripe MCP docs](https://docs.stripe.com/mcp)

## Frequently asked questions

### What is the Stripe MCP server?

It is an official MCP server hosted by Stripe at mcp.stripe.com. It exposes the Stripe API as tools an AI model can call — reading customers, subscriptions, invoices, payments and disputes from chat.

### Is it safe to connect Stripe to an AI agent?

Use a restricted API key with read-only scopes for the resources the agent needs (customers, subscriptions, invoices). Avoid live secret keys. Stripe enforces scopes server-side, so a read-only key cannot create refunds even if the model tries.

### Can the Stripe MCP server issue refunds or charges?

Only if your restricted key has write scopes for that resource. By default we recommend starting with read-only access for analytics and support workflows, then adding narrow write scopes (e.g. refunds) once you trust the agent on a sample.

### Does the Stripe MCP server work with Claude, ChatGPT and Cursor?

Yes. Any MCP-compatible client can connect to mcp.stripe.com — Claude Desktop, Cursor, Cline, browser tools like MCP Agent Studio. Paste the URL and your restricted key into the client to start.

### Which model is best for Stripe billing questions?

Claude Sonnet 4.5 handles multi-call investigations (e.g. "trace this customer's payment failure") well. For high-volume read queries Haiku 4.5 is cheaper. GPT-5.2 is strong at financial-summary writing.

---

_Test this server across 40+ models on MCP Playground: https://mcpplaygroundonline.com/mcp-servers/stripe — free, no install._
