Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Fontsource

Open-source fonts packaged as individual npm packages for self-hosting.

Fonts Code libraryOpen source

WebsiteAPI docs

2. Commercial use: github.com/fontsource/fontsource

“Always make sure to read the license for each font you use.”
github.com/fontsource/fontsource

License checked Oct 10, 2026 against 2 official pages. Tap a verdict to see its source. How we checked Report an error

License

Per font.

Commercial use
With conditions

“Always make sure to read the license for each font you use.” github.com/fontsource/fontsource

Credit
Depends on item
Inside your app or game
With conditions

“You can find their specific licenses on each package `README.md`.” github.com/fontsource/fontsource

Pass the files on to your users
Not checked yet
AI training
Not stated
Bots and bulk downloads
Allowed

“can be accessed by any HTTP client” fontsource.org/docs/api/introduction

Rules from the license
  • Follow each font's own license (OFL, Apache and others).

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Fontsource free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Fontsource. Paste them into your prompt or AGENTS.md.

License rules
- Fontsource (Fonts). Open-source fonts packaged as individual npm packages for self-hosting. Price: free; commercial use with conditions; credit depends on the item; ship inside your app with conditions.
  Connect: npm @fontsource/<font>.
  Get files: npm install @fontsource/<font> (static) or @fontsource-variable/<font>, then import the CSS. CDN: https://cdn.jsdelivr.net/fontsource/fonts/{id}@{version}/{subset}-{weight}-{style}.{extension}. Metadata API: api.fontsource.org/v1/fonts (woff2).
  Not allowed: Most fonts are SIL OFL 1.1, some Apache 2, the Ubuntu fonts use the Ubuntu Font License 1.0.
  Not allowed: API hard limit is 2500 requests per 10 seconds; constant use at that rate can bring a temporary ban.
  Rule: Follow each font's own license (OFL, Apache and others).
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install @fontsource/<font>
How an agent gets files
npm install @fontsource/<font> (static) or @fontsource-variable/<font>, then import the CSS. CDN: https://cdn.jsdelivr.net/fontsource/fonts/{id}@{version}/{subset}-{weight}-{style}.{extension}. Metadata API: api.fontsource.org/v1/fonts.

Formats: woff2

API, key or account
Not needed. Everything runs on your side. API docs
MCP server
None found
This card for machines

Use it in your stack

ReactImport once in the entry file (needs a bundler that handles CSS imports). Static alternative: npm install @fontsource/open-sans, then import "@fontsource/open-sans"; or per weight import "@fontsource/open-sans/300.css". Swap open-sans for any font id.
npm install @fontsource-variable/open-sans

import "@fontsource-variable/open-sans";

From the official docs: fontsource.org/docs/getting-started/install

HTML/CSSReference the family name in CSS after importing the package.
body {
 font-family: "Open Sans", sans-serif;
}

From the official docs: fontsource.org/docs/getting-started/install

Alternatives

Fontsource This page

Free With conditions npm

Nerd Fonts

Developer fonts patched with over 10,000 icon glyphs, plus a FontForge script for patching your own fonts.

Free Commercial OK Download

IBM Plex

Open-source typeface family (Sans, Serif, Mono, Condensed, Math) with multi-script support, released under the SIL Open Font License.

Free Commercial OK npm

Fira Code

Free monospaced programming font with ligatures for common multi-character code sequences, released under the SIL OFL 1.1.

Free Commercial OK npm

Maple Mono

Open-source monospace coding font with ligatures, Nerd-Font icons and a CN variant, released under the SIL OFL 1.1.

Free Commercial OK Download

Cascadia Code

A coding font with programming ligatures, shipped as variable, static TTF, OTF and WOFF2 files, plus Mono, Powerline and Nerd Font variants.

Free Commercial OK Download

All fonts

AgentGid articles about Fontsource

All guides