Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Logly Server

FreeNot checked

Query your Logly web analytics — traffic, breakdowns, funnels, real-time visitors — from Claude, Cursor or any MCP client.

GitHubEmbed

About

Query your Logly web analytics — traffic, breakdowns, funnels, real-time visitors — from Claude, Cursor or any MCP client.

README

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

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
logly_list_sites List every site in your account with its site ID — start here.
logly_stats Pageviews, sessions, visitors, bounce rate, avg duration, daily series, previous-period comparison.
logly_breakdown Top pages, referrers, countries and device/browser split.
logly_realtime Visitors active right now.
logly_events Custom event counts.
logly_funnels List a site's conversion funnels and their steps.
logly_funnel_results Completion counts and drop-off per funnel step.
logly_install_snippet The <script> tag to add Logly to a site's <head>.

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
LOGLY_API_KEY yes Your Logly API key.
LOGLY_API_BASE no Override the API base URL (default https://app.logly.uk).

Links

MIT licensed.

from github.com/logly-uk/logly-mcp

Install Logly Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install logly-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add logly-mcp-server -- npx -y @logly-uk/mcp

FAQ

Is Logly Server MCP free?

Yes, Logly Server MCP is free — one-click install via Unyly at no cost.

Does Logly Server need an API key?

No, Logly Server runs without API keys or environment variables.

Is Logly Server hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Logly Server in Claude Desktop, Claude Code or Cursor?

Open Logly Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Logly Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs