loading…
Search for a command to run...
loading…
Open-source MCP server for Claude AI that connects Stripe and Supabase to enable natural language SaaS analytics, including churn analysis, subscription trackin
Open-source MCP server for Claude AI that connects Stripe and Supabase to enable natural language SaaS analytics, including churn analysis, subscription tracking, and revenue insights.
Ask questions about your SaaS business in plain English using Claude AI.
"Who is about to churn?" • "What's my revenue this week?" • "Who are my best customers?"
No dashboards. No SQL. Just ask.
SaaS Brain is an MCP (Model Context Protocol) server that connects Claude AI to your Stripe and Supabase data. Ask natural language questions and get intelligent business insights instantly.
| Tool | What it answers |
|---|---|
getRevenue |
Total revenue for any date range |
getTopCustomers |
Highest spending customers |
getActiveSubscriptions |
All active subscribers + plan info |
getInactiveUsers |
Users who haven't logged in for N days |
getUserActivity |
Last login + activity for a specific user |
getChurnRiskUsers |
Paying users who have gone inactive |
getHighValueUsers |
Customers above a spend threshold |
getHighValueAtRiskUsers |
High spenders who are now inactive |
git clone https://github.com/Mohd16kaif/saas-brain-mcp.git
cd saas-brain-mcp
Create src/main/resources/application.properties:
server.port=8080
spring.application.name=saas-brain-mcp
stripe.api.key=sk_test_YOUR_STRIPE_KEY
supabase.url=https://YOUR_PROJECT.supabase.co
supabase.key=YOUR_SERVICE_ROLE_KEY
Get your keys from:
mvn spring-boot:run
Test it:
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
main| Key | Value |
|---|---|
STRIPE_API_KEY |
your Stripe key |
SUPABASE_URL |
your Supabase project URL |
SUPABASE_KEY |
your Supabase service_role key |
Render builds and deploys automatically. Your server will be live at:
https://your-service-name.onrender.com
saas-brainhttps://your-render-url.onrender.com/mcpThen just ask Claude anything about your business.
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"saas-brain": {
"type": "http",
"url": "https://your-render-url.onrender.com/mcp"
}
}
}
File location:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.jsonservice_role key (not the anon key) needed to query auth.users$0 Stripe test mode is free, Supabase free tier is permanent, Render free tier is sufficient for personal use.
MIT free to use, modify, and deploy.
Mohd. Kaif Shaikh GitHub
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"saas-brain-mcp": {
"command": "npx",
"args": []
}
}
}