Verified OfficialVendor MaintainedHosted on posthog.com
PostHog logo

PostHog Official MCP Server

Install Now

PostHog MCP: actions, dashboards, insights, feature flags, experiments, surveys, event definitions, logs, errors, docs-search, organization/project management. EU: mcp-eu.posthog.com. OAuth or API key.

What is PostHog?

PostHog posthog mcp: actions, dashboards, insights, feature flags, experiments, surveys, event definitions, logs, errors, docs-search, organization/project management. eu: mcp-eu.posthog.com. oauth or api key.. The official PostHog MCP server provides AI agents with standardized access to PostHog's services, enabling powerful automation and integration capabilities that enhance developer productivity and streamline workflows.

This official MCP server is maintained and verified by PostHog, ensuring reliability, security, and up-to-date functionality. Unlike community-maintained servers, this official integration provides long-term support, comprehensive documentation, and direct vendor assistance. The server is hosted on posthog.com, guaranteeing secure and reliable access to PostHog's services.

Whether you're building AI-powered applications, automating workflows, or enhancing your development tools, the PostHog MCP server provides a standardized way to connect AI agents with PostHog's extensive platform capabilities. This integration enables natural language interactions with PostHog, making it easier than ever to leverage PostHog's features through AI assistants like Claude, ChatGPT, and Cursor.

Installation Instructions

Installation Instructions
Add PostHog to your MCP-compatible client
https://mcp.posthog.com/mcp
Cursor logoCursor Instructions
1

Go to Settings → Cursor Settings

2

Click "Add new global MCP Server"

3

Paste the MCP configuration into mcp.json and restart

Install with Cursor

Or manually add to your mcp.json:

{ "mcpServers": { "posthog": { "url": "https://mcp.posthog.com/mcp" } } }

PostHog MCP Server Capabilities

The official PostHog MCP server enables AI agents to:

  • Perform real-time web searches and information retrieval
  • Extract and summarize content from search results
  • Access up-to-date information from the web
  • Filter and rank search results intelligently
  • Combine multiple search sources for comprehensive answers
  • Access PostHog's REST APIs and endpoints programmatically

These capabilities make it easy for AI agents to work with PostHog as part of a larger automation strategy, enabling seamless integration between AI assistants and your existing tools.

Available Tools

The PostHog MCP server provides 12 tools for AI agents to interact with the platform. Use the search below to find specific tools.

Tool NameDescription
action-listList actions
create-feature-flagCreate feature flag
dashboard-listList dashboards
docs-searchSearch PostHog docs
error-detailsGet error details
experiment-listList experiments
insight-listList insights
list-errorsList errors
organization-getGet organization
project-getGet project
query-runRun HogQL or analytics query
survey-listList surveys

Last updated: March 1, 2026 at 12:00 PM

Common Use Cases

Automated Workflow Management

AI agents can use the PostHog MCP server to automate repetitive tasks and manage workflows within PostHog's platform.

Data Retrieval and Analysis

The MCP server allows AI agents to query and retrieve data from PostHog, enabling intelligent data analysis and insights.

Integration with Development Tools

Developers can integrate PostHog capabilities directly into their AI coding assistants for seamless workflows.

Frequently Asked Questions

How do I get a PostHog API key?

Visit https://posthog.com, create an account, and generate an API key from your dashboard. Most tools offer a free tier to get started, making it easy to begin using the PostHog MCP server.

Is this the official PostHog MCP server?

Yes, this MCP server is officially provided and maintained by PostHog. The endpoint https://mcp.posthog.com/mcp is hosted on their official domain posthog.com, ensuring reliability and security.

What permissions does PostHog MCP need?

The PostHog MCP server requires appropriate API credentials and permissions based on the operations you want to perform. Check the documentation for specific permission requirements.

Can I use PostHog MCP with multiple clients?

Yes, you can configure the same MCP server across Cursor, Claude Desktop, Cline, and other MCP-compatible clients simultaneously. Each client maintains its own configuration.

Is PostHog MCP server free?

The MCP server itself is free to use, but you may need a PostHog account and API access, which may have its own pricing tiers. Check https://posthog.com for current pricing information.

What can PostHog MCP server do?

The PostHog MCP server enables AI agents to search the web and retrieve information. PostHog MCP: actions, dashboards, insights, feature flags, experiments, surveys, event definitions, logs, errors, docs-search, organization/project management. EU: mcp-eu.posthog.com. OAuth or API key. This allows you to interact with PostHog's platform through natural language commands in your AI assistant.

Troubleshooting

Connection Failed

Ensure your API key is correctly configured and your network allows outbound connections to posthog.com. Verify that the MCP endpoint URL https://mcp.posthog.com/mcp is accessible from your network.

Authentication Error

Verify your API key is valid and has not expired. Generate a new key from https://posthog.com if needed. Make sure you're using the correct authentication method as specified in the documentation.

Server Not Responding

Check PostHog's status page for any ongoing incidents. Try restarting your MCP client and verify that the server endpoint is correct. If issues persist, consult the official documentation or support channels.

Related MCP Servers

Explore other official MCP servers that work well with PostHog:

Web search, AI agent, and content extraction via You.com APIs
Access Morningstar data, research, and capabilities through specialized MCP tools for global securities
ICD-10 Codes connector: lookup code, search codes (by code or description), validate code (billable), get hierarchy, get by category (chapter/category), get by body system (procedure codes). ICD-10-CM and ICD-10-PCS.

About Model Context Protocol

The Model Context Protocol (MCP) is an open standard that enables AI models to securely connect to external APIs, tools, and data sources. This official MCP server from PostHog provides standardized access to their services, allowing AI agents to interact with PostHog's platform seamlessly.

To manage all your MCP servers in one place, use Apigene's MCP Gateway, which provides centralized management, security, and governance for all your MCP server connections.

Learn more about MCP in our complete guide or browse our FAQ for common questions.

Server Information

Domain

posthog.com

MCP Endpoint

https://mcp.posthog.com/mcp