> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# What's a lightweight alternative to PostHog if I only need web analytics?

> If you only need web analytics, a lighter tool fits: nextanalytica for your agent, Plausible or Fathom for a dashboard, Umami to self-host.

Updated: 2026-12-01

If you only need web analytics, use a web analytics tool: nextanalytica if your agent should read the numbers and tell you what changed, Plausible or Fathom for one simple dashboard, Umami or Matomo to host it yourself. Stay with PostHog if you use its flags, experiments or replay.

## How do you do it?

1. Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls `get_tag`, shows you the change and asks before committing.
2. Connect your agent: in Claude Code, `claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp`, then `/mcp` to sign in.

## What can you ask your agent?

- "Where did visitors come from this month, and which channel converts?"

## Next steps

- [PostHog alternatives](/docs/compare/posthog-alternatives)
- [nextanalytica vs PostHog](/docs/compare/posthog)

Canonical address: https://nextanalytica.app/docs/answers/lightweight-posthog-alternative
