API & MCP

Everything a person can do on Font File Inspector & Glyph Coverage, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Font File Inspector & Glyph Coverage

Upload a single TrueType, OpenType or WOFF 1.0 font to inspect its names, weight, width, italic flag, units, glyph count and license text, its tables with checksums, vertical metrics, variation axes and named instances, kerning pairs and ligatures. Check which characters in your sample map to glyphs and see the sample drawn from the font's own outlines. This file tool uploads to the server; Type Lab also inspects fonts.

Inputs of Font File Inspector & Glyph Coverage
FieldTypeDefaultDescription
font (required)file—Font (TTF, OTF or WOFF; up to 2 MB; uploaded to the server)
texttextarea"Hello ÄÖÜ äöü ß 0123456789"Text to check (whitespace excluded)

Example request

Inspect an original metadata-only demonstration font

curl -X POST https://luminafontinspector.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"font":{"filename":"usefulweb-demo.ttf","contentType":"font/ttf","contentBase64":"AAEAAAAFAAAAAAAAaGVhZAAAAAAAAABcAAAANm1heHAAAAAAAAAAlAAAAAZuYW1lAAAAAAAAAJwAAADYY21hcAAAAAAAAAF0AAAALE9TLzIAAAAAAAABoAAAAEAAAQAAAAAAAAAAAABfDzz1AAAD6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAgAAAAAABQBCAAMAAQQJAAEAHAAAAAMAAQQJAAIADgAcAAMAAQQJAAQALAAqAAMAAQQJAAUAFgBWAAMAAQQJAAYAKgBsAFUAcwBlAGYAdQBsAHcAZQBiACAARABlAG0AbwBSAGUAZwB1AGwAYQByAFUAcwBlAGYAdQBsAHcAZQBiACAARABlAG0AbwAgAFIAZQBnAHUAbABhAHIAVgBlAHIAcwBpAG8AbgAgADEALgAwAFUAcwBlAGYAdQBsAHcAZQBiAEQAZQBtAG8ALQBSAGUAZwB1AGwAYQByAAAAAQADAAEAAAAMAAQAIAAAAAQABAABAAAAQf//AAAAQf///8AAAQAAAAAAAAAAAZAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},"text":"A B"}'

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