MCP server
The MCP server — AI agents emit and query analytics natively.
Endpoints
Endpoint
Auth
Scope
Plan
POST https://api.millimetric.ai/mcp
Authorization: Bearer {key}Auth
You give the agent
It can call
Tools
track_event — emit an event (requires ingest)
track_event — emit an event (requires ingest)query_events — raw events (requires read)
query_events — raw events (requires read)get_stats — aggregations (requires read)
get_stats — aggregations (requires read)top_sources — the FB social-vs-paid split (requires read)
top_sources — the FB social-vs-paid split (requires read)Resources
Connecting from Claude Code
Connecting from MCP Inspector
Why MCP?
Response shape
Errors
Code
Meaning
Account MCP
Tools
list_projects
list_projectsquery_events (multi-project)
query_events (multi-project)get_stats (group by project)
get_stats (group by project)top_sources
top_sourcescompare_projects
compare_projectsResources
Connecting from Claude Code
Last updated
Was this helpful?