Connects Claude directly to your Stripe account via read-only API calls, giving you instant chat access to revenue metrics, customer data, and subscription analytics. You get eight tools covering the essentials: revenue summaries with gross/net/fees, customer counts, subscription breakdowns by status, top spenders, recent charges, refunds, product revenue, and MRR calculations. All queries support flexible time periods (today, week, month, year). Setup is straightforward with npx and your Stripe secret key in the config. Useful when you want to ask questions about your billing data without opening the dashboard or writing one-off scripts. The developer recommends using a restricted read-only API key for added security.
Connect Claude to your Stripe dashboard. Revenue, customers, subscriptions -- all from chat.
Add to your .mcp.json:
{
"mcpServers": {
"stripe-analytics": {
"command": "npx",
"args": ["-y", "mcp-stripe-analytics"],
"env": {
"STRIPE_SECRET_KEY": "sk_live_..."
}
}
}
}
Get gross revenue, fees, net revenue, and transaction count for a period.
get_revenue_summary({ period: "month" })
// => { gross: 12450.00, fees: 361.05, net: 12088.95, count: 187 }
Params: period — "today" | "week" | "month" | "year" (default: "month")
Total customers and new customers added in a period.
get_customer_count({ period: "week" })
// => { total: 1243, new_in_period: 38 }
Params: period — "today" | "week" | "month" | "year" (default: "month")
Breakdown of subscription statuses: active, trialing, past_due, canceled.
get_subscription_metrics()
// => { active: 412, trialing: 27, past_due: 8, canceled: 63 }
Params: None
Top N customers ranked by lifetime spend.
get_top_customers({ limit: 5 })
// => [{ email: "whale@co.com", name: "Whale Corp", total_spent: 8420.00 }, ...]
Params: limit — number (default: 10)
List recent charges with amount, status, and customer info.
get_recent_charges({ limit: 10, status: "failed" })
// => [{ id: "ch_...", amount: 49.00, status: "failed", customer_email: "..." }, ...]
Params: limit — number (default: 20), status — "succeeded" | "failed" | "all" (default: "all")
Refund count and total amount for a period.
get_refund_summary({ period: "month" })
// => { count: 4, total: 196.00 }
Params: period — "today" | "week" | "month" | "year" (default: "month")
Revenue breakdown grouped by product.
get_product_revenue({ period: "month" })
// => [{ product: "Pro Plan", revenue: 7800.00, count: 156 }, ...]
Params: period — "today" | "week" | "month" | "year" (default: "month")
Monthly Recurring Revenue calculated from all active subscriptions.
get_mrr()
// => { mrr: 4120.50, active_subscriptions: 412 }
Params: None
This server uses read-only Stripe API calls only. It never creates, updates, or deletes any Stripe resources. Your billing data is safe.
Use a restricted API key with read-only permissions for maximum security.
THRYXAGI -- AI-native tools for builders.
STRIPE_SECRET_KEY*secretYour Stripe secret API key
explorium-ai/vibeprospecting-mcp
io.github.compuute/lead-enrichment
dev.workers.selbyventurecap.cf-worker/apollo-salesforce-mapper
io.github.br0ski777/company-enrichment
com.mcparmory/apollo
mambalabsdev/mcp-gtm-tech-stack-signal-scraper