Skip to main content
Glama
hholen

@lodd/mcp-server

by hholen
README.md
# @lodd/mcp-server

First-party web analytics for AI agents. You add a 2KB script, Lodd collects your site's traffic, and your agent queries your own data over MCP. It's the analytics platform, not a connector to one.

42 MCP tools covering traffic, events, funnels, conversions, sources, performance, and actor analytics. No dashboard. Your agent queries structured JSON directly.

## Quick start

```bash
npx -y @lodd/mcp-server
```

Set `LODD_API_KEY` in your environment. Get a key at [lodd.dev](https://lodd.dev).

## Claude Code / Cursor

Add to your MCP config:

```json
{
  "mcpServers": {
    "lodd": {
      "command": "npx",
      "args": ["-y", "@lodd/mcp-server"],
      "env": {
        "LODD_API_KEY": "your-api-key"
      }
    }
  }
}
```

## Claude Desktop / claude.ai

Add `https://api.lodd.dev/mcp` as an MCP connector. OAuth handles auth automatically.

## What you can ask

- "How's traffic this week?"
- "Show me the pages with the highest bounce rate"
- "Build a funnel from homepage to signup to purchase"
- "Which traffic sources drive the most conversions?"
- "Something unusual is happening today. Investigate."

## Tools

42 tools across analytics, breakdowns, events, conversions, actors, annotations, trackable links, and account management. Full reference at [lodd.dev/docs](https://lodd.dev/docs).

## REST API

Same data is also available via REST at `api.lodd.dev/v1/`. API docs at [lodd.dev/api](https://lodd.dev/api). OpenAPI spec at [lodd.dev/openapi.yaml](https://lodd.dev/openapi.yaml).

## Pricing

Free up to 2,500 events/month. EUR 9.99/month for 100K events. All tools included on both tiers.

## Links

- [Documentation](https://lodd.dev/docs)
- [API reference](https://lodd.dev/api)
- [Agent setup instructions](https://lodd.dev/llms.txt)
- [lodd.dev](https://lodd.dev)

TDQS

A3.8/5.0

Scored across 40 tools

Disambiguation4/5

Most tools have distinct purposes, but some overlap exists among analytics retrieval tools like get_analytics, get_snapshot, get_timeseries, and get_realtime, which could cause misselection if descriptions aren't carefully read. Overall, the set is well-differentiated.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., get_analytics, create_annotation, list_members, share_site). No mixing of conventions, making it predictable for an agent.

Tool Count4/5

40 tools is on the higher side, but each addresses a specific analytics need (events, funnels, sessions, actors, etc.). While somewhat heavy, it remains justified for a comprehensive analytics platform.

Completeness4/5

Covers a wide range of analytics functionality including site management, detailed queries, events, funnels, actors, and API key management. Missing some CRUD operations (e.g., update/delete site, edit annotations) but core workflows are well-covered.

Maintenance

ActivityInactive
ResponsivenessNo issues