Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.
registry version 0.6.2
npm
npx -y @retentioncheck/mcp-servernpm
npx -y @retentioncheck/mcp-server@0.6.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
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>"
}
}
}
}{
"mcpServers": {
"retentioncheck-mcp-server": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server@0.6.2"
],
"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>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> --env STRIPE_SECRET_KEY=<YOUR_STRIPE_SECRET_KEY> --env POSTGRES_URL=<YOUR_POSTGRES_URL> --env MYSQL_URL=<YOUR_MYSQL_URL> retentioncheck-mcp-server -- npx -y @retentioncheck/mcp-server
claude mcp add --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> --env STRIPE_SECRET_KEY=<YOUR_STRIPE_SECRET_KEY> --env POSTGRES_URL=<YOUR_POSTGRES_URL> --env MYSQL_URL=<YOUR_MYSQL_URL> retentioncheck-mcp-server -- npx -y @retentioncheck/mcp-server@0.6.2
Format verified against the official Claude Code docs ↗.
.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>"
}
}
}
}{
"mcpServers": {
"retentioncheck-mcp-server": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server@0.6.2"
],
"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>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"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>"
}
}
}
}{
"servers": {
"retentioncheck-mcp-server": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server@0.6.2"
],
"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>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_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>"
}
}
}
}{
"mcpServers": {
"retentioncheck-mcp-server": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server@0.6.2"
],
"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>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
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 — onlPOSTGRES_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. OptMYSQL_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 reqRETENTIONCHECK_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.Distributed as npm, listed under Databases. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/brianfofficial/retentioncheck-v2. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/retentioncheck-mcp-server/)
HTML
<a href="https://mcpnav.net/server/retentioncheck-mcp-server/"><img src="https://mcpnav.net/badge/retentioncheck-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>