Install

Connected in two minutes.
Every client, every option.

npx for Claude Desktop and Cursor, the connector directory for ChatGPT, direct key or OAuth2 for everything else — with troubleshooting for each path.

Pick your client ↓ Get an API key →

Prerequisite: a free account at account.mcpanalytics.ai

# claude_desktop_config.json { "mcpServers": { "mcpanalytics": { "command": "npx", "args": ["-y", "@mcp-analytics/mcp-analytics"], "env": { "MCP_ANALYTICS_API_KEY": "mcp_…" } } } } # restart the client — the tools appear
Setup

Three steps to your first analysis

1

Get your API key

Sign up at account.mcpanalytics.ai, go to account settings, and click Reveal API Key. Copy the key — it starts with mcp_.

You get 500 free credits on signup — enough for a first Brief, or two Snapshots. No credit card required.

2

Pick a connection method

Choose the option that fits your setup. All three connect to the same platform with the same tools.

Option B: Direct API key

No npm needed. Your MCP client connects directly to our API via HTTP. Requires a client that supports custom headers on Streamable HTTP transport.

// Claude Desktop config

{
  "mcpServers": {
    "mcpanalytics": {
      "type": "http",
      "url": "https://api.mcpanalytics.ai/mcp/api-key",
      "headers": {
        "X-API-Key": "mcp_your_key_here"
      }
    }
  }
}

Option C: OAuth2 (no API key)

Zero-config authentication. A browser window opens for login on first connection. No API key to manage. Works if your client supports MCP OAuth2.

// Claude Desktop config

{
  "mcpServers": {
    "mcpanalytics": {
      "type": "http",
      "url": "https://api.mcpanalytics.ai/auth0"
    }
  }
}

Browse tools first (no account needed)

Explore the full tool catalog before signing up. Public discovery endpoint — no authentication required. See every analysis available.

# Browse the tool catalog
curl -s https://api.mcpanalytics.ai/.well-known/mcp.json | jq '.tools'

# Or via MCP protocol (for MCP clients)
POST https://api.mcpanalytics.ai/mcp/discover
{"jsonrpc":"2.0","method":"tools/list","id":1,"params":{}}
3

Restart and analyze

Restart your MCP client. MCP Analytics is now available as a tool. Try one of these to get started:

Try saying:

  • "Upload sales.csv and find which products drive the most revenue"
  • "What statistical test should I use for this survey data?"
  • "Run customer segmentation on my Shopify export"
  • "Forecast next quarter's revenue from this time series"
Resources

Go deeper

Ready to start?

Free account. 500 credits. No credit card.

Create free account Star on GitHub ★
WHERE NEXT
referenceRead the docs →Tools, tiers, datasets, and citations — the full reference. data inConnectors →Query GA4 and Search Console directly from chat. for agentsThe agent experience →What your AI assistant can do once it's connected.