Use ChartOmodo from an agent or coding assistant
What an agent can do today
- Create a dataset and push rows, replace them or append to them, with an
Idempotency-Keyso retries are safe. - Read the chart config shape from
https://chartomodo.com/api/v1/charts/schema, check a chart withhttps://chartomodo.com/api/v1/charts/validate, create it on the dataset, and change it later. - Group charts into a dashboard and hand you the embed link.
- List your charts and read the categories and series a chart draws.
The agent gets the same checks the builder runs: a chart option your plan does not include is refused with the plan that unlocks it, never saved silently. Your chart list draws a chart made by an agent directly until you save it once in the builder, which stores its thumbnail.
Four ways in
- MCP. Add
https://chartomodo.com/mcpto Claude Code, Cursor, VS Code or any MCP client that can send a Bearer header. Setup is in the next section. - OpenAPI. Give your tool
https://chartomodo.com/openapi.json. It lists every endpoint, schema and error code. - Skill file. Save
https://chartomodo.com/developers/agents/skill.mdasSKILL.mdin your assistant's skills folder. It carries the workflow and the limits. - One Markdown file. Paste
https://chartomodo.com/llms-full.txtinto the context when your tool reads neither of the above.
Connect over MCP
The server answers at https://chartomodo.com/mcp over HTTP and takes the same cmo_ token as the API, sent as a Bearer header. Create the token with the Agent preset: it expires after 90 days and you can revoke it alone.
Claude Code:
claude mcp add --transport http chartomodo https://chartomodo.com/mcp --header "Authorization: Bearer cmo_..."Cursor, in .cursor/mcp.json:
{
"mcpServers": {
"chartomodo": {
"url": "https://chartomodo.com/mcp",
"headers": {
"Authorization": "Bearer cmo_..."
}
}
}
}VS Code, in .vscode/mcp.json:
{
"servers": {
"chartomodo": {
"type": "http",
"url": "https://chartomodo.com/mcp",
"headers": {
"Authorization": "Bearer cmo_..."
}
}
}
}The tools, each one call to the API above:
get_account: Check the connectionlist_datasets: List datasetscreate_dataset: Create a datasetappend_rows: Append rowsreplace_rows: Replace all rowslist_charts: List chartsget_chart: Read a chartget_chart_data: Read chart numbersget_chart_insights: Read chart Insightsget_chart_schema: Read the chart shapevalidate_chart: Check a chartcreate_chart: Create a chartupdate_chart: Change a chartcreate_dashboard: Create a dashboard
Each tool call counts as one request toward the token's limit of 60 per minute. Tokens from the Read only preset see only the tools that read.
Try it from a terminal
curl https://chartomodo.com/api/v1/me -H "Authorization: Bearer cmo_..."
curl -X POST https://chartomodo.com/api/v1/datasets -H "Authorization: Bearer cmo_..." -H "Content-Type: application/json" -d '{"name":"Daily sales","rows":[{"day":"2026-10-01","amount":120.5}]}'
curl -X POST https://chartomodo.com/api/v1/charts -H "Authorization: Bearer cmo_..." -H "Content-Type: application/json" -d '{"name":"Sales by day","type":"bar","datasetId":"<dataset id>","config_axis":{"xAxisProp":"day","yAxisProps":["amount"],"aggregation":"sum","filters":[]}}'
curl -X POST https://chartomodo.com/api/v1/dashboards -H "Authorization: Bearer cmo_..." -H "Content-Type: application/json" -d '{"name":"Sales","chartIds":["<chart id>"]}'Keep the token safe
Give the agent its own token, named after the agent, so you can revoke it alone. Do not paste tokens into prompts that get logged. The token can read your charts, write to datasets created through the API, and create and change charts, create dashboards, nothing else: it cannot delete a chart or touch Notion, CSV and connector sources.
Questions
Does ChartOmodo run a model of its own?
No. Your assistant does the thinking. ChartOmodo stores the rows, draws the chart and serves the embed.
Can an agent delete my data?
Only datasets created through the API, with DELETE on that dataset. Charts built on it stay. Notion, CSV and connector sources are not reachable over the API.
How do I cut an agent off?
Revoke its token in Settings, API. Every request with that token answers 401 from then on.
Which plan do I need?
Reading over the API starts on the Starter plan, writing on the Pro plan. The token page tells you which presets your plan includes.
