
Logly
Connects Claude or any MCP client to your Logly analytics account through their API. You get tools to pull traffic stats, breakdown reports by page or referrer, funnel drop-off analysis, real-time visitor counts, and custom events. Handles date ranges and period comparisons. Also surfaces the install snippet for new sites. Setup is straightforward: run via npx with your API key in the environment. Useful when you want to query web analytics conversationally instead of opening the dashboard, or when building workflows that need to check metrics and react to traffic patterns or conversion bottlenecks.
- tools
- 8
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- May 18, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
logly_list_sitesList every site in your account with its site ID — start here.
List every site in your account with its site ID — start here.
No parameter schema in public metadata yet.
logly_statsPageviews, sessions, visitors, bounce rate, avg duration, daily series, previous-period comparison.
Pageviews, sessions, visitors, bounce rate, avg duration, daily series, previous-period comparison.
No parameter schema in public metadata yet.
logly_breakdownTop pages, referrers, countries and device/browser split.
Top pages, referrers, countries and device/browser split.
No parameter schema in public metadata yet.
logly_realtimeVisitors active right now.
Visitors active right now.
No parameter schema in public metadata yet.
logly_eventsCustom event counts.
Custom event counts.
No parameter schema in public metadata yet.
logly_funnelsList a site's conversion funnels and their steps.
List a site's conversion funnels and their steps.
No parameter schema in public metadata yet.
logly_funnel_resultsCompletion counts and drop-off per funnel step.
Completion counts and drop-off per funnel step.
No parameter schema in public metadata yet.
logly_install_snippetThe <script> tag to add Logly to a site's <head>.
The <script> tag to add Logly to a site's <head>.
No parameter schema in public metadata yet.
Sponsors
Configuration
LOGLY_API_KEY*secretYour Logly API key — create one in Settings → API keys.
Readme
Logly MCP server
Query your Logly web analytics from Claude, Cursor, or any Model Context Protocol client.
Logly is privacy-first web analytics — under 1 KB, cookie-free, GDPR compliant by design. This server exposes your analytics over MCP so an AI assistant can answer questions like "how did traffic change this week?" or "where is my signup funnel losing people?" — and even hand you the install snippet for a new site.
Requirements
- Node.js 18 or newer
- A Logly account and an API key — create one in Settings → API keys in your
Logly dashboard. The key looks like
logly_a1b2c3...and is shown only once.
Setup
The server runs via npx — no install step needed.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"logly": {
"command": "npx",
"args": ["-y", "@logly-uk/mcp"],
"env": { "LOGLY_API_KEY": "logly_your_key_here" }
}
}
}
Restart Claude Desktop.
Claude Code
claude mcp add logly -e LOGLY_API_KEY=logly_your_key_here -- npx -y @logly-uk/mcp
Cursor
Details
- Repository
- github.com/logly-uk/logly-mcp
- Website
- logly.uk/mcp
- Category
- Monitoring & Observability
- Package
@logly-uk/mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active