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)
query_events — raw events (requires read)
get_stats — aggregations (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
query_events (multi-project)
get_stats (group by project)
top_sources
compare_projects
Resources
Connecting from Claude Code
Last updated
Was this helpful?