# Convalytics MCP server

Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.

## Facts

- Endpoint: https://api.convalytics.dev/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: not graded (servers behind sign-in can't be scanned)
- Tools: 15
- Category: Data & databases · source: registry
- Repository: https://github.com/Dan-Cleary/convalytics
- Last probed: 2026-09-03 · first listed: 2026-04-23
- Directory page: https://gateturbo.com/mcp/convalytics · this document: https://gateturbo.com/mcp/convalytics.md · JSON: https://gateturbo.com/api/directory/servers/convalytics

## Tools (15)

- `list_projects`: List all Convalytics projects on the team this token belongs to. Useful when the agent needs to confirm the project it's querying against. N
- `get_usage`: Return the current month's custom-event usage, monthly quota, retention days, and plan name for the team.
- `top_pages`: Return the top pages for a specific project, ranked by views in a time window. Default window is the last 7 days. Use list_projects first if
- `top_referrers`: Return the top referring hosts for a specific project, ranked by visit count in a time window. Includes '(direct)' for visits with no referr
- `pageviews_count`: Count page views for a specific project in a time window. Page views are the automatic hits captured by the browser script tag (separate fro
- `events_count`: Count CUSTOM PRODUCT events for a specific project in a time window, optionally filtered to one event name and/or one user. Custom events ar
- `recent_events`: Return the most recent custom events for a specific project, optionally filtered to one event name and/or one user. PII (userEmail, userName
- `user_activity`: Composite snapshot of a specific user's activity on a project. Returns an identity block (visitorId, userEmail, userName, firstSeen, lastSee
- `weekly_digest`: Composite snapshot of a project's web analytics over a lookback window. Returns unique visitors, pageviews, sessions, bounce rate, average s
- `list_funnels`: List active funnels defined on a project. A funnel is a saved ordered sequence of steps (events or pageview paths) that Convalytics computes
- `get_funnel`: Return the full definition of one funnel by id: name, description, ordered steps, and conversion window.
- `create_funnel`: Create a new funnel on a project. Steps are 2–10 ordered events or pageview paths. conversionWindowMs caps how long a visitor has between co
- `update_funnel`: Patch an existing funnel. Any subset of name/description/steps/conversionWindowMs. Refuses updates on deleted funnels.
- `delete_funnel`: Soft delete a funnel. The row is retained with status='deleted' and excluded from list/get/compute. Idempotent — calling twice is a no-op. U
- `compute_funnel`: Run a funnel over a time window and return per-step visitor count, conversion from previous step, conversion from start, and average time to

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Convalytics to your gate (https://gateturbo.com/login?next=/discovery?connect=convalytics).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/convalytics/claude · Claude Desktop → https://gateturbo.com/mcp/convalytics/claude-desktop · ChatGPT → https://gateturbo.com/mcp/convalytics/chatgpt · Codex → https://gateturbo.com/mcp/convalytics/codex · Cursor → https://gateturbo.com/mcp/convalytics/cursor · Windsurf → https://gateturbo.com/mcp/convalytics/windsurf · VS Code → https://gateturbo.com/mcp/convalytics/vscode · Gemini CLI → https://gateturbo.com/mcp/convalytics/gemini-cli · OpenClaw → https://gateturbo.com/mcp/convalytics/openclaw · n8n → https://gateturbo.com/mcp/convalytics/n8n · A script or server → https://gateturbo.com/mcp/convalytics/script

### Direct: Claude Code

Add Convalytics to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http convalytics https://api.convalytics.dev/mcp
```

### Direct: Cursor

Add Convalytics to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "convalytics": {
      "url": "https://api.convalytics.dev/mcp"
    }
  }
}
```

### Direct: VS Code

Add Convalytics to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "convalytics": {
      "type": "http",
      "url": "https://api.convalytics.dev/mcp"
    }
  }
}
```

### Direct: Codex

Add Convalytics to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.convalytics]
url = "https://api.convalytics.dev/mcp"
```

### Direct: Claude

Add Convalytics as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Convalytics" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://api.convalytics.dev/mcp
```

### Direct: ChatGPT

Add Convalytics as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Convalytics" with the URL below.
3. Set authentication to none.

```
https://api.convalytics.dev/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
