API & MCP

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

HTTP API

FileFit

A compatibility graph of common document, image, video and audio formats against office apps, browsers, operating-system viewers and conversion tools. Every fact links to the vendor or caniuse source it was taken from, with its verification date; conversion paths are found by graph search.

Inputs of FileFit
FieldTypeDefaultDescription
formatselect (docx, doc, odt, rtf, txt, html, pdf, epub, pages, xlsx, xls, heic, avif, webp, jxl, jpeg, png, tiff, gif, mp4-h264, webm, ogv, hevc, av1, mov, mkv, avi, mp3, flac, opus, wav, ogg)"heic"File format
targetselect (any, app:word, app:lo-writer, app:lo-calc, app:google-docs, app:pages, app:chrome, app:edge, app:firefox, app:safari, app:windows-photos, app:apple-devices, app:imagemagick, app:ffmpeg, fmt:do"any"Application, or format to convert to
operationselect (any, open, edit, export, display, play, convert)"any"What do you want to do?

Example request

HEIC photos everywhere

curl -X POST https://filefit.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"format":"heic","target":"any","operation":"any"}'

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