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
POST https://luminafontinspector.usefulweb.site/api/v1/calculate– run Font File Inspector & Glyph CoverageGET https://luminafontinspector.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
font (required) | file | — | Font (TTF, OTF or WOFF; up to 2 MB; uploaded to the server) |
text | textarea | "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)
- Streamable HTTP endpoint:
https://luminafontinspector.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
lumina_font_inspector - Local stdio connector:
node src/mcp-stdio.ts --tool=lumina-font-inspector
{
"mcpServers": {
"lumina-font-inspector": { "type": "http", "url": "https://luminafontinspector.usefulweb.site/mcp" }
}
}