---
ref: tool:mixpanel/query-saved-report
name: Query a saved report
company: company:mixpanel
workflows: []
access: [mcp, cli, api]
tags: [capability:track-product-usage, category:product-analytics, has:api, has:cli, has:mcp]
docs: https://docs.mixpanel.com/reference/insights-query
updated: 2026-09-26
---

# Query a saved report

Returns the data behind a saved report, such as an Insights report, by its ID.

Over the API, pass the report's `bookmark_id` and `project_id`. The Query API allows 60 queries per hour and 5 concurrent queries.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "mixpanel": { "url": "https://mcp.mixpanel.com/mcp" } } }
```

Call the MCP tool `Get-Report`.

Server URL: https://mcp.mixpanel.com/mcp

### CLI (official)

Install the command, then confirm it runs.

```sh
pip install mixpanel-headless
mp --version
```

Run `mp query saved-report`.

### API (official)

- Base URL: https://mixpanel.com/api/query
- Endpoint: `GET /insights`
- Auth: send the header `Authorization: Basic $MIXPANEL_SA_TOKEN`
- Get a key: https://mixpanel.com/settings/org#serviceaccounts
- Docs: https://docs.mixpanel.com/reference/query-api

Before doing anything else, make one read-only call to confirm access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
