Stripe MCP Server
Allows querying customers, revenue, invoices, subscriptions, disputes, and issuing refunds via the Stripe API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stripe MCP ServerHow much revenue did I make last month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stripe MCP Server
A Model Context Protocol (MCP) server that connects Claude (or any MCP client) to your Stripe account. Query customers, revenue, invoices, subscriptions, disputes, and issue refunds — all via natural language.
Requirements
Node.js 18+
A Stripe account with a secret API key
Related MCP server: stripe-analytics-mcp
Installation
git clone https://github.com/your-username/stripe-mcp-server.git
cd stripe-mcp-server
npm install
cp .env.example .env
# Edit .env and set STRIPE_SECRET_KEYRunning manually
STRIPE_SECRET_KEY=sk_live_... node index.jsClaude Desktop Configuration
Add the following to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"stripe": {
"command": "node",
"args": ["/absolute/path/to/stripe-mcp-server/index.js"],
"env": {
"STRIPE_SECRET_KEY": "sk_live_..."
}
}
}
}Restart Claude Desktop after editing.
Tools
Tool | Description | Parameters |
| List recent Stripe customers |
|
| Total revenue from successful charges in a date range |
|
| List invoices by status ( |
|
| List recent failed charges with failure reasons |
|
| Get all subscriptions for a customer |
|
| Issue a full or partial refund |
|
| List disputes/chargebacks with evidence deadlines |
|
Example prompts
"List my last 20 customers"
"How much revenue did I make in May 2025?"
"Show me all unpaid invoices"
"What failed payments happened recently?"
"Get subscriptions for customer cus_ABC123"
"Refund charge ch_XYZ for $10"
"Are there any open disputes?"
Security
Never commit your
.envfile or hardcode your secret key.Use a restricted key with only the permissions your use case needs.
Use
sk_test_...keys for development.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Stripe payments for AI agents. Create links, verify, manage customers.
Interact with the Stitch API using natural language commands.
Ask data questions in natural language. Get SQL, insights, and charts from your databases.
Ask questions in plain language, get answers from your business database. No SQL required.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables Claude to integrate with Stripe for creating payment links, processing payments, and managing products and customers.1729 npmMIT
- AlicenseAqualityFmaintenanceProvides real-time Stripe subscription analytics including MRR, churn, failed payments, and expiring trials. Enables AI assistants to answer business health questions like 'How's my business doing?'8MIT
- AlicenseNot gradedqualityDmaintenanceEnables integration with Stripe APIs through function calling, supporting operations on customers, products, invoices, subscriptions, and more.8,372 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language, read-only access to your Cakto payment gateway data, including orders, revenue analytics, subscriptions, churn, customers, and products.MIT