List Analytics Connections
list_connectionsList configured analytics connections (Google accounts or Clarity projects) to see what's available before using other tools.
Instructions
List every configured connection (Google account or Clarity project) available to this MCP server.
Connections are set up once, outside of the LLM conversation, via the CLI (npm run cli -- add-google <name> or npm run cli -- add-clarity <name> --token <token>) and are stored in ~/.analytics-mcp-server, independent of any single project — the same connection can be reused across any project by referring to it by name.
Every other tool in this server takes a "connection" argument matching one of the names returned here.
Args:
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON format: { "connections": [ { "name": string, "type": "google" | "clarity", "label": string, "createdAt": string } ] }
Use when: "What analytics connections do I have set up?" or before calling any ga4_/gsc_/clarity_ tool if the connection name is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |