Skip to content
pugdocs

Ask AI agents about your analytics

Pug's MCP server at /mcp lets Claude Code, Cursor and other MCP clients run insights, browse events and look up profiles with a project's private key.

MCP

Pug serves its analytics API as a Model Context Protocol server at /mcp, so an agent can answer a question about your data without you writing the query.

New

  • Twelve read-only tools run insights, browse events and activity, look up profiles by Pug ID or by your own ID, and check an erasure request.
  • A client connects with a project’s private key, sent as x-api-key or as a bearer token.

Type to search...

↑↓ navigate↵ selectEsc close