RetentionCheck MCP Server
by brianfofficialio.github.brianfofficial/retentioncheck-mcp-serverv0.6.2
MCP server for AI-powered churn analysis. Analyze cancellation feedback to identify churn patterns and get actionable recommendations.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install RetentionCheck MCP server
Install in Claude Code
claude mcp add brianfofficial -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e STRIPE_SECRET_KEY='<stripe-secret-key>' -e POSTGRES_URL='<postgres-url>' -e MYSQL_URL='<mysql-url>' -- npx -y @retentioncheck/mcp-serverInstall in Cursor
{
"mcpServers": {
"brianfofficial": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"STRIPE_SECRET_KEY": "<stripe-secret-key>",
"POSTGRES_URL": "<postgres-url>",
"MYSQL_URL": "<mysql-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"brianfofficial": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"STRIPE_SECRET_KEY": "<stripe-secret-key>",
"POSTGRES_URL": "<postgres-url>",
"MYSQL_URL": "<mysql-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"brianfofficial": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"STRIPE_SECRET_KEY": "<stripe-secret-key>",
"POSTGRES_URL": "<postgres-url>",
"MYSQL_URL": "<mysql-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"brianfofficial": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"STRIPE_SECRET_KEY": "<stripe-secret-key>",
"POSTGRES_URL": "<postgres-url>",
"MYSQL_URL": "<mysql-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ANTHROPIC_API_KEY | — | yes | Anthropic API key for running churn analysis (required for analyze_churn, analyze_stripe_churn, and analyze_sql_churn; get_example_analysis works without it). |
| STRIPE_SECRET_KEY | — | yes | Stripe API key for analyze_stripe_churn. Use a RESTRICTED (read-only) key with these permissions: Subscriptions Read, Customers Read, Prices Read. Create one at https://dashboard.stripe.com/apikeys/create. Optional — only required for the analyze_stripe_churn tool. |
| POSTGRES_URL | — | yes | Postgres connection string for analyze_sql_churn when dialect='postgres'. Format: postgres://user:pass@host:5432/db?sslmode=require. Use a READ-ONLY user — see retentioncheck.com/integrations for the exact GRANT SQL. Optional — only required for the analyze_sql_churn tool with postgres dialect. |
| MYSQL_URL | — | yes | MySQL connection string for analyze_sql_churn when dialect='mysql'. Format: mysql://user:pass@host:3306/db?ssl=true. Use a READ-ONLY user — see retentioncheck.com/integrations for the exact GRANT SQL. Optional — only required for the analyze_sql_churn tool with mysql dialect. |
| RETENTIONCHECK_TELEMETRY | — | — | Set to 0 to opt out of anonymous usage telemetry. Telemetry tracks tool invocations and aggregate counts — never the feedback text, financial values, or any PII. |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-05 · 5mo ago · official registry · v0.6.2
FAQ
›How do I install the RetentionCheck MCP server in Claude Code?
Run: claude mcp add brianfofficial -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e STRIPE_SECRET_KEY='<stripe-secret-key>' -e POSTGRES_URL='<postgres-url>' -e MYSQL_URL='<mysql-url>' -- npx -y @retentioncheck/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does RetentionCheck require an API key?
Yes. It expects ANTHROPIC_API_KEY, STRIPE_SECRET_KEY, POSTGRES_URL, MYSQL_URL, of which 4 are secrets.
›Can I use RetentionCheck as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is RetentionCheck in the official MCP registry?
Yes, as io.github.brianfofficial/retentioncheck-mcp-server.