← Index

RetentionCheck

io.github.brianfofficial/retentioncheck-mcp-server·v0.4.0·Databases
Quality Score
90
/100

Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "retentioncheck-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@retentioncheck/mcp-server"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your-anthropic_api_key>",
        "STRIPE_SECRET_KEY": "<your-stripe_secret_key>",
        "POSTGRES_URL": "<your-postgres_url>",
        "MYSQL_URL": "<your-mysql_url>",
        "RETENTIONCHECK_TELEMETRY": "<retentioncheck_telemetry>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "retentioncheck-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@retentioncheck/mcp-server"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your-anthropic_api_key>",
        "STRIPE_SECRET_KEY": "<your-stripe_secret_key>",
        "POSTGRES_URL": "<your-postgres_url>",
        "MYSQL_URL": "<your-mysql_url>",
        "RETENTIONCHECK_TELEMETRY": "<retentioncheck_telemetry>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @retentioncheck/mcp-server
§02  Environment variables
ANTHROPIC_API_KEY
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_KEY
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_URL
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_URL
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_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.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
5
§04  Alternatives in Databases