logly-uk avatar

Logly

logly-uk/logly-mcp

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 tools

Public 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*secret

Your 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


View the full README on GitHub

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

Related Monitoring & Observability MCP servers

View all
1marlon-trujillo-jaramillo avatarshotlogmarlon-trujillo-jaramillo/shotlog-mcpCapture macOS windows into a numbered, captioned screenshot log and export it as a report.0stars
2mgthompo1 avatarAnchorr Mcpmgthompo1/anchorr-mcpAgent-native CRM. 25 tools — contacts, deals, sequences, enrichment waterfall, audit log.0stars
3morphious33453 avatarCAN-TAP Verifiedmorphious33453/can-tap-verified-mcpFree dofollow backlinks for Canadian businesses. Claim, verify, and track NFC tap analytics.0stars
4mshegolev avatarSonarqube Mcpmshegolev/sonarqube-mcpSonarQube MCP — projects, metrics, quality gate, issues, worst-metric ranking.0stars
5mishaal-cloud avatarAscend GTM Gatewaymishaal-cloud/ascend-gtm-ops34-tool GTM gateway: CRMs, ad platforms, analytics, Google Workspace, AWS, and LLM orchestration.0stars
6nftechie avatarTransition Mcpnftechie/transition-mcpAI-powered multisport coaching — workouts, training plans, and performance analytics.0stars