Stripe Mcp Server
About
Connect Claude to your Stripe account via natural language. Query customers, revenue, invoices, subscriptions, disputes, and issue refunds — 7 tools, idempotency-safe writes, pinned API version to prevent silent breakage.
Explore
- Query customers, revenue, invoices, subscriptions, disputes, and failed payments.
- Issue full or partial refunds by charge ID.
- Works with any MCP‑compatible client (Claude, etc.).
- Uses your own Stripe secret API key.
- Simple command‑line or desktop configuration.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Stripe Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Node.js 18+
- A Stripe account with a secret API key
STRIPE_SECRET_KEY=sk_live_... node index.js
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.
list_customers
List recent Stripe customers
get_revenue
Total revenue from successful charges in a date range
list_invoices
List invoices by status (`open` = unpaid)
list_failed_payments
List recent failed charges with failure reasons
get_subscription
Get all subscriptions for a customer
create_refund
Issue a full or partial refund
list_disputes
List disputes/chargebacks with evidence deadlines
| Tool | Description | Parameters |
|------|-------------|------------|
| list_customers | List recent Stripe customers | limit (1–100, default 10) |
| get_revenue | Total revenue from successful charges in a date range | from (YYYY-MM-DD), to (YYYY-MM-DD) |
| list_invoices | List invoices by status (open = unpaid) | status (draft \| open \| paid \| uncollectible \| void) |
| list_failed_payments | List recent failed charges with failure reasons | limit (1–100, default 10) |
| get_subscription | Get all subscriptions for a customer | customer_id (e.g., cus_...) |
| create_refund | Issue a full or partial refund | charge_id (e.g., ch_...), amount (cents, optional) |
| list_disputes | List disputes/chargebacks with evidence deadlines | limit (1–100, default 10) |
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"stripe mcp server": {
"stripe": {
"command": "node",
"args": [
"/path/to/stripe-mcp-server/index.js"
],
"env": {
"STRIPE_SECRET_KEY": "<YOUR_STRIPE_RESTRICTED_KEY>"
}
}
}
}
}
McpServers
{
"stripe": {
"command": "node",
"args": [
"/path/to/stripe-mcp-server/index.js"
],
"env": {
"STRIPE_SECRET_KEY": "<YOUR_STRIPE_RESTRICTED_KEY>"
}
}
}
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
Installation
```bash
git clone https://github.com/your-username/stripe-mcp-server.git
cd stripe-mcp-server
npm install
cp .env.example .env
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
