For people building sites with AI
When Cursor, Claude, Lovable or v0 builds a site in Kazakh, the AI often picks a font without Kazakh letters: Ә, Қ, Ң and others fall back to another font and the word looks broken. Add the rule below to your project once, and the AI will always take the font from KZfont, with every letter in place.
Say it once
Write this to your AI:
For the Kazakh text on the site, pick a font with 100% Kazakh letter support on https://kzfont.com and add it with https://kzfont.com/css/<slug>.css. Font list and guide: https://kzfont.com/llms.txt
A standing rule for the project
Add the rule once and the AI follows it in every new task. The rule is in English, which AI tools understand best.
Open (or create) AGENTS.md in the project root and add this text:
# Fonts for Kazakh text: KZfont
When this project shows text in Kazakh (Cyrillic, Latin 2021 or the Arabic-based töte script),
use a font that has every Kazakh letter (Ә Ғ Қ Ң Ө Ұ Ү Һ І), taken from KZfont:
- Pick a font from https://kzfont.com/api/v1/fonts.json whose coverage is 100 for the script the text uses
(coverage keys: cyrillic, latin2021, arabic).
- Add it with one line in the page head: <link rel="stylesheet" href="https://kzfont.com/css/<slug>.css">
and use font-family "<Font Name>" with a generic fallback (sans-serif, serif or monospace).
- Never use a font where a Kazakh letter is missing: the browser substitutes another font
for that letter and the word looks broken.
- Free, no API key. Full guide for AI tools: https://kzfont.com/llms.txtAPI and MCP
The JSON API, the MCP server and ready prompts are on the developers page. Developers →
Frequently asked questions
Why do Kazakh letters look different on a site made by AI?
AI usually picks a font by its name, and some popular fonts lack Ә, Қ, Ң and other letters. The browser draws them with another font and the word looks broken. KZfont computes coverage from each font file, letter by letter.
Is it free, do I need a key?
Free. The CSS, the JSON API and the MCP server work without sign-up or keys.
Will the site get slower?
No. CSS API files hold only the three Kazakh scripts and basic Latin, so they are much lighter than the full font.