PostHog MCP by usefulapi for Gemini CLI
io.usefulapi/posthog
Read insights, dashboards, events, feature flags and error issues in PostHog.
client:Gemini CLI
transport:streamable-http
tools:19
Install PostHog MCP by usefulapi in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"posthog": {
"httpUrl": "https://posthog.usefulapi.io/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs
What Gemini CLI can do once it is connected
- posthog_list_organizations
- posthog_list_projects
- posthog_list_insights
- posthog_get_insight
- posthog_list_dashboards
- posthog_get_dashboard
- posthog_list_events
- posthog_list_event_definitions
- posthog_list_persons
- posthog_get_person
- posthog_list_actions
- posthog_list_cohorts
- posthog_list_feature_flags
- posthog_get_feature_flag
- posthog_list_experiments
- posthog_list_surveys
- posthog_list_error_tracking_issues
- posthog_list_session_recordings
- posthog_list_annotations