io.github.warfare-hub/revenue-mcp
Query MRR, churn, and revenue from Stripe, Gumroad & Lemon Squeezy in Claude
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
revenue-mcpclaude mcp add revenue-mcp -e 'STRIPE_SECRET_KEY=<your stripe_secret_key>' -e 'GUMROAD_ACCESS_TOKEN=<your gumroad_access_token>' -e 'LEMONSQUEEZY_API_KEY=<your lemonsqueezy_api_key>' -- npx -y revenue-mcp@0.1.2
{
"mcpServers": {
"revenue-mcp": {
"command": "npx",
"args": [
"-y",
"revenue-mcp@0.1.2"
],
"env": {
"STRIPE_SECRET_KEY": "<your stripe_secret_key>",
"GUMROAD_ACCESS_TOKEN": "<your gumroad_access_token>",
"LEMONSQUEEZY_API_KEY": "<your lemonsqueezy_api_key>"
}
}
}
}
متغيرات البيئة
STRIPE_SECRET_KEYسري Stripe secret key (sk_live_... or sk_test_...)GUMROAD_ACCESS_TOKENسري Gumroad API access tokenLEMONSQUEEZY_API_KEYسري Lemon Squeezy API key
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Revenue MCP
Query your MRR, churn, and revenue from Stripe, Gumroad, and Lemon Squeezy directly inside Claude.
No more switching tabs. Ask Claude "what's my MRR this month?" and get the answer in context.
Supported Platforms
| Platform | MRR | Churn | Product Breakdown | Recent Revenue |
|---|---|---|---|---|
| Stripe | ✅ | ✅ | ✅ | ✅ |
| Gumroad | — | — | ✅ | ✅ |
| Lemon Squeezy | ✅ | — | — | ✅ |
| Paddle | 🔜 | 🔜 | 🔜 | 🔜 |
| Polar | 🔜 | 🔜 | 🔜 | 🔜 |
Quick Start
1. Get your API keys
- Stripe: Dashboard → Developers → API keys → Secret key
- Gumroad: Settings → Advanced → Applications → Generate access token
- Lemon Squeezy: Settings → API → Create key
2. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"revenue-mcp": {
"command": "npx",
"args": ["-y", "revenue-mcp"],
"env": {
"STRIPE_SECRET_KEY": "sk_live_...",
"GUMROAD_ACCESS_TOKEN": "your_token",
"LEMONSQUEEZY_API_KEY": "your_key"
}
}
}
}
Restart Claude Desktop. Done.
3. Ask Claude anything
- "What's my MRR this month?"
- "How much did I make in the last 30 days?"
- "Which product is generating the most revenue?"
- "What's my churn rate?"
- "Break down my revenue by platform"
Tools
| Tool | Description |
|---|---|
get_revenue_summary | Full summary across all platforms — MRR, ARR, new MRR, churn |
get_mrr_by_platform | MRR comparison table across platforms |
get_product_breakdown | Revenue + subscribers per product (Stripe) |
get_recent_revenue | Total revenue over last N days |
get_churn_summary | Churn MRR, new MRR, net new MRR, churn rate |
License
MIT
الأسئلة الشائعة
ما هو io.github.warfare-hub/revenue-mcp؟
Query MRR, churn, and revenue from Stripe, Gumroad & Lemon Squeezy in Claude
كيف أثبّت io.github.warfare-hub/revenue-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add revenue-mcp -e 'STRIPE_SECRET_KEY=<your stripe_secret_key>' -e 'GUMROAD_ACCESS_TOKEN=<your gumroad_access_token>' -e 'LEMONSQUEEZY_API_KEY=<your lemonsqueezy_api_key>' -- npx -y revenue-mcp@0.1.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.warfare-hub/revenue-mcp إلى مفتاح API؟
نعم. يتطلب STRIPE_SECRET_KEY, GUMROAD_ACCESS_TOKEN, LEMONSQUEEZY_API_KEY، وتضبطها في إعداداته.
هل io.github.warfare-hub/revenue-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.warfare-hub/revenue-mcp؟
ينشره warfare-hub. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.