# Fontsource — card for AI agents

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

Category: Fonts · maker Fontsource · checked 2026-10-10

## Price
- Price: Free
- Free tier: Free.

## License
Per font

- commercial: **conditions** (Commercial use with conditions)
  > Always make sure to read the license for each font you use.
  (https://github.com/fontsource/fontsource)
- attribution: **varies** (Credit depends on the item)
- in app: **conditions** (Ship inside your app with conditions)
  > You can find their specific licenses on each package `README.md`.
  (https://github.com/fontsource/fontsource)
- bots: **allowed**
  > can be accessed by any HTTP client
  (https://fontsource.org/docs/api/introduction)

## Rules to follow
- Follow each font's own license (OFL, Apache and others).

## 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. (sign-in: none)
- Formats: 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.

## React (official example, https://fontsource.org/docs/getting-started/install)

```
npm install @fontsource-variable/open-sans

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

## HTML/CSS (official example, https://fontsource.org/docs/getting-started/install)

```
body {
 font-family: "Open Sans", sans-serif;
}
```

## How to connect
- Package (npm/PyPI)
- API docs: https://fontsource.org/docs/getting-started/introduction
- npm: `npm install @fontsource/<font>`
- Website: https://fontsource.org

## Lines to paste into your prompt or AGENTS.md

```
- 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).
```

Not verified: api.fontsource.org not covered on the page read.

## Links
- AgentGid page: https://agentgid.com/assets/fontsource/
- Is it free for commercial use? https://agentgid.com/assets/fontsource/commercial-use/
- Source: https://fontsource.org/docs/getting-started/introduction

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
