saas-brain-mcp
SaaS Brain MCP
Claude AIを使って、SaaSビジネスに関する質問を平易な英語(または日本語)で行えます。
「誰が解約しそう?」 • 「今週の収益は?」 • 「優良顧客は誰?」
ダッシュボードもSQLも不要。ただ聞くだけです。
機能
SaaS Brainは、Claude AIとStripeおよびSupabaseのデータを接続するMCP(Model Context Protocol)サーバーです。自然言語で質問するだけで、ビジネスに関するインサイトを即座に得られます。
利用可能なツール
ツール | 回答内容 |
| 指定期間の総収益 |
| 支出額の多い顧客 |
| すべてのアクティブなサブスクライバーとプラン情報 |
| N日間ログインしていないユーザー |
| 特定ユーザーの最終ログインとアクティビティ |
| 非アクティブになった有料ユーザー |
| 支出額がしきい値を超えている顧客 |
| 支出額が多いが現在非アクティブなユーザー |
Claudeへの質問例
「1月から3月までの収益は?」
「支出額トップ5の顧客を表示して」
「解約リスクのあるユーザーは誰?」
「最も支払額が多いのに最近ログインしていないのは誰?」
「SaaSの全体的な健全性レポートを教えて」
Related MCP server: indie-metrics-mcp
技術スタック
Java 17 + Spring Boot
Stripe API
Supabase REST API
Docker
MCP Protocol (JSON-RPC 2.0)
前提条件
Java 17以上
Maven
Stripeアカウント(無料、テストモードで動作)
Supabaseプロジェクト(無料枠で動作)
Claude.aiアカウント(無料枠で動作)
セットアップ
1. リポジトリのクローン
git clone https://github.com/Mohd16kaif/saas-brain-mcp.git
cd saas-brain-mcp2. APIキーの追加
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キーの取得先:
Stripe: dashboard.stripe.com → Developers → API Keys
Supabase: app.supabase.com → Settings → API → service_role key
3. ローカルでの実行
mvn spring-boot:runテスト:
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Renderへのデプロイ(無料、24時間365日)
1. GitHubでこのリポジトリをフォーク
2. Renderで新しいWeb Serviceを作成
render.com → New → Web Service に移動
フォークしたリポジトリを接続
Language: Docker
Branch:
mainInstance Type: Free
3. Renderで環境変数を追加
キー | 値 |
| Stripeキー |
| SupabaseプロジェクトURL |
| Supabase service_roleキー |
4. デプロイ
Renderが自動的にビルドとデプロイを行います。サーバーは以下で公開されます:
https://your-service-name.onrender.comClaude.aiへの接続
claude.ai → Settings → Connectors に移動
Add custom connector をクリック
Name:
saas-brainURL:
https://your-render-url.onrender.com/mcp保存してチャットで有効化
あとはClaudeにビジネスについて何でも聞いてください。
Claude Desktopへの接続
claude_desktop_config.json に以下を追加します:
{
"mcpServers": {
"saas-brain": {
"type": "http",
"url": "https://your-render-url.onrender.com/mcp"
}
}
}ファイルの場所:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
重要な注意点
auth.usersをクエリするために、Supabaseのservice_roleキー(anonキーではない)を使用してください。解約検知はStripeとSupabaseのメールアドレスを照合することで機能します。ユーザーが両方で同じメールアドレスでサインアップしていることを確認してください。
無料のRenderインスタンスは15分間操作がないとスリープします。最初の要求時に起動まで30秒かかる場合があります。
コスト
$0 Stripeテストモードは無料、Supabase無料枠は永続的、Render無料枠は個人利用に十分です。
ライセンス
MIT 無料で利用、変更、デプロイ可能です。
開発者
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
- AlicenseAqualityFmaintenanceFree, 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.2512MIT
- AlicenseAqualityBmaintenanceMCP server that gives AI assistants real-time access to Stripe business metrics like MRR, churn, and revenue forecasts via natural language queries.7MIT
- 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.1MIT
- Flicense-qualityBmaintenanceAn MCP server that connects Claude Desktop to PoetryQuill's live Supabase database. Ask Claude natural language questions about your platform data.
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