Skip to main content
Glama

PostHog MCP Servers

PostHog is an open-source product analytics suite that helps teams build better products

60 open-source servers · 0 connectors · posthog.com ↗

Official

Published by PostHog itself.

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    A Model Context Protocol server that enables Claude Desktop users to interact directly with PostHog, allowing them to view projects and create annotations through natural language commands.
    10
    MIT

Connectors

Hosted endpoints you add to Claude, ChatGPT or any other MCP client by URL – nothing to install.

No PostHog connector yet. Self-host one of the servers below, or submit one.

Open-source servers

Code you run yourself, locally or on your own infrastructure.

Built for PostHog (19)

  • Why this server?

    Sends MCP usage analytics events to PostHog, configurable by project key, host/region, app and environment tags, with optional pseudonymous caller IDs derived from a salted HMAC of the API key.

    A
    license
    A
    quality
    B
    maintenance
    Enables ranked, story-grouped news search in any language with exact article counts, trends and full story coverage, alongside research-agent runs that build verified event datasets, company news, monitors and reusable company lists. It is hosted as a stateless HTTP endpoint where each user supplies their own API key.
    15
    MIT
  • Why this server?

    Allows listing projects, creating annotations with optional timestamps, getting and searching insights, and searching documentation online via PostHog's API.

    A
    license
    B
    quality
    D
    maintenance
    Enables interaction with PostHog analytics platform, allowing users to list projects, create annotations, and search insights through natural language in Claude Desktop.
    5
    MIT
  • Why this server?

    Provides tools to query PostHog analytics data, including fetching saved insights, listing recent events, running ad-hoc trends queries, looking up person profiles, and retrieving feature flag configurations.

    A
    license
    B
    quality
    D
    maintenance
    Enables AI agents to query PostHog analytics data directly via tool calls, including insights, events, feature flags, trends, and persons.
    5
    MIT
  • Why this server?

    Provides tools for querying events, persons, insights, dashboards, feature flags, cohorts, experiments, and actions from a PostHog instance.

    A
    license
    A
    quality
    F
    maintenance
    Connects AI assistants to PostHog to query events, persons, insights, dashboards, feature flags, cohorts, and experiments through the Model Context Protocol.
    13
    87 npm
    MIT
  • Why this server?

    Provides tools for retrieving and assembling context from PostHog's documentation, enabling agents to answer questions about PostHog's JavaScript SDK, including custom events, identification, and configuration.

    A
    license
    A
    quality
    D
    maintenance
    MCP server that serves PostHog JavaScript SDK documentation to coding agents via efficient retrieval, offering tools to query and assemble cited context for tasks like capturing custom events.
    3
    MIT
  • Why this server?

    Logs product changes as PostHog annotations and grades their impact using PostHog analytics, with statistical power calculations, trend/seasonality adjustment, and operator-traffic exclusion.

    A
    license
    A
    quality
    B
    maintenance
    It enables solo builders to automatically log product changes to PostHog and later get statistically honest verdicts on whether those changes moved key metrics, without needing enough traffic for A/B tests.
    2
    7 npm
    MIT
  • Why this server?

    Provides tools for interacting with a PostHog instance, including HogQL queries, event and property definitions, session replays, project listing, and general REST API access with read-only by default and optional write support.

    A
    license
    A
    quality
    C
    maintenance
    Enables querying PostHog with HogQL, retrieving event and property definitions, session replays, and project lists, plus optional REST API access with safeguards against accidental writes and API key leakage.
    6
    8 npm
    MIT
  • Why this server?

    Provides analytics tracking for MCP server operations and tool usage monitoring

  • Why this server?

    Sends MCP tool call analytics events to PostHog when configured, enabling usage analytics for the MCP server.

    A
    license
    Not graded
    quality
    B
    maintenance
    Provides an email inbox for AI agents, enabling them to read mail that awaits a reply, respond in-thread, and retrieve attachments or their extracted text.
    1
    MIT
  • Why this server?

    Enables interaction with PostHog analytics, allowing users to list projects, create annotations with optional timestamps, view and search for insights, and retrieve detailed information about specific insights.

    A
    license
    Not graded
    quality
    Not graded
    maintenance
    A server that allows users to interact with PostHog analytics platform through Claude Desktop, enabling listing projects, creating annotations, searching insights, and accessing documentation.
    1
    MIT
  • Why this server?

    Provides tools for managing PostHog feature flags, retrieving error analytics, and interacting with PostHog data through the MCP server.

    A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables interaction with PostHog's product analytics platform through natural language, allowing users to manage feature flags, view errors, and access other platform features.
    1
    MIT
  • Why this server?

    Provides tools to interact with PostHog's analytics platform, enabling management of events, users, feature flags, and other PostHog resources.

  • Why this server?

    Integration with PostHog analytics to capture MCP tool calls and session events.

    A
    license
    Not graded
    quality
    Not graded
    maintenance
    A minimal MCP server built with NestJS to test PostHog MCP analytics integration, exposing mocked tools for trends and funnel analysis.
    ISC
  • Why this server?

    Provides tools for interacting with PostHog's product analytics API, including listing projects, querying events and insights (trends, funnels, retention), managing feature flags, and creating annotations.

  • Why this server?

    Provides a preset for PostHog's CLI MCP surface, enabling agents to query PostHog analytics with cached tool discovery and token authentication via an environment file.

    A
    license
    Not graded
    quality
    D
    maintenance
    A persistent local MCP relay that caches tool discovery, keeps upstream servers warm, and allows agents to hot-add or refresh MCP servers through management tools.
    8 npm
    MIT
  • Why this server?

    Provides tools to interact with a self-hosted PostHog instance, enabling analytics queries, feature flag management, and product insights.

    A
    license
    Not graded
    quality
    B
    maintenance
    Enables interaction with a self-hosted PostHog instance through MCP, providing access to PostHog analytics and product data.
    3 npm
    MIT
  • Why this server?

    Provides tools for interacting with PostHog Analytics API, allowing AI agents to fetch events, search persons, and list saved insights from a PostHog project.

  • Why this server?

    Provides tools for interacting with the PostHog REST API, enabling management and querying of projects, insights, feature flags, and experiments, including running HogQL queries.

  • Why this server?

    Provides tools for interacting with PostHog, enabling agents to query and act on product analytics, session replays, errors, feature flags, experiments, surveys, warehouse data, and related product context.

    A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP-compatible clients to query and act on a self-hosted product analytics platform, including analytics data, session replays, errors, feature flags, surveys, and SQL-based insights through natural-language tools.
    MIT

Multi-platform servers that include PostHog (40)

  • Dejodejohq · integrates 2 services

    Supports manually signing in to PostHog in a real browser window and keeps the resulting session, so Dejo can later replay learned browsing routes on PostHog without automating credentials or SSO.

  • classifinder-mcpClassiFinder · integrates 54 services

    Detects and redacts PostHog API keys in text.

  • SiteBay MCP Serversitebay · integrates 6 services

    Provides API proxy services through SiteBay for PostHog integration (coming soon)

  • eightytwentyh3692 · integrates 4 services

    Receives anonymous per-tool-call usage records for telemetry, including tool name, outcome, duration, result count, fixed options, and app/server version metadata, while excluding search text, context, results, IP address, and identifiers; DNT/GPC opt-out is honored.

  • ELC Conference MCP Ticketsmarian-kamenistak · integrates 2 services

    Sends MCP usage events (tool calls and usage telemetry) to PostHog so the maintainers can track how the conference server is used.

  • mobile-docs-mcpzekkontro · integrates 21 services

    Provides access to live PostHog SDK documentation, including full-text search, package registry lookup, and open GitHub issues.

  • loopbackjoshidikshant · integrates 3 services

    Enables ingestion of events from PostHog as feedback items into the queue, so agents can fix them.

  • gtm-tag-architectjarnielcataluna · integrates 4 services

    Integrates PostHog tracking into GTM, providing diagnostic and remediation capabilities for PostHog tags.

  • TokenEnrich MCP Serverbarnsbytarquin · integrates 9 services

    Detects whether a company uses PostHog as part of its technology stack.

  • Mogut — App Store Growth MCPerayendes · integrates 3 services

    Connects PostHog as a revenue data source to enable revenue-per-keyword analysis in App Store growth reports.