Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.
Connect Runs on your machine
claude mcp add retentioncheck-mcp-server -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -e STRIPE_SECRET_KEY=<STRIPE_SECRET_KEY> -e POSTGRES_URL=<POSTGRES_URL> -e MYSQL_URL=<MYSQL_URL> -e RETENTIONCHECK_TELEMETRY=<RETENTIONCHECK_TELEMETRY> -- npx -y @retentioncheck/[email protected]
{
"mcpServers": {
"retentioncheck-mcp-server": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/[email protected]"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"STRIPE_SECRET_KEY": "<STRIPE_SECRET_KEY>",
"POSTGRES_URL": "<POSTGRES_URL>",
"MYSQL_URL": "<MYSQL_URL>",
"RETENTIONCHECK_TELEMETRY": "<RETENTIONCHECK_TELEMETRY>"
}
}
}
}
{
"mcpServers": {
"retentioncheck-mcp-server": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/[email protected]"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"STRIPE_SECRET_KEY": "<STRIPE_SECRET_KEY>",
"POSTGRES_URL": "<POSTGRES_URL>",
"MYSQL_URL": "<MYSQL_URL>",
"RETENTIONCHECK_TELEMETRY": "<RETENTIONCHECK_TELEMETRY>"
}
}
}
}
{
"servers": {
"retentioncheck-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@retentioncheck/[email protected]"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"STRIPE_SECRET_KEY": "<STRIPE_SECRET_KEY>",
"POSTGRES_URL": "<POSTGRES_URL>",
"MYSQL_URL": "<MYSQL_URL>",
"RETENTIONCHECK_TELEMETRY": "<RETENTIONCHECK_TELEMETRY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
ANTHROPIC_API_KEYOptional, secret | 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_KEYOptional, secret | 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_URLOptional, secret | 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_URLOptional, secret | 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_TELEMETRYOptional | 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. |
Details
| Package | @retentioncheck/[email protected] (NPM, stdio) |
| First published | 5 May 2026 |
| Last updated | 5 May 2026 |
| Registry name | io.github.brianfofficial/retentioncheck-mcp-server |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
