Connect Claude & AI Assistants (MCP)
Ask Claude (and other MCP-compatible AI tools) questions about your Logspot analytics — events, users, funnels, retention, revenue, companies, and profiles — over a secure, read-only connection.
Logspot ships a hosted MCP server (Model Context Protocol) so you can connect Claude — or any MCP-compatible AI assistant — directly to your analytics and just ask questions in plain language. No SQL, no dashboards, no exporting CSVs.
MCP is an open standard for connecting AI assistants to external tools and data. Logspot's server is remote (hosted by us), OAuth-secured, and read-only — Claude can query your data but can never change it.
What You Can Ask
Once connected, ask Claude things like:
- "How many signups did we get last week, broken down by plan?"
- "What's the 30-day retention for users who completed onboarding?"
- "Show me the top companies by revenue this month."
- "What did
jane@acme.comdo before they upgraded?" - "Which step of the checkout funnel drops off the most?"
Claude calls the matching Logspot tool, scopes it to your organization, and answers from live data.
Connect Claude.ai
- In Claude, open Settings → Connectors (web or desktop).
- Choose Add custom connector.
- Enter the Logspot MCP URL:
https://api.logspot.io/mcp - Click Connect and complete the sign-in — Claude opens Logspot's secure login (OAuth) in a new window. Approve access for the organization you want Claude to read.
- Done. Start a new chat and ask one of the questions above.
See Anthropic's custom connectors guide for the exact menu locations in your Claude plan.
Connect Claude Code
From your terminal:
claude mcp add --transport http logspot https://api.logspot.io/mcpClaude Code walks you through the same OAuth sign-in on first use. Then ask it about your product analytics inside any coding session.
What Claude Can Access
Every tool is read-only and scoped to the organization you authorize — the same permissions as an owner/admin viewing the dashboard. Available tools cover:
| Area | Examples |
|---|---|
| Analytics | event counts, daily/cumulative trends, unique users, property breakdowns, search |
| Funnels & retention | multi-step conversion, cohort retention |
| Revenue | totals, time series, by attribution/property, top accounts, LTV cohorts |
| Companies | top companies, company metrics, revenue, and most-active users |
| Profiles & sessions | a person's activity, pages, referrers, device/geo, and sessions (looked up by email or user ID) |
Privacy & Security
- OAuth, not API keys. You authenticate through Logspot's normal login; no
long-lived secret is pasted into Claude. Access is limited to the
analytics:readscope. - Read-only. None of the tools can create, modify, or delete data.
- Organization-scoped. Claude only ever sees the organization you approved, and only if your account has owner/admin access to it.
- Revocable. Remove the connector in Claude, or revoke the connection from Logspot's settings, at any time.
- Consent-aware. Profile and analytics tools respect the same consent gating as the rest of Logspot — denied-analytics events are never counted.
Troubleshooting
- "Couldn't connect" / sign-in loops — make sure pop-ups are allowed for Claude, and that you're logged into the right Logspot organization.
- "No data" answers — confirm the connected organization actually has events in the time range you're asking about, and that your account has owner/admin access.
- Want write access or automations? MCP is read-only by design. Use the REST API or SDKs to send data.