maidr
v0.1.5Accessible maidr charts in ChatGPT and Claude, explored by sound, braille and screen reader
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
show_chart Show an accessible chart
Show data as a chart in the conversation that the reader explores with the keyboard, a screen reader, sonification and braille. Returns the viewId the maidr_* tools take. Only for a chart to show here: not for plotting code, files or web pages, nor where the host shows no MCP Apps, as in a terminal.
maidr_view_svg
The latest SVG of a chart view and its revision: for a host that does not pass the tool result's _meta to it, and for the view to swap in update_chart's chart when its poll did not bring it.
| Parameter | Type | Description |
|---|---|---|
viewId * | string | The viewId show_chart returned. |
maidr_view_poll
The model's calls waiting for a chart view; waits up to `wait` seconds for one, unless the view is behind the chart's latest revision, when it answers at once with that chart's SVG.
| Parameter | Type | Description |
|---|---|---|
viewId * | string | The viewId show_chart returned. |
revision | ||
wait | number | Seconds to wait for a call when none is waiting: 20 holds the request open, 0 answers at once, for a host that cuts requests held open. |
maidr_view_reply
maidr's answer to one call.
| Parameter | Type | Description |
|---|---|---|
callId * | string | |
result * | object | |
viewId * | string | The viewId show_chart returned. |
update_chart Change a chart already shown
Replaces the chart in the view show_chart opened with a new chart, in place: new data, another type, a filter. Takes that viewId and a chart as show_chart does, and adds no view to the conversation. A reader in the chart stays in it, on the new chart, and is told it changed; a reader elsewhere keeps their focus. The old chart's layer ids no longer apply, and a move or command still waiting for the reader in it is dropped.
maidr_list_charts List a chart's layers and where the reader is
Runs maidr's maidr_list_charts in the chart: its layers, point counts, whether the reader is in the chart, and, while they are, their position as their screen reader last spoke it, live. Read-only; the reader hears nothing.
| Parameter | Type | Description |
|---|---|---|
viewId * | string | The viewId show_chart returned. |
maidr_get_layer_data Read a page of a layer's points
Runs maidr's maidr_get_layer_data in the chart. Each point carries the target maidr_navigate takes. Read-only; the reader hears nothing.
| Parameter | Type | Description |
|---|---|---|
layerId * | string | A layerId from maidr_list_charts. |
viewId * | string | The viewId show_chart returned. |
chartId | maidr's chartId; needed only when the view holds several charts. | |
limit | ||
offset |
maidr_list_commands List the reader's chart commands
Runs maidr's maidr_list_commands in the chart: the reader's keyboard commands, the ones in maidr's command palette (text, sound, braille, high contrast and monitoring on and off, autoplay, jumps to the highest or lowest value and between layers, and more). Each has a `command` id, a `title` in the reader's language, the `keys` the reader presses for it, and whether maidr_run_command can run it; one that opens a dialog or text field is the reader's to use, so tell them its keys instead. Also returns the reader's current `modes` (text verbose, terse or off; sound, braille, highContrast, monitor…
| Parameter | Type | Description |
|---|---|---|
viewId * | string | The viewId show_chart returned. |
chartId | maidr's chartId; needed only when the view holds several charts. |
maidr_run_command Run one of the reader's chart commands
Runs maidr's maidr_run_command in the chart: one of the reader's own commands, by its id from maidr_list_commands, as if they had pressed its keys where they are; their screen reader, braille display and sonification report the result. Only run a command the reader asked for. A toggle steps a mode on rather than setting it: toggle_text goes verbose, terse, off, verbose; toggle_sound turns sound off or on, except on a scatter plot, where sound that is on goes combined, separate, off, combined. So check `modes` from maidr_list_commands first, run a toggle only as often as reaching what the reade…
| Parameter | Type | Description |
|---|---|---|
command * | string | A command id maidr_list_commands lists as runnable. |
viewId * | string | The viewId show_chart returned. |
chartId | maidr's chartId; needed only when the view holds several charts. | |
focus | Move the reader's keyboard focus into the chart, if it is not there, so this happens now. Only when they asked for that. Default false. |