Back to Blog
Guide
5 min read
· By MCPizy team

How to Use Stripe MCP with Claude Code

Manage Stripe customers, products, subscriptions, and payments from Claude Code — ideal for debugging billing issues and building payment workflows.

stripepaymentsbillingsaasclaude-code

What is the Stripe MCP?

The Stripe MCP connects Claude Code to the Stripe API, enabling it to inspect and manage your payment infrastructure. From looking up a customer's invoice history to creating new products and prices, Claude becomes your billing co-pilot without you ever opening the Stripe dashboard.

Installation

mcpizy install stripe

Provide your Stripe secret key (use a restricted key with only the permissions you need). For read-only debugging, a key with read access to customers, charges, and subscriptions is sufficient.

Key Capabilities

  • Look up customers and subscriptions — find a customer by email, inspect their plan, and check payment status.
  • List and create products and prices — manage your pricing catalog programmatically.
  • Inspect charges and invoices — debug failed payments by tracing the full charge lifecycle.
  • Manage refunds and disputes — issue refunds or retrieve dispute evidence.
  • Query payment intents — trace a checkout session to its underlying payment intent.

Example Usage

A customer reports they were double-charged. Ask Claude to investigate:

// Claude will:
// 1. Search customers by email
// 2. List charges for that customer in the last 30 days
// 3. Identify duplicate charges
// 4. Report the charge IDs and amounts for your review

Tips and Best Practices

  • Always use a restricted Stripe key — never your full secret key. Scope it to exactly the resources Claude needs.
  • Use test mode keys during development and only switch to live keys in production environments.
  • Combine with your Supabase or Postgres MCP to correlate Stripe customer IDs with your internal user records.
  • For webhook debugging, pair with the Stripe CLI's stripe listen command alongside the MCP.

View on the MCPizy directory

Found this useful? Share it.

MCP Servers Mentioned