Back to Browse

Stripe Analytics MCP Server

FinanceModerate7.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

Stripe analytics — revenue, customers, subscriptions, refunds, churn from Claude.

About

Stripe analytics — revenue, customers, subscriptions, refunds, churn from Claude.

Security Report

7.5
Moderate7.5Low Risk

Valid MCP server (2 strong, 3 medium validity signals). 3 known CVEs in dependencies (0 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.

3 files analyzed · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your Stripe secret API keyRequired

Environment variable: STRIPE_SECRET_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-lordbasilaiassistant-sudo-stripe-analytics": {
      "env": {
        "STRIPE_SECRET_KEY": "your-stripe-secret-key-here"
      },
      "args": [
        "-y",
        "mcp-stripe-analytics"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

mcp-stripe-analytics

Connect Claude to your Stripe dashboard. Revenue, customers, subscriptions -- all from chat.

Install

Add to your .mcp.json:

{
  "mcpServers": {
    "stripe-analytics": {
      "command": "npx",
      "args": ["-y", "mcp-stripe-analytics"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_live_..."
      }
    }
  }
}

Tools

get_revenue_summary

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")

get_customer_count

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")

get_subscription_metrics

Breakdown of subscription statuses: active, trialing, past_due, canceled.

get_subscription_metrics()
// => { active: 412, trialing: 27, past_due: 8, canceled: 63 }

Params: None

get_top_customers

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)

get_recent_charges

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")

get_refund_summary

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")

get_product_revenue

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")

get_mrr

Monthly Recurring Revenue calculated from all active subscriptions.

get_mrr()
// => { mrr: 4120.50, active_subscriptions: 412 }

Params: None

Security

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.

Built by

THRYXAGI -- AI-native tools for builders.

Reviews

No reviews yet

Be the first to review this server!

Stripe Analytics MCP Server - Stripe analytics — revenue, customers, subscriptions, | MCP Marketplace