If you're an AI reading this: skill.md has everything you need.Read it →
Explorer/MCP/smithery/PostHog

PostHog

REMOTE
smithery/PostHog

Manage dashboards, insights, and feature flags directly within your product analytics workflow. Run complex HogQL queries, launch A/B experiments, and monitor application logs to drive data-driven decisions. Streamline development by creating surveys and searching documentation for seamless platform integration.

○ Remote (HTTP) Server
This server runs on the internet and communicates over HTTP. It does not have direct access to your local filesystem or environment variables.
Tools
46
Indexed
73d ago
Transport
Remote / HTTP
Liveness
● Live
Uptime
100%based on 2 checks
Avg response
491ms
← older · newer →
Security Scan
Security scan pending — this server has not yet been analyzed.
Risk Surface
Risk surface analysis pending — tool annotation scanning is coming soon.
Publisher Verification
Not yet verified by the Official MCP Registry.
Endpoint
https://posthog.run.tools
Tools (46)
add-insight-to-dashboard
Add an existing insight to a dashboard. Requires insight ID and dashboard ID. Optionally supports layout and color customization.
dashboard-create
Create a new dashboard in the project. Requires name and optional description, tags, and other properties.
dashboard-delete
Delete a dashboard by ID (soft delete - marks as deleted).
dashboard-get
Get a specific dashboard by ID. The response will include insights / tiles that are on the dashboard.
dashboards-get-all
Get all dashboards in the project with optional filtering. Can filter by pinned status, search term, or pagination.
dashboard-update
Update an existing dashboard by ID. Can update name, description, pinned status or tags.
dashboard-reorder-tiles
Reorder tiles (insights) on a dashboard. Provide an array of tile IDs in the desired order from top to bottom. First, use dashboard-get to retrieve the dashboard and see the current tile IDs, then provide the tile IDs in your desired order.
docs-search
Use this tool to search the PostHog documentation for information that can help the user with their request. Use it as a fallback when you cannot answer the user's request using other tools in this MCP. Only use this tool for PostHog related questions.
error-details
Use this tool to get the details of an error in the project.
list-errors
Use this tool to list errors in the project.
create-feature-flag
Creates a new feature flag in the project. Once you have created a feature flag, you should: Ask the user if they want to add it to their codebase, Use the "search-docs" tool to find documentation on how to add feature flags to the codebase (search for the right language / framework), Clarify where it should be added and then add it.
delete-feature-flag
Delete a feature flag in the project.
feature-flag-get-all
Get all feature flags in the project.
feature-flag-get-definition
Get the definition of a feature flag. You can provide either the flagId or the flagKey. If you provide both, the flagId will be used.
update-feature-flag
Update a new feature flag in the project. To enable a feature flag, you should make sure it is active and the rollout percentage is set to 100 for the group you want to target. To disable a feature flag, you should make sure it is inactive, you can keep the rollout percentage as it is.
experiment-get-all
Get all experiments in the project.
experiment-create
Create a comprehensive A/B test experiment. PROCESS: 1) Understand experiment goal and hypothesis 2) Search existing feature flags with 'feature-flags-get-all' tool first and suggest reuse or new key 3) Help user define success metrics by asking what they want to optimize 4) MOST IMPORTANT: Use 'event-definitions-list' tool to find available events in their project 5) For funnel metrics, ask for specific event sequence (e.g., ['product_view', 'add_to_cart', 'purchase']) and use funnel_steps parameter 6) Configure variants (default 50/50 control/test unless they specify otherwise) 7) Set targeting criteria if needed.
experiment-delete
Delete an experiment by ID.
experiment-update
Update an existing experiment by ID. Can update name, description, lifecycle state, variants, metrics, and other properties. RESTART WORKFLOW: To restart a concluded experiment, set end_date=null, conclusion=null, conclusion_comment=null, and optionally set a new start_date. To make it draft again, also set start_date=null. COMMON PATTERNS: Launch draft (set start_date), stop running (set end_date + conclusion), archive (set archived=true), modify variants (update parameters.feature_flag_variants). NOTE: feature_flag_key cannot be changed after creation.
experiment-get
Get details of a specific experiment by ID.
experiment-results-get
Get comprehensive experiment results including all metrics data (primary and secondary) and exposure data. This tool fetches the experiment details and executes the necessary queries to get complete experiment results. Only works with new experiments (not legacy experiments).
insight-create-from-query
Create an insight from a query that you have previously tested with 'query-run'. You should check the query runs, before creating an insight. Do not create an insight before running the query, unless you know already that it is correct (e.g. you are making a minor modification to an existing query you have seen).
insight-delete
Delete an insight by ID (soft delete - marks as deleted).
insight-get
Get a specific insight by ID.
insight-query
Execute a query on an existing insight to get its results/data. Provide the insight ID to retrieve the current query results.
insights-get-all
Get all insights in the project with optional filtering. Can filter by saved status, favorited status, or search term.
insight-update
Update an existing insight by ID. Can update name, description, filters, and other properties. You should get the insight before update it to see it's current query structure, and only modify the parts needed to answer the user's request.
query-run
You should use this to answer questions that a user has about their data and for when you want to create a new insight. You can use 'event-definitions-list' to get events to use in the query, and 'event-properties-list' to get properties for those events. It can run a trend, funnel or HogQL query. Where possible, use a trend or funnel rather than a HogQL query, unless you know the HogQL is correct (e.g. it came from a previous insight.).
query-generate-hogql-from-question
This is a slow tool, and you should only use it once you have tried to create a query using the 'query-run' tool, or the query is too complicated to create a trend / funnel. Queries project's PostHog data based on a provided natural language question - don't provide SQL query as input but describe the output you want. When giving the results back to the user, first show the SQL query that was used, then provide results in reasily readable format. You should also offer to save the query as an insight if the user wants to.
organization-details-get
Get the details of the active organization.
organizations-get
Get the organizations the user has access to.
switch-organization
Change the active organization from the default organization. You should only use this tool if the user asks you to change the organization - otherwise, the default organization will be used.
projects-get
Fetches projects that the user has access to in the current organization.
switch-project
Change the active project from the default project. You should only use this tool if the user asks you to change the project - otherwise, the default project will be used.
survey-create
Creates a new survey in the project. Surveys can be popover or API-based and support various question types including open-ended, multiple choice, rating, and link questions. Once created, you should ask the user if they want to add the survey to their application code.
survey-get
Get a specific survey by ID. Returns the survey configuration including questions, targeting, and scheduling details.
surveys-get-all
Get all surveys in the project with optional filtering. Can filter by search term or use pagination.
survey-update
Update an existing survey by ID. Can update name, description, questions, scheduling, and other survey properties.
survey-delete
Delete a survey by ID (soft delete - marks as archived).
surveys-global-stats
Get aggregated response statistics across all surveys in the project. Includes event counts (shown, dismissed, sent), unique respondents, conversion rates, and timing data. Supports optional date filtering.
survey-stats
Get response statistics for a specific survey. Includes detailed event counts (shown, dismissed, sent), unique respondents, conversion rates, and timing data. Supports optional date filtering.
logs-query
Search and query logs in the project. Supports filtering by severity levels (trace, debug, info, warn, error, fatal), service names, date range, and free text search. Returns log entries with their attributes, timestamps, and trace information. Supports pagination via cursor.
logs-list-attributes
List available log attributes in the project. Use this to discover what attributes you can filter on when querying logs. Supports filtering by attribute type (log or resource) and searching by attribute name.
logs-list-attribute-values
Get possible values for a specific log attribute. Use this to discover what values exist for a given attribute key, which helps when building log queries with filters.
entity-search
Search for PostHog entities by name or description. Can search across multiple entity types including insights, dashboards, experiments, feature flags, notebooks, actions, cohorts, event definitions, and surveys. Use this to find entities when you know part of their name. Returns matching entities with their IDs and URLs.
demo-mcp-ui-apps
Demo tool for testing MCP Apps SDK integration. Returns sample data that is displayed in an interactive UI app. Use this to verify that MCP Apps are working correctly.
Is this your server?
Create a free RNWY account to connect your on-chain identity to this server. MCP server claiming is coming — register now and you'll be first in line.
Create your account →
More from smithery
Octagon
AI agents for financial research. Query SEC filings, analyze company data, and retrieve market intelligence.
Jam
Capture and report bugs with automatic screen recordings and environment details. Create, view, and manage bug reports with full context.
Harvest
Log billable hours, manage projects, and send invoices. Track time across tasks, review team capacity, and generate expense reports.
X(Twitter) MCP Server
A server to create drafts of X(Twitter) posts, threads using LLMs and post directly from the chat.
Aiwyn Tax
Automate tax workflow tasks and manage client engagements. Track deadlines, organize documents, and handle billing for accounting firms.
Zoho mail
Zoho Mail is a secure and ad-free email hosting platform with collaboration tools, calendar integration, and extensive administrative controls
Similar servers
Knowledge Base Server
Retrieve and list content from various knowledge bases effortlessly. Enhance your applications with semantic search capabilities to find relevant information quickly. Utilize a structured approach to manage and access knowledge efficiently.
YouTube Server
Interact with YouTube to search videos, get details, and manage transcripts.
Persona Explorer
Create personas of real people from their public web content. Ask questions and get answers grounded in their actual statements. Switch between personas and revisit saved profiles anytime.
open.video MCP
AI-powered video platform management — upload videos, manage channels, track analytics, and organize playlists through any MCP-compatible AI client
Skills-MCP-Server
Index and search reusable skills from local folders. Discover relevant skills with fast keyword ranking and load their content on demand. Keep workflows portable and offline-friendly while sharing skills across projects.
Logo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content workflows with reliable direct logo URLs.
Indexed from Smithery · Updates nightly
View on Smithery →