MCP / Analytics and data
PostHog MCP
PostHog product analytics: insights, events, persons, feature flags. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.
Read the first PostHog project-list response and show up to 10 accessible projects with their IDs.
Paste it into an assistant connected to FlyMy.AI. The agent picks the actions.
What PostHog MCP can do
17 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.
| Action | What it does |
|---|---|
posthog_create_annotation | Create an annotation (event marker) . |
posthog_create_cohort | Create a cohort (user segment) . |
posthog_create_feature_flag | Create a feature flag . |
posthog_get_cohort | Get one cohort (user segment) . Returns cohort definition, membership count, and filters. |
posthog_get_feature_flag | Get one feature flag . |
posthog_get_insight | Get one insight (saved query/dashboard) . |
posthog_get_me | Get the authenticated PostHog user account. |
posthog_get_person | Get one person (user profile) . |
posthog_list_annotations | List annotations (event markers on insight graphs) . |
posthog_list_cohorts | List cohorts (user segments) . |
posthog_list_events | List events . |
posthog_list_feature_flags | List feature flags . |
Show all 17 actions
| Action | What it does |
|---|---|
posthog_list_insights | List insights (saved analytics queries/dashboards) . |
posthog_list_persons | List persons (user profiles) . |
posthog_list_projects | List all projects accessible to this user . |
posthog_query_events | Query events with HogQL or SQL . Submit a HogQL or SQL query string and receive results. |
posthog_update_feature_flag | Update a feature flag . Partial update: name, active, filters, rollout_percentage. |
Ask your agent
Requests to paste as they are. Each one runs on the actions named under it.
posthog_list_projectsposthog_list_insightsposthog_get_insightConnect PostHog in a minute
One MCP for every integration. Add it once, then every MCP in the catalog is a request away.
- 01
Add FlyMy.AI
Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.
- 02
Add your PostHog credentials
Paste them into the PostHog connection settings once; they stay with FlyMy.AI, never in a prompt or a chat.
- PostHog personal API key - PostHog - Settings - Personal API keys. Create key ->
- PostHog project ID - Numeric project ID (Project settings, or in URLs /project/ID/).
- 03
Ask
Paste a request from this page. Every run shows what it cost.
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
Then run /mcp in Claude Code and sign in.
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
Then run codex mcp login flymy to sign in.
https://mcp-agents.flymy.ai/mcp
Settings, Connectors, Add custom connector: paste this URL.
Pay per run
FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own PostHog account, under its plan and limits. No seats and no minimum.
Go to the source
From the FlyMy.AI platform catalog of 2026-10-31: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.