# Pug (MCP server)

> 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.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/pug-sh/pug |
| GitHub stars | 111 |
| License | AGPL-3.0 |
| Language | Go |
| Transport | streamable-http |
| Packages | none (remote only) |
| Remote URL | https://api.pug.sh/mcp |
| Needs API key | no |
| Official | yes |
| Works with | Claude Code, Cursor, VS Code, Claude.ai, ChatGPT |
| Category | Data & analytics |
| Latest release | v0.0.55 (Nov 10, 2026) |
| Last commit | Nov 16, 2026 |
| MCP registry name | sh.pug/pug |

## Install

### 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

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

### Cursor (.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [Yandex Metrika](https://appsgit.com/mcp-servers/yandex-metrika): Read-only Yandex Metrika (Яндекс Метрика) analytics: verifiable reports, comparisons and exports. (130 stars, MIT)
- [Spytrend](https://appsgit.com/mcp-servers/spytrend): Analytics, advertising: Facebook/Meta, TikTok, competitor ads. (86 stars, MIT, official)
- [MCP BigQuery Server](https://appsgit.com/mcp-servers/mcp-bigquery-server): A Model Context Protocol (MCP) server that provides secure, read-only access to BigQuery datasets. (148 stars, MIT)
- [Markifact - Ads & Analytics](https://appsgit.com/mcp-servers/markifact-ads-analytics): AI marketing agent for Google Ads, Meta, GA4, TikTok, LinkedIn, Shopify, HubSpot and more. (60 stars, MIT, official)
- [Muxinc MCP Server](https://appsgit.com/mcp-servers/muxinc-mcp-server): The official MCP Server for the Mux API. (182 stars, Apache-2.0, official, needs API key)
- [Everyrow MCP Server](https://appsgit.com/mcp-servers/everyrow-mcp-server): Give your AI a research team. Forecast, score, classify, or research every row of a dataset. (57 stars, MIT, official, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/pug
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
