posthog_list_insights
List saved PostHog insights (charts) for a project.
This record as markdown: /tools/io-github-malamutemayhem-unclick-mcp-server/posthog-list-insights.md
What posthog_list_insights does on UnClick
AI agents call posthog_list_insights to retrieve information from UnClick without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
host | string | — | PostHog host (default https://us.posthog.com) |
limit | number | — | Results to return (max 100, default 25) |
search | string | — | Filter insights by name |
api_key | string | Yes | PostHog Personal API key |
project_id | string | — | PostHog project id (can be a saved default) |
Parameters from the server's own tool schema.
Why posthog_list_insights is rated Low
This tool queries and returns existing PostHog insights/charts. It does not create, modify, delete, execute code, or commit financial actions. The blast radius is minimal—an agent can only view analytics data that already exists. Confidence is high because the intent is unambiguous.
From the tool's definition Tool name includes 'list' and description states 'List saved PostHog insights (charts) for a project' — a retrieval operation with no modification or side effects.
Risk signalsAccepts URL/endpoint input (host) · Handles credentials or secrets (api_key)
Attacks that exploit this kind of access
The rule that runs posthog_list_insights safely
PolicyLayer is an MCP gateway: it sits between your AI agents and UnClick, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For posthog_list_insights, this is the rule to start with:
posthog_list_insights is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect UnClick, apply this rule, and every posthog_list_insights call is checked against it from then on.
Questions about posthog_list_insights
List saved PostHog insights (charts) for a project. It is categorised as a Read tool in the UnClick MCP Server, which means it retrieves data without modifying state.
posthog_list_insights accepts 5 parameters: host, limit, search, api_key, project_id. Required: api_key. The full parameter table on this page comes from the server's own tool schema.
Register the UnClick MCP server in PolicyLayer and add a rule for posthog_list_insights: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches UnClick. Nothing to install.
posthog_list_insights is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the posthog_list_insights rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for posthog_list_insights. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
posthog_list_insights is provided by the UnClick MCP server (@unclick/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on UnClick, and thousands of servers like it.
This server
Across the catalogue