Enables interaction with PostHog analytics, allowing users to list projects, create annotations with optional timestamps, view and search for insights, and retrieve detailed information about specific insights.
Liquidium MCP Server
A Model Context Protocol (MCP) server for interacting with PostHog analytics through Liquidium. Create annotations and manage projects directly through Claude Desktop or Smithery!
Features
- List Projects: View all available PostHog projects in your organization
- Create Annotations: Add annotations to your PostHog projects with optional timestamps
- List and Search Insights: View and search for insights in your PostHog projects
- Get Insight Details: View detailed information about specific insights
Setup
Option 1: Smithery (Recommended)
The easiest way to use Liquidium MCP is through Smithery:
- Visit Liquidium MCP on Smithery
- Click "Add to Claude"
- Enter your PostHog API Key when prompted
- Start using Liquidium tools in Claude!
Option 2: Local Installation
- Prerequisites
- Python 3.10 or higher
pip
oruv
package manager- PostHog API Key with
annotation:write
andproject:read
scopes obtained from your project settings
- Installation
- Configuration
- Create a
.env
file in the project root:
- Create a
- Claude Desktop Setup
- Install Claude Desktop
- Open Claude Desktop settings and click "Edit Config". Alternatively, you can open the file from:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add this to your
claude_desktop_config.json
(adjust paths according to your system):Check the latest documentation on setting up Claude Desktop as MCP client if you ran into any issues.
Usage
After setup, you'll see a hammer icon in Claude Desktop. The following commands are available:
List Projects
Ask Claude:
Get and Search for Insights
Ask Claude:
"List my PostHog insights" or "Search for revenue insights in my PostHog"
Search for documentations online
You can ask:
- "how can i do reverse proxy in nextjs in posthog?"
Create Annotation
Using the Project ID you get from the list of projects, ask Claude:
or with a specific date:
Troubleshooting
- If the hammer icon doesn't appear, restart Claude Desktop
- Check logs at
~/Library/Logs/Claude/mcp*.log
(macOS) or%APPDATA%\Claude\logs
(Windows) - Verify your PostHog API key has the correct permissions
- Make sure all paths in
claude_desktop_config.json
are absolute paths
Contributing
Feel free to open issues and PRs! We follow PostHog's contribution guidelines.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A server that allows users to interact with PostHog analytics platform through Claude Desktop, enabling listing projects, creating annotations, searching insights, and accessing documentation.
Related MCP Servers
- AsecurityFlicenseAqualityA server that enables Claude Desktop users to access the Claude API directly, allowing them to bypass Professional Plan limitations and use advanced features like custom system prompts and conversation management.Last updated -15Python
- -securityFlicense-qualityA server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.Last updated -Python
- -securityAlicense-qualityA server that allows Claude to search and retrieve emails from your Gmail account, supporting functions like searching emails, retrieving full content of specific emails, and listing recent messages.Last updated -2PythonApache 2.0
Needle MCP Serverofficial
AsecurityAlicenseAqualityA server that allows users to manage documents and perform Claude-powered searches using Needle through the Claude Desktop application.Last updated -739PythonMIT License