PostHog plugin for Codex
PostHog gives your AI agent direct access to your product analytics, feature flags, experiments, error tracking, surveys, logs, and LLM analytics. Ask questions about your data, create insights, toggle feature flags, analyze errors, search docs, and more — all from chat.
How to install PostHog in Codex
Its MCP server asks you to sign in to the service before its tools load.
codex plugin add posthog@openai-api-curatedopenai-api-curated is the name Codex gives OpenAI's curated list when it isn't signed in with ChatGPT (no sign-in, or an OpenAI API key). The openai-curated name is only offered after a ChatGPT sign-in, which we don't use, so we don't print a line for it. Command format from the Codex CLI reference (codex plugin add <plugin[@marketplace]>). Source: Codex CLI reference.
Signed in to Codex with ChatGPT? Type /plugins in Codex CLI and pick it from the OpenAI Curated tab, or open the Plugins tab in the ChatGPT desktop app. Start a new session afterwards so the plugin's skills and tools load. (OpenAI plugin docs)
New Codex plugins every Tuesday, install line ready to copy.
Stacks Weekly is one short email from GrokStacks and CodexStacks. Subscribe and get the free starter list: 20 Codex plugins worth installing first.
Confirmation email first. Unsubscribe anytime.
What it contains
Skills (1)
posthog— Analyze product data and manage product tooling in PostHog. Use when the user wants product analytics or insights, HogQL/SQL queries, feature flags, experiments and A/B tests, error tracking, session replay, surveys, LLM analytics, dashboards, data…
MCP servers (1)
posthog
App connectors (1)
posthog— ChatGPT app connection (sign-in handled by the plugin)
Example prompts from the manifest
- Show me signups this month
- Create a feature flag for the new checkout
- Why are users dropping off in onboarding?
About this listing
PostHog is in OpenAI's official curated Codex plugin catalog, published by PostHog Inc.. It shows up in the Codex CLI plugin browser (/plugins) and in the ChatGPT desktop app's Plugins tab. It passed our Codex install check on Nov 29, 2026 (an install and load check, not a code review). From its files we found 1 skill, 1 MCP server, 1 app connector. The manifest says version 1.0.0. It's one of 43 listings in the Data & Analytics category. It also appears in best Codex plugins for data and databases.
PostHog FAQ
How do I install PostHog in Codex?
Run codex plugin add posthog@openai-api-curated (format from the Codex CLI reference). Signed in to Codex with ChatGPT? Type /plugins in Codex CLI and pick it from the OpenAI Curated tab, or open the Plugins tab in the ChatGPT desktop app. Start a new session afterwards so the plugin's skills and tools load.
Is PostHog an official Codex plugin?
Yes. PostHog is in OpenAI's official curated Codex plugin catalog (shown as openai-curated after a ChatGPT sign-in, openai-api-curated without one), published by PostHog Inc.. It appears in the Codex CLI plugin browser and the ChatGPT desktop app's Plugins tab.
What does PostHog include?
From its files in OpenAI's plugin repo, PostHog includes 1 skill, 1 MCP server, 1 app connector: posthog, posthog, posthog.
Details
- Type
- Plugin
- Category
- Data & Analytics
- Source
- Official OpenAI curated
- Publisher
- PostHog Inc.
- Version
- 1.0.0
- License
- MIT
- Sign-in
- Asks you to connect/sign in when you install it
- Keywords
- analytics, product-analytics, feature-flags, experiments, error-tracking, session-replay, surveys, llm-analytics, hogql, developer-tools
- Source
- https://github.com/openai/plugins/tree/main/plugins/posthog
- Website
- https://posthog.com
- Listed in
- OpenAI catalog file
- Country
United States (from the maker’s public company information; country only. How we mark countries)
- Install check by CodexStacks
- Passed on Nov 29, 2026 with Codex CLI 0.163.0: Codex added its MCP server; it asks you to sign in to the service before the tools load. proof · how we check
Something wrong or missing? Submit or improve this listing. Listings also refresh automatically every night.
For maintainers: badge and embeds
Maintain PostHog? Add the badge; it links to this page.
Markdown
[](https://codexstacks.com/p/posthog/)HTML
<a href="https://codexstacks.com/p/posthog/"><img src="https://codexstacks.com/badge.svg" alt="Listed on CodexStacks" width="172" height="28"></a>Embed card (static HTML and inline CSS, no JavaScript). Preview:
<a href="https://codexstacks.com/p/posthog/" style="display:block;max-width:380px;box-sizing:border-box;padding:14px 16px;border:1px solid #3a2c26;border-radius:12px;background:#0d0b0a;color:#f3ece6;font:14px/1.45 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;text-decoration:none"><span style="display:block;font-size:16px;font-weight:700;color:#f3ece6">PostHog</span><span style="display:block;margin:2px 0 8px;font-size:12px;color:#b5a9a1">Official Codex plugin · 1 skill, 1 MCP server, 1 app connector</span><span style="display:block;margin:0 0 10px;color:#ddd3cc">PostHog gives your AI agent direct access to your product analytics, feature flags, experiments, error tracking…</span><span style="font-size:12px;font-weight:600;color:#ffb347">View on CodexStacks →</span></a>Markdown summary
**[PostHog on CodexStacks](https://codexstacks.com/p/posthog/)**: Official Codex plugin with 1 skill, 1 MCP server, 1 app connector. Install: `codex plugin add posthog@openai-api-curated`More on badges, embeds and keeping your listing up to date: CodexStacks for plugin authors.
Also in Data & Analytics
Data Analytics
Data Analytics helps you turn questions about your product or business into answers you can trust. Ask why a metric changed, what the data shows about where a team should focus next, how to define KPIs, whether a…
Mixpanel Headless
Use Mixpanel Headless skills to install and authenticate the mixpanel_headless Python SDK, discover Mixpanel schemas, run segmentation, funnel, retention, flow, and user-profile analyses, and build or inspect Mixpanel…
Graphify
Turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph with AST parsing, Leiden community detection, and local MCP tools.
Marketing Skills
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Langfuse
🪢 Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on OpenTelemetry. One open platform for every AI call and every agent. Self-host or use Langfuse Cloud.
Genoffice
?Free, open-source AI Office suite: Docs, Sheets, Slides, PDF, Markdown and HTML editors with a built-in AI agent, plus a `genoffice` CLI and agent skill so Claude Code, Codex and Cursor can create and edit real…