Mby Mixpanel
Query a saved report
Returns the data behind a saved report, such as an Insights report, by its ID.
Description
Over the API, pass the report's `bookmark_id` and `project_id`. The Query API allows 60 queries per hour and 5 concurrent queries.
query-saved-report.md
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.
{ "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.
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.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.