Commerce

Stripe

Manage Stripe payments, subscriptions, and billing for product monetization.

1.6K starsGitHubWebsite

Mind the Product take

Monetization is core to product strategy, and the Stripe MCP server brings billing data into your AI workflow. Query subscription metrics, check payment failures, analyze pricing tier adoption, and manage customer billing - all through your AI agent. For product builders working on pricing and packaging, this is a direct line to the revenue data you need: 'What percentage of free trial users convert to paid?' or 'Which pricing tier has the highest churn?'

How product builders use Stripe

  • 1Query subscription metrics and revenue data for pricing decisions
  • 2Analyze trial-to-paid conversion rates across pricing tiers
  • 3Check payment failure rates and involuntary churn patterns
  • 4Generate revenue reports for board updates and planning
  • 5Test and validate new pricing configurations in sandbox mode
paymentssubscriptionsbilling

Getting started

From the official Stripe README

Stripe AI

This repo is the one-stop shop for building AI-powered products and businesses on top of Stripe.

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including:

  • @stripe/ai-sdk - for integrating Stripe's billing infrastructure with Vercel's ai and @ai-sdk libraries.
  • @stripe/token-meter - for integrating Stripe's billing infrastructure with native SDKs from OpenAI, Anthropic, and Google Gemini, without any framework dependencies.

Model Context Protocol (MCP)

Stripe hosts a remote MCP server at https://mcp.stripe.com. This allows secure MCP client access via OAuth. View the docs here.

You can also build autonomous agents with MCP as well.

Agent skills

Agent skills are instructions that agents can use to build faster and more accurately. Stripe offers a collection of skills that help your agents use the latest best practices when building with Stripe.

If you use one of these popular agent harnesses, we recommend installing the official Stripe plugins, which include additional agent tools and update automatically.

Claude Code

Run this command in your project:

claude plugin install stripe@claude-plugins-official

Codex

Run this command in your project:

codex plugin add stripe@openai-curated

Cursor

Run this command in your project:

/add-plugin stripe

You can also install through the Cursor marketplace.

Manual installation

Manually installed skills don’t auto-update. Run npx skills update -y to get the latest versions.

Run this command in your project:

npx skills add https://docs.stripe.com

License

MIT