Software / Claude Code
Software · MCP

Claude Code

Available now

Generate and fetch fonts without leaving the terminal. Connect YoFont as an MCP server and Claude Code can create a font family, poll it until it's ready, and write the files straight into your project — all mid-session, all from a plain-language prompt.

// Setup
Connect in under a minute

Three steps: get a key, register the server, start asking for fonts.

Create an API key

Generate a free key on your profile page — or from the API tab at /api-mcp. It's the same key the REST API uses.

Add YoFont as an MCP server

Run this once from your terminal. Claude Code stores the connection and reconnects automatically in future sessions.

Ask for a font

Talk to Claude Code as you normally would — it now has generate_font, check_font_status, download_font, list_languages and list_my_fonts available as tools whenever a prompt calls for one.

claude mcp add --transport http yofont \
  https://yofont.com/api/public/mcp \
  --header "Authorization: Bearer $YOFONT_KEY"

Replace $YOFONT_KEY with your real key (it starts with yf_live_), or export it once in your shell before running the command: export YOFONT_KEY=yf_live_...

// Tools
Five tools, one MCP server

Every tool below is a thin wrapper over the same public API described in the full reference — same auth, same limits, same validation.

generate_font

Generate a brand-new font family from a prompt and/or a reference image URL. Set languages, weights, glyph types and a model tier (standard, pro or ultra). Returns immediately with a link to poll — it's an async job.

check_font_status

Poll a font job by its link. Once the build is ready, returns direct ttf/otf/woff/woff2 URLs you can fetch with no auth required.

download_font

Fetch a font file's bytes inline for a given link and format (ttf/otf/woff/woff2), so Claude Code can write it straight to disk in your project. Falls back to a plain URL if the file is unusually large.

list_languages

List every supported ISO-2 language code, with glyph counts and text direction, so Claude Code can build a valid languages array.

list_my_fonts

List your last 100 font jobs — status, model, source and a link to each font's page.

See full parameters and response shapes in the MCP tool reference →

// Try it
What to type

No special syntax — describe what you want in plain language and Claude Code calls the right tool for you.

🧒
A font for a kids' app
“Generate a friendly rounded sans-serif for a kids' app, English and Spanish, normal and bold — save the ttf files into ./public/fonts.”
Check a job's status
“Check the status of font 8WeheWlTl and give me the woff2 URL once it's ready.”
🖼️
From a reference image
“Generate a display font from this reference image [url], ultra quality, then download the ttf and add it to our Tailwind config as a custom font-face.”

Explore the rest of the API

Every MCP tool is a thin wrapper over the same public REST API — read the full reference for request and response examples, including every parameter for each tool above.

← Back to Software Full MCP tool reference →