saas-brain-mcp
Provides deployment and hosting capabilities for the MCP server on Render's platform, enabling 24/7 availability with free tier options for personal use.
Provides tools for accessing Stripe payment data, including revenue analytics, subscription management, customer spending insights, and churn risk analysis for SaaS businesses.
Provides tools for querying user data and activity from Supabase, including user authentication information, login activity tracking, and identifying inactive users for churn analysis.
SaaS Brain MCP
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.
What it does
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.
Available tools
Tool | What it answers |
| Total revenue for any date range |
| Highest spending customers |
| All active subscribers + plan info |
| Users who haven't logged in for N days |
| Last login + activity for a specific user |
| Paying users who have gone inactive |
| Customers above a spend threshold |
| High spenders who are now inactive |
Example questions you can ask Claude
"What's my revenue from January to March?"
"Show me my top 5 customers by spend"
"Which users are at risk of churning?"
"Who pays the most but hasn't logged in recently?"
"Give me a full health report of my SaaS"
Related MCP server: indie-metrics-mcp
Tech stack
Java 17 + Spring Boot
Stripe API
Supabase REST API
Docker
MCP Protocol (JSON-RPC 2.0)
Prerequisites
Java 17+
Maven
A Stripe account (free, test mode works)
A Supabase project (free tier works)
A Claude.ai account (free tier works)
Setup
1. Clone the repo
git clone https://github.com/Mohd16kaif/saas-brain-mcp.git
cd saas-brain-mcp2. Add your API keys
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_KEYGet your keys from:
Stripe: dashboard.stripe.com → Developers → API Keys
Supabase: app.supabase.com → Settings → API → service_role key
3. Run locally
mvn spring-boot:runTest it:
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Deploy to Render (free, 24/7)
1. Fork this repo on GitHub
2. Create a new Web Service on Render
Go to render.com → New → Web Service
Connect your forked repo
Language: Docker
Branch:
mainInstance Type: Free
3. Add environment variables in Render
Key | Value |
| your Stripe key |
| your Supabase project URL |
| your Supabase service_role key |
4. Deploy
Render builds and deploys automatically. Your server will be live at:
https://your-service-name.onrender.comConnect to Claude.ai
Go to claude.ai → Settings → Connectors
Click Add custom connector
Name:
saas-brainURL:
https://your-render-url.onrender.com/mcpSave and enable in chat
Then just ask Claude anything about your business.
Connect to Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"saas-brain": {
"type": "http",
"url": "https://your-render-url.onrender.com/mcp"
}
}
}File location:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Important notes
Use Supabase's
service_rolekey (not theanonkey) needed to queryauth.usersChurn detection works by matching emails between Stripe and Supabase make sure users sign up with the same email in both
Free Render instances sleep after 15 minutes of inactivity first request may take 30 seconds to wake up
Cost
$0 Stripe test mode is free, Supabase free tier is permanent, Render free tier is sufficient for personal use.
License
MIT free to use, modify, and deploy.
Built by
Mohd. Kaif Shaikh GitHub
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceFree, open-source MCP server that connects Claude to the Shopify Partner API. 25 tools for revenue analytics, churn analysis, retention cohorts, merchant health scoring, conversion funnels, revenue forecasting, and growth velocity.Last updated12MIT
- AlicenseAqualityBmaintenanceMCP server that gives AI assistants real-time access to Stripe business metrics like MRR, churn, and revenue forecasts via natural language queries.Last updated7MIT
- AlicenseAqualityBmaintenanceOne MCP server for the SaaS back office. Stripe, HubSpot, and Google Sheets exposed as typed, read-only-by-default tools for Claude and any MCP client.Last updated1MIT
- Flicense-qualityBmaintenanceAn MCP server that connects Claude Desktop to PoetryQuill's live Supabase database. Ask Claude natural language questions about your platform data.Last updated
Related MCP Connectors
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
MCP server for interacting with the Supabase platform
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mohd16kaif/saas-brain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server