Logly MCP server
OfficialLogly 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.
Related MCP server: Umami MCP Server
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/mcpCursor
Add to .cursor/mcp.json in your project (or the global one):
{
"mcpServers": {
"logly": {
"command": "npx",
"args": ["-y", "@logly-uk/mcp"],
"env": { "LOGLY_API_KEY": "logly_your_key_here" }
}
}
}Tools
Tool | What it does |
| List every site in your account with its site ID — start here. |
| Pageviews, sessions, visitors, bounce rate, avg duration, daily series, previous-period comparison. |
| Top pages, referrers, countries and device/browser split. |
| Visitors active right now. |
| Custom event counts. |
| List a site's conversion funnels and their steps. |
| Completion counts and drop-off per funnel step. |
| The |
Date filters
Stats tools accept a days window (7, 30 or 90 — defaults to 30) or an explicit
from / to pair (YYYY-MM-DD). If both are given, from/to wins.
Environment variables
Variable | Required | Purpose |
| yes | Your Logly API key. |
| no | Override the API base URL (default |
Links
Logly — https://logly.uk
MCP server page — https://logly.uk/mcp/
Public API reference — https://logly.uk/docs
MIT licensed.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceConnects Google Analytics 4 data to Claude, Cursor and other MCP clients, enabling natural language queries of website traffic, user behavior, and analytics data with access to 200+ GA4 dimensions and metrics.10235Apache 2.0
- Alicense-qualityAmaintenanceConnect your Umami Analytics to any MCP client to derive insights from natural language.29GoMIT
- AlicenseAqualityAmaintenanceEnables querying Rybbit Analytics data directly through MCP-compatible clients like Claude Code. It provides tools for monitoring website statistics, user sessions, error logs, funnels, and performance metrics via natural language.40324MIT
- Alicense-qualityCmaintenanceQuery your Surfa Analytics data using natural language through Claude Desktop, ChatGPT, or any MCP-compatible client. Turn your analytics into insights with AI.3MIT
Related MCP Connectors
Privacy-first web analytics. Query pageviews, referrers, trends, and AI insights.
Talk to your live-events CRM (campaigns, analytics, paid ads, segments) in Claude and ChatGPT.
GA4 conversion analyst inside Claude — funnel drops, traffic anomalies, device gaps, with numbers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly-uk/logly-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server