API & MCP

Everything a person can do on Charts & data, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • GET https://charts.usefulweb.site/api/v1/tools – catalog
  • GET https://charts.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://charts.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://charts.usefulweb.site/api/v1/workflows · POST https://charts.usefulweb.site/api/v1/workflows/{id}/run
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Tools on Charts & data

  • CSV/Excel Chart Studio – Turn CSV, TSV or Excel data into line, bar, pie, scatter or histogram charts with SVG/PNG export. csv_excel_chart_studio
  • Diagram & Flowchart Maker – Write flowcharts, sequence diagrams and mind maps as text and get a laid-out SVG/PNG diagram. diagram_flowchart_maker
  • Embeddable Chart Builder – Make a self-contained chart to embed anywhere: inline SVG, standalone HTML, accessible snippet. embeddable_chart_builder
  • Geo Data Visualizer – Map CSV coordinates or GeoJSON as points, proportional circles, hex-bin heatmaps or choropleths. geo_data_visualizer
  • Time-Series Explorer – Resample, smooth and decompose date/value data: trend, R², seasonality, YoY change and anomalies. time_series_explorer

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://charts.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: csv_excel_chart_studio, diagram_flowchart_maker, embeddable_chart_builder, geo_data_visualizer, time_series_explorer
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://charts.usefulweb.site/mcp" }
  }
}