{
  "markdown": "# mcp-stripe-analytics\n\nConnect Claude to your Stripe dashboard. Revenue, customers, subscriptions -- all from chat.\n\n## Install\n\nAdd to your `.mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"stripe-analytics\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-stripe-analytics\"],\n      \"env\": {\n        \"STRIPE_SECRET_KEY\": \"sk_live_...\"\n      }\n    }\n  }\n}\n```\n\n## Tools\n\n### get_revenue_summary\n\nGet gross revenue, fees, net revenue, and transaction count for a period.\n\n```\nget_revenue_summary({ period: \"month\" })\n// => { gross: 12450.00, fees: 361.05, net: 12088.95, count: 187 }\n```\n\n**Params:** `period` — `\"today\"` | `\"week\"` | `\"month\"` | `\"year\"` (default: `\"month\"`)\n\n### get_customer_count\n\nTotal customers and new customers added in a period.\n\n```\nget_customer_count({ period: \"week\" })\n// => { total: 1243, new_in_period: 38 }\n```\n\n**Params:** `period` — `\"today\"` | `\"week\"` | `\"month\"` | `\"year\"` (default: `\"month\"`)\n\n### get_subscription_metrics\n\nBreakdown of subscription statuses: active, trialing, past_due, canceled.\n\n```\nget_subscription_metrics()\n// => { active: 412, trialing: 27, past_due: 8, canceled: 63 }\n```\n\n**Params:** None\n\n### get_top_customers\n\nTop N customers ranked by lifetime spend.\n\n```\nget_top_customers({ limit: 5 })\n// => [{ email: \"whale@co.com\", name: \"Whale Corp\", total_spent: 8420.00 }, ...]\n```\n\n**Params:** `limit` — number (default: `10`)\n\n### get_recent_charges\n\nList recent charges with amount, status, and customer info.\n\n```\nget_recent_charges({ limit: 10, status: \"failed\" })\n// => [{ id: \"ch_...\", amount: 49.00, status: \"failed\", customer_email: \"...\" }, ...]\n```\n\n**Params:** `limit` — number (default: `20`), `status` — `\"succeeded\"` | `\"failed\"` | `\"all\"` (default: `\"all\"`)\n\n### get_refund_summary\n\nRefund count and total amount for a period.\n\n```\nget_refund_summary({ period: \"month\" })\n// => { count: 4, total: 196.00 }\n```\n\n**Params:** `period` — `\"today\"` | `\"week\"` | `\"month\"` | `\"year\"` (default: `\"month\"`)\n\n### get_product_revenue\n\nRevenue breakdown grouped by product.\n\n```\nget_product_revenue({ period: \"month\" })\n// => [{ product: \"Pro Plan\", revenue: 7800.00, count: 156 }, ...]\n```\n\n**Params:** `period` — `\"today\"` | `\"week\"` | `\"month\"` | `\"year\"` (default: `\"month\"`)\n\n### get_mrr\n\nMonthly Recurring Revenue calculated from all active subscriptions.\n\n```\nget_mrr()\n// => { mrr: 4120.50, active_subscriptions: 412 }\n```\n\n**Params:** None\n\n## Security\n\nThis server uses **read-only Stripe API calls only**. It never creates, updates, or deletes any Stripe resources. Your billing data is safe.\n\nUse a [restricted API key](https://dashboard.stripe.com/apikeys) with read-only permissions for maximum security.\n\n## Built by\n\n[THRYXAGI](https://github.com/lordbasilaiassistant-sudo) -- AI-native tools for builders.\n",
  "bytes": 2790,
  "sha": "1243f751d4de72a83b205e8af87190490bb498e8e1d33dd7205f2f4494da8526",
  "repo_slug": "lordbasilaiassistant-sudo/mcp-stripe-analytics",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_lordbasilaiassistant_sudo_stri_cf37044d/readme"
}