API & MCP

Everything a person can do on FITS Header & Image Inspector, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

FITS Header & Image Inspector

Open an astronomical FITS file (also .fits.gz) to list every header card, see the data type, BZERO/BSCALE scaling, row order and Bayer pattern, measure per-plane statistics and download a stretched preview PNG. Reads the primary image or the first image extension; tile-compressed files are explained, not guessed. Lumina Astro Lab uses the same reader.

Inputs of FITS Header & Image Inspector
FieldTypeDefaultDescription
file (required)file—FITS file (.fits, .fit, .fts or .gz; up to 16 MB)
stretchselect (auto, asinh, linear)"auto"Preview stretch

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