How to connect PostHog to OpenClaw
Connect PostHog to OpenClaw in one click. 18 PostHog tools your agent can call from chat. No API keys.
ClawLink gives OpenClaw a more practical PostHog setup than rolling your own integration. Install one ClawHub skill, connect PostHog in the browser, and OpenClaw can call real PostHog actions from any chat surface with no auth, token refresh, or tool wiring to build yourself.
PostHog MCP for OpenClaw
Looking for a PostHog MCP server for OpenClaw? ClawLink connects PostHog to OpenClaw and exposes 18 PostHog tools your agent can call over MCP, with hosted auth and nothing to run or maintain yourself. Using Hermes instead? The Hermes PostHog integration works the same way.
Copy this prompt into OpenClaw, or open the PostHog skill on ClawHub.
Before installing anything, inspect the ClawHub skill metadata and setup requirements.
If the skill asks you to install a third-party package or CLI, verify its source, maintainer, and package contents before running the install command.
Install the skill "PostHog" (hith3sh/posthog-workspace) from ClawHub only after those checks pass.
Skill page: https://clawhub.ai/hith3sh/posthog-workspace
Keep the work scoped to this skill only.
After install, help me finish setup from verified skill metadata.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.Setup
It takes three steps to connect OpenClaw to PostHog.
1Install the skill
Paste the setup prompt into OpenClaw to add the ClawLink skill from ClawHub.
- 2
Connect PostHog
One-click OAuth in the dashboard.
- 3
Use it from chat
Ask OpenClaw in plain English.
What the OpenClaw PostHog integration can do
18 PostHog tools are ready for OpenClaw once the account is connected.
All 18 PostHog tools for OpenClaw
| Tool | What it does |
|---|---|
List organization projects posthog_list_organization_projects | List all projects in your PostHog organization |
List organization members posthog_list_organization_members | List members of your PostHog organization |
List project dashboards posthog_list_project_dashboards | List dashboards in a PostHog project |
List and manage project feature flags posthog_list_and_manage_project_feature_flags | List feature flags in a PostHog project |
Get feature flag details posthog_get_feature_flag_details | Get details for a specific feature flag |
Get feature flag status posthog_get_feature_flag_status | Get the status of a feature flag |
List project experiments posthog_list_project_experiments | List A/B experiments in a PostHog project |
Get experiment details posthog_get_experiment_details | Get details for a specific experiment |
Get experiments stats posthog_get_experiments_stats | Get statistics for experiments |
List project surveys posthog_list_project_surveys | List surveys in a PostHog project |
List project session recordings posthog_list_project_session_recordings | List session recordings in a PostHog project |
List or delete persons with optional filters posthog_list_or_delete_persons_with_optional_filters | List persons in a PostHog project with optional filters |
Get event definitions posthog_get_event_definitions | List event definitions in a PostHog project |
Get project person trends posthog_get_project_person_trends | Get person trends for a PostHog project |
Get funnel insights in project posthog_get_funnel_insights_in_project | Get funnel insights in a PostHog project |
List project actions posthog_list_project_actions | List actions in a PostHog project |
List groups by type posthog_list_groups_by_type | List groups by type in a PostHog project |
Get group property definitions posthog_get_group_property_definitions | Get group property definitions |
Try it: find the PostHog tool you need
Browse the 18 PostHog tools
Click any tool to see exactly what OpenClaw can do and copy a ready-to-use prompt.
Example prompts
List the relevant items in PostHog, group them by priority, and recommend what OpenClaw should do next.
List the relevant items in PostHog, group them by priority, and recommend what OpenClaw should do next.
List the relevant items in PostHog, group them by priority, and recommend what OpenClaw should do next.
List the relevant items in PostHog, group them by priority, and recommend what OpenClaw should do next.
ClawLink vs. building it yourself
The alternative to ClawLink is usually manual integration setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want PostHog working from chat.
| Manual | ClawLink | |
|---|---|---|
| Setup flow | Collect and store the right PostHog credentials yourself, then keep the account mapping and request format correct. | ClawLink keeps the setup in one hosted flow so non-technical users can link PostHog without custom integration screens. |
| Ongoing maintenance | You own refresh logic, permission debugging, environment config, and every provider-specific edge case for PostHog. | ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure. |
| Agent usability | You still need to expose the right PostHog actions to the runtime in a format your agent can reliably use. | 18 tools for PostHog are already exposed through ClawLink, so the agent can read and act from chat immediately. |
ClawLink vs. Composio
Composio also exposes PostHog to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for OpenClaw users instead. You install the plugin once, connect PostHog in the browser, and the 18 tools above work from chat. There is no SDK, no config file, and no API key handling. Choosing between them? Read the full Composio alternatives comparison.