Sign in

Mrs Font for developers and agents

Identify fonts and find free alternatives and pairings from your own code or an AI agent: an MCP server, a REST API and Markdown versions of our pages.

Free scans and access

Identifying the fonts in an image, a font file or a PDF, and scanning a website, run on our servers, so each one counts as a scan. Every network gets 10 free scans, shared with the website and the extension. Looking up fonts, free alternatives and pairings is free and needs no account.

To keep scanning from an agent or a script after that:

  1. Request access with the Google account you’ll use. We approve requests by hand.
  2. Once you’re approved, sign in on your account page and create an API token. It’s shown once, so copy it then.
  3. Send it with every call as Authorization: Bearer <token>. If it leaks, revoke it on the same page.

Every tool also has an hourly limit per address. Past it, the answer is 429 with a Retry-After header that says how many seconds to wait.

MCP server

Connect any MCP client to https://mrsfont.web.app/mcp (Streamable HTTP). It answers every request with JSON and keeps no sessions. It speaks MCP 2026-07-28 and the earlier versions back to 2024-11-05.

ToolWhat it doesCost
identify_fonts_in_imageThe fonts in a picture of text, from a link to it or the file itselfA scan
scan_websiteThe fonts a public web page draws text with, with licences and free alternativesA scan, unless the site was scanned in the last day
find_free_alternativesFree look-alikes for a font, usually a paid oneFree
suggest_font_pairingsFonts that pair with a font, with the reasonsFree
get_font_detailsA font’s designers, weights, scripts, licence and download linksFree

Claude Code

claude mcp add --transport http mrsfont https://mrsfont.web.app/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"

Clients set up with JSON, such as Cursor

{
  "mcpServers": {
    "mrsfont": {
      "url": "https://mrsfont.web.app/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

In VS Code, the same entry goes under "servers" with "type": "http". Leave the header out to use the free scans: apps that add a server by its address alone can use the free tools that way too. Clients that look for servers can read our server card and AI catalog.

REST API

The base address is https://mrsfont.web.app/api/v1. The OpenAPI 3.1 reference describes every call below with its fields and answers.

CallWhat it doesCost
POST /image/identifyThe fonts in an image: send image (a data URL or base64) or imageUrl. PNG, JPEG or WebP, up to 8 MBA scan
POST /fontfile/inspectA font file’s names, licence, metrics, catalogue match and free alternativesA scan
POST /pdf/identifyThe fonts named in a PDF, with licences and free alternativesA scan
POST /scan-runThe fonts a public website usesA scan, unless the site was scanned in the last day
GET /scan/{domain}The last scan of a websiteFree
GET /fonts/search?q=Search the free font catalogueFree
GET /fonts/{id}A free font’s detailsFree
GET /fonts/{id}/alternativesFree alternatives to a font. Paid fonts go by name too, as in /fonts/proxima-nova/alternativesFree
GET /pairings?anchor=Fonts that pair with a font, with the reasonsFree
GET /pairings/shuffleA new heading and body pairFree
GET /free-scansThe free scans left on your network, and whether your token’s account is approvedFree
POST /access/requestAsk for access, the same as the request formFree

Examples

curl https://mrsfont.web.app/api/v1/image/identify \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $MRSFONT_TOKEN" \
  -d '{"imageUrl": "https://example.com/poster.png"}'
curl https://mrsfont.web.app/api/v1/scan-run \
  -H "Content-Type: application/json" \
  -d '{"url": "stripe.com"}'
curl https://mrsfont.web.app/api/v1/fonts/proxima-nova/alternatives
curl "https://mrsfont.web.app/api/v1/pairings?anchor=playfair-display&role=heading"

A call that uses up a free scan answers with an X-Free-Scans-Left header. To count a task of several calls once, such as an image and a second look at it, send the same X-Mrsfont-Scan id (8 to 64 letters, digits, _ or -) with each, up to 3 calls.

Errors

Errors are JSON with a code and a sentence you can show to a person. When the free scans run out:

{
  "error": {
    "code": "access_required",
    "message": "You’ve used your 10 free scans. To keep using Mrs Font from an agent or the API, request access at https://mrsfont.web.app/access?for=api. Once you’re approved, create an API token at https://mrsfont.web.app/account and send it as \"Authorization: Bearer <token>\".",
    "freeScans": 10,
    "requestAccess": "https://mrsfont.web.app/access?for=api",
    "account": "https://mrsfont.web.app/account",
    "docs": "https://mrsfont.web.app/developers"
  }
}
CodeStatusWhat happened
access_required401 or 403The free scans are used up, and no token came with the call (401) or its account isn’t approved yet (403). Request access, then send an approved account’s token.
invalid_token401The token was revoked, expired or mistyped. Create a new one on your account page.
rate_limited429Too many calls from your address, or the scanner is busy. Wait retryAfter seconds, also sent as Retry-After.
bad_request400Something is missing or malformed; the sentence says what to fix.
too_large413Over the size limit: images 8 MB, font files 10 MB, PDFs 15 MB.
not_found404No such font or scan.

The MCP tools give the same errors as tool results marked isError, with the same sentence, so an agent can tell its user what to do next.

Markdown pages and llms.txt

Add .md to a font, alternatives, pairing or website page to get the same page in Markdown:

llms.txt lists what’s here for language models, and llms-full.txt is this guide in one file. Crawlers are welcome: robots.txt lets them all in.

Good to know