API & MCP

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

HTTP API

Tools on Codeharbor

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)

{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://codeharbor.usefulweb.app/mcp" }
  }
}