Skip to content
appsgit

Pug

Pug is an MCP server that adds data and analytics tools to AI assistants such as Claude Code, Cursor and VS Code. Query events, funnels, retention and profiles in Pug product analytics, and build dashboards. It has 111 GitHub stars, is released under the AGPL-3.0 license and runs as a remote server at https://api.pug.sh/mcp.

github.com/pug-sh/pug (opens in a new tab)

Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error

Install Pug

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

Settings > Connectors > Add custom connector
URL: https://api.pug.sh/mcp

Remote servers are added as a custom connector, not in claude_desktop_config.json.

Claude Code

claude mcp add --transport http pug "https://api.pug.sh/mcp"

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "pug": {
      "url": "https://api.pug.sh/mcp"
    }
  }
}

VS Code

.vscode/mcp.json
{
  "servers": {
    "pug": {
      "type": "http",
      "url": "https://api.pug.sh/mcp"
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About Pug

Pug is an open-source product analytics platform. Capture events, identify the people behind them, and explore behavior through funnels, retention, trends, segmentation, and user-flow analysis, all surfaced on customizable dashboards.

  • analytics
  • clickhouse
  • connectrpc
  • nats
  • dpdp
  • gdpr
  • google-analytics
  • web-analytics
  • mixpanel
  • posthog

FAQ

Pug FAQ

Still curious? Email info@appsgit.com.

How do I install the Pug MCP server?

It is a remote MCP server at https://api.pug.sh/mcp. Add it with claude mcp add --transport http in Claude Code, as a url entry in .cursor/mcp.json or .vscode/mcp.json, or as a custom connector in the Claude apps.

Is Pug free?

The server is open source under the AGPL-3.0 license, so running it is free. It does not declare any required API key.

Is Pug actively maintained?

The most recent commit was on Nov 16, 2026. The latest release is v0.0.55, published Nov 10, 2026. appsgit only lists MCP servers with a commit in the last six months.