PostHog for Claude, Cursor, ChatGPT & agents
PostHog — query product-analytics events with filters, run arbitrary HogQL (PostHog's SQL-like) queries against events / persons tables, list and search persons (users) by email / distinct_id, list...
curl -fsSL https://syncorelabs.ai/install.sh | shmacOS / Linux. Windows + manual install.
What it does
PostHog — query product-analytics events with filters, run arbitrary HogQL (PostHog's SQL-like) queries against events / persons tables, list and search persons (users) by email / distinct_id, list insights (saved charts / funnels / retention), list dashboards with their tiled insights, list feature flags, and create timeline annotations to mark deploys. Supports cloud + self-hosted (set POSTHOG_HOST). Use when the user mentions PostHog, product analytics, event tracking, HogQL, distinct_id, person, insight, feature flag, A/B test, or wants to query their product-analytics warehouse.
The PostHog skill is one of 75+ pre-wired Syncore integrations that any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, and ChatGPT desktop — can call out of the box. You don't configure MCP servers or copy API keys into a JSON file; the Syncore daemon discovers the skill at startup and exposes its tools to whichever AI client is running.
Sample prompts
Once Syncore is installed and PostHog is connected, ask your agent something like:
- “Get me from PostHog.”
- “List projects from PostHog.”
- “List events from PostHog.”
Tools available (10)
posthog__get_meGet the authenticated PostHog user and their organization context
posthog__list_projectsList PostHog projects (teams) the user can access
posthog__list_eventsList recent events for a project, with optional filters
posthog__queryRun a HogQL query (PostHog's SQL-like) against the project's event/person tables. Read-only.
posthog__list_personsList or search persons in a project
posthog__get_personGet a single person by PostHog id
posthog__list_insightsList insights (saved charts/funnels/retention/path queries) in a project
posthog__list_dashboardsList dashboards in a project, including the insight ids tiled on each
posthog__list_feature_flagsList feature flags in a project
posthog__create_annotationCreate an annotation on a project's timeline (e.g. mark a deploy or release on charts)
How to connect
PostHog needs a provider API key to talk to posthog. Connect it from the Syncore dashboard:
- Run
curl -fsSL https://syncorelabs.ai/install.sh | shon macOS / Linux (or the PowerShell command on Windows). - Run
syncore loginto create your account and a device-bound encryption key. - Visit syncorelabs.ai/connect and authorize PostHog.
- Run
syncore updateto sync the skill + credentials to every installed AI client.
Pricing
Free at every Syncore tier. Connect your account once at /connect; the OAuth or API-key credential stays encrypted on your machine and syncs to your other devices via the Syncore vault.
See the full Syncore pricing breakdown — Free $0/mo, Pro $29/mo, Ultra $99/mo — on the homepage.
Related
Looking at PostHog? You may also want:
- Attio — read and update CRM records (people, companies, deals, custom objects), search by query, list and add to saved lists / segments, and append Markdown notes via the Attio v2 API
- HubSpot — list and search contacts, create new contacts, list deals, and create new deals via HubSpot API v3
- Mercury — read bank accounts (checking, savings, treasury) with balances, list and search transactions by date / amount / direction (debit / credit) / description, fetch monthly statements (PDF + s...
- Ramp — list and search corporate-card transactions with date / state / merchant / amount filters, list and inspect cards (physical + virtual), list users (with role filter), list departments and lo...
- Shopify — list products (with optional collection filter), fetch a single product by id, list orders (open / closed / cancelled / any), and fetch a single order by id from a Shopify store using the...
Or browse all 75 skills in the Syncore catalog.