API & MCP

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

HTTP API

  • POST https://formtranslator.usefulweb.site/api/v1/calculate – run Form Translator
  • GET https://formtranslator.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Form Translator

Paste or upload (incl. photo/OCR) an official, insurance or tax form in English or German. Form Translator detects the fields, recognises what kind of entry each needs (date, signature, checkbox, IBAN, tax ID …), explains jargon from a curated glossary of 160 terms and lists the documents you will probably need.

Inputs of Form Translator
FieldTypeDefaultDescription
texttextarea—Form text. Paste the form text (labels and instructions), or upload a PDF/DOCX/photo below.
filefile—Or upload a file. TXT, PDF, DOCX, HTML or a photo/scan (PNG/JPG, read with OCR). Max 5 MiB.

Example request

German Kindergeld-style application

curl -X POST https://formtranslator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"text":"Antrag auf Kindergeld\n\n1. Angaben zur antragstellenden Person\nName, Vorname: ______________________\nGeburtsdatum (TT.MM.JJJJ): __________\nSteuer-ID: ___________\nAnschrift (Straße, Hausnummer, PLZ, Ort): ____________________\nFamilienstand:\n☐ ledig ☐ verheiratet ☐ geschieden ☐ verwitwet\n\n2. Angaben zum Ehegatten / eingetragenen Lebenspartner\nName, Vorname: ______________\n\n3. Bankverbindung\nIBAN: DE89 3704 0044 0532 0130 00\nKontoinhaber: ______________\n\nBitte fügen Sie eine Kopie der Geburtsurkunde und ggf. eine Schulbescheinigung bei.\nIch versichere, dass meine Angaben vollständig und richtig sind.\nOrt, Datum: ____________   Unterschrift: ________________"}'

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://formtranslator.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: form_translator
  • Local stdio connector: node src/mcp-stdio.ts --tool=form-translator
{
  "mcpServers": {
    "form-translator": { "type": "http", "url": "https://formtranslator.usefulweb.site/mcp" }
  }
}