API & MCP

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

HTTP API

  • GET https://publicdata.usefulweb.site/api/v1/tools – catalog
  • GET https://publicdata.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://publicdata.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://publicdata.usefulweb.site/api/v1/workflows · POST https://publicdata.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 Public technical data explorers

  • Energy Grid Explorer – Generation mix, load, renewable share, cross-border flows and power prices for European grids. energy_grid_explorer
  • Internet Archive Change Explorer – See how a web page changed in the Wayback Machine: capture timeline plus the changes that matter. internet_archive_change_explorer
  • Public Spending Explorer – Search government contracts and grants: who pays whom, totals per agency and vendor. public_spending_explorer
  • Satellite Change Explorer – Compare NASA satellite images of any place on two dates: true colour, NDVI, night lights. satellite_change_explorer
  • Software Adoption Explorer – Open-source usage signals: weekly downloads, growth and version adoption for npm, PyPI, crates. software_adoption_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://publicdata.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: energy_grid_explorer, internet_archive_change_explorer, public_spending_explorer, satellite_change_explorer, software_adoption_explorer
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://publicdata.usefulweb.site/mcp" }
  }
}