Charts inside your AI tool
Four MCP tools can answer with an interactive chart as well as their usual JSON: get_retention, get_funnel, get_metrics and get_monetization. An AI tool that can display interactive views from MCP servers (the MCP Apps extension, io.modelcontextprotocol/ui) shows the chart beside the answer. Every other client gets exactly the answer it got before: the same JSON text, nothing added to it.
| Tool | What the chart shows |
|---|---|
get_retention | Day 1 and day 7 retention per first-seen cohort as lines, and retention by day across all cohorts as bars. |
get_funnel | Players (or sessions) reaching each step, as bars. |
get_metrics | New and returning players, and average and median session length, as bars. |
get_monetization | Revenue per day, one chart per currency. Currencies are never added together. |
- No extra charge. The chart comes with the same call, at the same price as any MCP read. Reading the chart view itself is free, like every MCP resource.
- Nothing leaves the view. The chart is one self-contained page,
ui://ravensight/chart, with its script and styles inline. It loads nothing from the network and asks for no network access; its numbers come from the answer your AI tool already received. - Readable numbers. Each chart has a Show the numbers table under it, and a long series shows its latest 120 points.
- Where the chart travels. It rides in the tool result's
_metaunderio.ravensight/chart, the field MCP sets aside for metadata rather than for the model. Thecontenttext your agent reads is unchanged.
Whether you see the chart depends on your AI tool: it appears only in tools that support the MCP Apps extension. Nothing needs to be turned on in Ravensight.