# Google Fonts — card for AI agents

Open-source font catalog with a Developer API for metadata, a CSS API and the Google Design MCP.

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

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

## License
SIL OFL 1.1 (most), Apache-2.0 (some), Ubuntu Font License 1.0 — https://github.com/google/fonts

- commercial: **yes** (Commercial use OK)
  > No additional license or permission is required
  (https://openfontlicense.org/ofl-faq/)
- attribution: **no** (No credit needed)
- in app: **conditions** (Ship inside your app with conditions)
- bots: **allowed**
  > including an API key with each request.
  (https://developers.google.com/fonts/docs/developer_api)

## Rules to follow
- Keep the license file with font files you bundle in an app.
- Respect Reserved Font Names when you modify a font.

## How an agent gets files
- Developer API: GET https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY returns a files map of TTF URLs on fonts.gstatic.com (add capability=WOFF2 for woff2). CSS API: https://fonts.googleapis.com/css?family=... . Whole collection: https://github.com/google/fonts/archive/main.zip (needs no key). (sign-in: api-key)
- Formats: ttf, woff2
- Not allowed: Most fonts are SIL OFL 1.1, some Apache 2, the Ubuntu fonts use the Ubuntu Font License 1.0; each family folder has its own license file.
- Not allowed: OFL fonts cannot be sold by themselves, only bundled with software.
- Not allowed: Modified OFL fonts cannot use the Reserved Font Name.

## Next.js (official example, https://nextjs.org/docs/app/getting-started/fonts)

```
import { Geist } from 'next/font/google'

const geist = Geist({
  subsets: ['latin'],
})

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en" className={geist.className}>
      <body>{children}</body>
    </html>
  )
}
```

## HTML/CSS (official example, https://developers.google.com/fonts/docs/getting_started)

```
<link rel="stylesheet"
  href="https://fonts.googleapis.com/css?family=Font+Name">

.css-selector {
  font-family: 'Font Name', serif;
}
```

## How to connect
- Official MCP server
- MCP server (official): https://design.googleapis.com/mcp
- API docs: https://developers.google.com/fonts/docs/developer_api (API key needed)
- API limits: API key required; quota not stated.
- Repository: https://github.com/google/fonts
- Website: https://fonts.google.com

## Notes
Design MCP tools: search_fonts, describe_font, generate_color_scheme. Fontsource (@fontsource/*) self-hosts the same fonts.

## Numbers (AgentGid data)
- Gid Score: 41.1
- GitHub stars: 20,668

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

```
- Google Fonts (Fonts). Open-source font catalog with a Developer API for metadata, a CSS API and the Google Design MCP. Price: free; commercial use OK; no credit needed; ship inside your app with conditions.
  Connect: official MCP server https://design.googleapis.com/mcp; API docs https://developers.google.com/fonts/docs/developer_api (API key needed). Limits: API key required; quota not stated.
  Get files: Developer API: GET https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY returns a files map of TTF URLs on fonts.gstatic.com (add capability=WOFF2 for woff2). CSS API: https://fonts.googleapis.com/css?family=.. . Whole collection: https://github.com/google/fonts/archive/main.zip (needs no key) (ttf, woff2).
  Not allowed: Most fonts are SIL OFL 1.1, some Apache 2, the Ubuntu fonts use the Ubuntu Font License 1.0; each family folder has its own license file.
  Not allowed: OFL fonts cannot be sold by themselves, only bundled with software.
  Not allowed: Modified OFL fonts cannot use the Reserved Font Name.
  Rule: Keep the license file with font files you bundle in an app.
  Rule: Respect Reserved Font Names when you modify a font.
  License: https://github.com/google/fonts (checked 2026-10-10; details: https://agentgid.com/assets/google-fonts/)
```

Not verified: fonts.google.com/faq (privacy/logging) not readable.

## Links
- AgentGid page: https://agentgid.com/assets/google-fonts/
- Is it free for commercial use? https://agentgid.com/assets/google-fonts/commercial-use/
- Source: https://developers.google.com/fonts/docs/developer_api
- Source: https://github.com/google/fonts
- Source: https://openfontlicense.org/
- Source: https://developers.google.com/design-mcp/reference/mcp

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