Skip to main content
Glama

Server Details

Query Mixpanel events, funnels, retention, segmentation and insights (JQL).

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
m190/usefulapi-mcp
GitHub Stars
0

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.

Tool Definition Quality

Score is being calculated. Check back soon.

Available Tools

7 tools
mixpanel_jqlRun a JQL query
Read-only
Inspect

Run a custom JQL (JavaScript Query Language) script for arbitrary analysis. Power-user escape hatch. Script must define main(). Query API: POST /jql. (Upstream maintenance mode; 2-min timeout, 5GB/query limit.)

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsNoOptional JSON string exposed to the script as the `params` global.
scriptYesJQL script defining function main(){ ... } that returns rows.
mixpanel_list_funnelsList saved funnels
Read-only
Inspect

Get the funnel_id and name of every saved funnel in the project. Query API: GET /funnels/list.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

mixpanel_query_funnelQuery a saved funnel
Read-only
Inspect

Get conversion data for a saved funnel (use mixpanel_list_funnels to find funnel_id). Query API: GET /funnels.

ParametersJSON Schema
NameRequiredDescriptionDefault
unitNoBucketing unit.
limitNoLimit on segmentation breakdown.
lengthNoConversion window length.
to_dateYesEnd date yyyy-mm-dd (inclusive).
intervalNoNumber of days per bucket.
from_dateYesStart date yyyy-mm-dd (inclusive).
funnel_idYesSaved funnel id (from mixpanel_list_funnels).
length_unitNoUnit for `length`.
mixpanel_query_insightsQuery a saved Insights report
Read-only
Inspect

Fetch the computed data behind a saved Insights report by bookmark_id (the report id in the board URL). Mixpanel's recommended, non-deprecated path for programmatic reporting. Query API: GET /insights.

ParametersJSON Schema
NameRequiredDescriptionDefault
bookmark_idYesInsights report id (bookmark_id) from the report URL.
workspace_idNoWorkspace id, if applicable.
mixpanel_retentionRetention report
Read-only
Inspect

Cohort retention: of users who did born_event, how many came back and did event over subsequent intervals. Query API: GET /retention.

ParametersJSON Schema
NameRequiredDescriptionDefault
unitNoInterval unit. Default day.
eventNoReturning event to measure. If omitted, any event counts.
whereNoFilter expression applied to the returning event.
to_dateYesEnd date yyyy-mm-dd (inclusive).
intervalNoUnits per bucket (<=90 if days). Default 1.
from_dateYesStart date yyyy-mm-dd (inclusive).
born_eventNoThe defining first event for a birth cohort. Required when retention_type=birth.
born_whereNoFilter expression applied to born_event.
interval_countNoNumber of intervals to report.
retention_typeNobirth = first-time retention (default), compounded = recurring.
mixpanel_segmentationSegment an event
Read-only
Inspect

Count/segment/filter a single event over a date range. e.g. 'Signed up' by country last week. Params on/where use Mixpanel segmentation expressions like properties["$country_code"]. Query API: GET /segmentation. (Upstream maintenance mode — for saved reports prefer mixpanel_query_insights.)

ParametersJSON Schema
NameRequiredDescriptionDefault
onNoProperty expression to segment on, e.g. properties["$city"].
typeNogeneral | unique | average. Default general.
unitNoBucket size. Default day.
eventYesSingle event name to analyze (not an array).
limitNoTop N property values (only if `on` set). Default 60.
whereNoFilter expression, e.g. properties["$os"]=="iOS".
to_dateYesEnd date yyyy-mm-dd (inclusive).
from_dateYesStart date yyyy-mm-dd (inclusive).
mixpanel_top_eventsTop events (today)
Read-only
Inspect

List today's top events with counts and % change vs yesterday. Good first call to discover what events a project tracks. Query API: GET /events/top.

ParametersJSON Schema
NameRequiredDescriptionDefault
typeNogeneral (totals), unique (per-user), or average. Default general.
limitNoMax events to return. Default 100.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.