Logly for AI assistants
An MCP server that lets Claude, Cursor and other AI tools read your Logly analytics โ traffic, funnels and real-time visitors โ in plain language.
Ask your analytics in plain language
Once connected, your assistant can answer questions like:
No dashboards, no CSV exports โ the assistant pulls the numbers and explains them.
Connect it in a minute
1. Create an API key in Settings โ API keys in your Logly dashboard.
2. Add the server to your MCP client. On Claude Desktop the easiest way is the one-click extension:
Download the Logly extension and open it. Claude Desktop installs it and asks for your API key in a form โ no config file to edit.
Download Logly extension (.mcpb) โOr configure it by hand โ for Claude Code, Cursor, or to edit Claude Desktop's config yourself. It runs via npx, nothing to install:
claude_desktop_config.json{
"mcpServers": {
"logly": {
"command": "npx",
"args": ["-y", "@logly-uk/mcp"],
"env": { "LOGLY_API_KEY": "logly_your_key_here" }
}
}
}
claude mcp add logly -e LOGLY_API_KEY=logly_your_key_here -- npx -y @logly-uk/mcp
.cursor/mcp.json{
"mcpServers": {
"logly": {
"command": "npx",
"args": ["-y", "@logly-uk/mcp"],
"env": { "LOGLY_API_KEY": "logly_your_key_here" }
}
}
}
What your assistant can do
| Tool | Returns |
|---|---|
logly_list_sites | Every site in your account with its ID. |
logly_stats | Pageviews, sessions, visitors, bounce rate, daily series, previous-period comparison. |
logly_breakdown | Top pages, referrers, countries and device split. |
logly_realtime | Visitors active right now. |
logly_events | Custom event counts. |
logly_funnels | A site's conversion funnels and their steps. |
logly_funnel_results | Completion and drop-off per funnel step. |
logly_install_snippet | The tracking tag to add Logly to a site. |
The server is open source and MIT licensed โ published on npm as @logly-uk/mcp.
Logly is privacy-first web analytics โ under 1 KB, cookie-free, free up to 10,000 pageviews/month.
Get started free โ