[Home](/index.md) › [MCP servers](/mcp.md) › OpenPanel MCP server

# OpenPanel MCP server

MCP server

- 49 callable tools
- 5 capabilities

[Installation guide](https://openpanel.dev/docs/mcp)

## Overview

OpenPanel's hosted MCP server lets AI assistants query analytics data from OpenPanel projects. It covers web analytics, product analytics, user profiles, groups and Google Search Console data.

### Capabilities

- Query web and product analytics in conversation
- Analyze funnels, retention, cohorts and user flows
- Look up user profiles, sessions and groups
- Review Google Search Console queries and pages
- Create, edit and delete dashboards and reports with a root client

## Works with

The products your agent can work with through this server.

- [OpenPanel](/tools/openpanel.md): Open-source cookieless analytics

## Tools

The callable functions your agent uses to work with this server.

### `list_projects`

List all projects accessible with your credentials.

### `get_dashboard_urls`

Get clickable dashboard links for the current project — overview, events, profiles, sessions, and deep-links to specific items.

### `list_dashboards`

List all dashboards for a project.

### `get_dashboard`

Get a dashboard with its complete report configurations and saved layouts.

### `list_reports`

List all reports in a dashboard with their chart types and tracked events.

### `get_report_data`

Execute a saved report and return its data (time-series, funnel, metric, etc.).

### `create_dashboard`

Create a dashboard in a project.

### `update_dashboard`

Rename a dashboard.

### `delete_dashboard`

Delete an empty dashboard, or delete it with its reports using forceDelete.

### `create_report`

Add a saved chart to a dashboard.

### `update_report`

Replace a saved chart's configuration.

### `delete_report`

Delete a saved chart.

### `duplicate_report`

Duplicate a saved chart in its dashboard.

### `update_report_layout`

Set a saved chart's dashboard grid position and dimensions.

### `reset_dashboard_layout`

Remove all saved chart layouts from a dashboard.

### `list_event_names`

Get the top 50 most common event names in the project.

### `list_event_properties`

List all property keys tracked for an event (or across all events).

### `get_event_property_values`

Get all distinct values for a specific event property.

### `query_events`

Query raw events with optional filters.

### `query_sessions`

Query sessions with optional filters.

### `find_profiles`

Search and filter user profiles by name, email, location, inactivity, session count, or whether they performed a specific event.

### `get_profile`

Get a specific user profile with their most recent events.

### `get_profile_sessions`

Get all sessions for a user profile, ordered by most recent first.

### `get_profile_metrics`

Get computed lifetime metrics for a user: sessions, pageviews, bounce rate, revenue, and more.

### `list_group_types`

List all group types defined in the project (e.g.

### `find_groups`

Search for groups by name, ID, or type.

### `get_group`

Get a specific group with its properties and member profiles.

### `get_analytics_overview`

Key metrics for a date range: visitors, pageviews, sessions, bounce rate, and avg session duration.

### `get_rolling_active_users`

Time series of active users using a rolling window — DAU (1 day), WAU (7 days), or MAU (30 days).

### `get_top_pages`

Most visited pages ranked by pageviews.

### `get_page_performance`

Per-page bounce rate, avg session duration, sessions, and pageviews.

### `get_page_conversions`

Pages ranked by how many visitors went on to convert after viewing them.

### `get_entry_exit_pages`

Most common entry pages (session start) or exit pages (session end).

### `get_top_referrers`

Top traffic sources broken down by referrer name and type.

### `get_country_breakdown`

Visitor counts by country, region, or city.

### `get_device_breakdown`

Visitor counts by device type, browser, or OS.

### `get_funnel`

Analyze a conversion funnel between 2+ events — sign-up flows, checkout, onboarding.

### `get_retention_cohort`

Weekly user retention cohort table showing long-term product stickiness.

### `get_weekly_retention_series`

Week-over-week retention as a time series.

### `get_user_last_seen_distribution`

Histogram of user recency — useful for churn analysis.

### `get_user_flow`

Visualize user navigation flows as a Sankey diagram (before/after/between events).

### `get_engagement_metrics`

Engagement metrics over time.

### `gsc_get_overview`

GSC performance over time: clicks, impressions, CTR, and avg position.

### `gsc_get_top_pages`

Top-performing pages from GSC ranked by clicks.

### `gsc_get_page_details`

Detailed GSC performance for a specific page including all queries driving traffic to it.

### `gsc_get_top_queries`

Top search queries ranked by clicks.

### `gsc_get_query_opportunities`

Low-hanging-fruit SEO opportunities: queries ranking 4–20 with meaningful search volume.

### `gsc_get_query_details`

Detailed GSC data for a specific search query with all pages that rank for it.

### `gsc_get_cannibalization`

Queries where multiple pages on your site compete against each other in Google.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add OpenPanel MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http openpanel https://api.openpanel.dev/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add OpenPanel MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=openpanel&config=eyJ1cmwiOiJodHRwczovL2FwaS5vcGVucGFuZWwuZGV2L21jcCJ9)

```json
{
  "mcpServers": {
    "openpanel": {
      "url": "https://api.openpanel.dev/mcp"
    }
  }
}
```

### Add OpenPanel MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "openpanel": {
      "type": "http",
      "url": "https://api.openpanel.dev/mcp"
    }
  }
}
```

### Add OpenPanel MCP server to Codex

Run this in your terminal:

```sh
codex mcp add openpanel --url https://api.openpanel.dev/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.openpanel]
url = "https://api.openpanel.dev/mcp"
```

If the server uses OAuth, sign in with `codex mcp login openpanel`.

### Add OpenPanel MCP server to Claude

Add it as a custom connector with this URL:

```
https://api.openpanel.dev/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add OpenPanel MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://api.openpanel.dev/mcp
```

[Read the installation guide](https://openpanel.dev/docs/mcp)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [openpanel.dev/docs/mcp](https://openpanel.dev/docs/mcp)
- [openpanel.dev/features/mcp](https://openpanel.dev/features/mcp)
- [openpanel.dev/docs/api/authentication](https://openpanel.dev/docs/api/authentication)
