API & MCP

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

HTTP API

Error Message Translator

Matches your error message against a database of over 120 known errors (HTTP status codes, TLS/certificate, DNS, network, filesystem, Node.js, Python, Java, npm, pip, git, Docker, SQL and Windows codes), explains the cause in plain English and fills the concrete file, host, port or package from your message into the steps.

Inputs of Error Message Translator
FieldTypeDefaultDescription
message (required)textarea—Error message
contextselect (any, browser, terminal, windows, code)"any"Where did you see it?

Example request

Database refused connection

curl -X POST https://errormessagetranslator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"message":"Error: connect ECONNREFUSED 127.0.0.1:5432\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)","context":"code"}'

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": {
    "error-message-translator": { "type": "http", "url": "https://errormessagetranslator.usefulweb.site/mcp" }
  }
}