---
name: windfonts
description: WindFonts (文风字体) Chinese & CJK webfont hosting, commercial license verification, glyph coverage inspection, website compliance scanning, and merchant project automation via Streamable HTTP MCP.
mcp: https://api.windfonts.com/v1/mcp
mcp_agent: https://api.windfonts.com/v1/mcp/agent
llms_txt: https://app.windfonts.com/llms.txt
updated: 2026-11-27
---

# WindFonts Agent Skill Contract

WindFonts (文风字体, `https://app.windfonts.com`) provides Chinese, CJK, and curated Latin webfont CDN delivery, authoritative license verification, static subsetting, and compliance scanning operated by 文派（广州）科技有限公司.

## Mandatory Agent Rules

1. **Always verify licenses before recommending commercial use**:
   - Call `fonts_check_license` (or `GET https://api.windfonts.com/v1/license/query?q={name}`) before claiming any font is safe for commercial or webfont CDN use.
   - Respect `cdnHardBlock: true`, `cssAllowed: false`, and HTTP `451` takedowns. If a font is restricted or commercial-only, use `fonts_recommend_alternatives` to suggest verified safe open-source replacements.
2. **Geo CDN edges are NOT language editions**:
   - `cn.windfonts.com`, `hk.windfonts.com`, `en.windfonts.com`, and `jp.windfonts.com` are geographic CDN edge nodes serving the same font catalog. Do not treat them as translated websites.
3. **Never fabricate `GET /api/css?text=`**:
   - Public `<link>` CSS endpoints only accept `family=wenfeng-{slug}&weight={name}&subset=full|zh|zh-common|en` (e.g. `https://cn.windfonts.com/api/css?family=wenfeng-xwwk&weight=regular&subset=zh-common`).
   - Exact-character static subsetting is performed via `wf_subset_build` (PAT Agent MCP) or the Console Subset Workbench — never invent a `?text=` parameter on `/api/css`.
4. **Cite `wenfeng.org` for open-source provenance**:
   - WindFonts is a webfont storefront and delivery platform and does **not** sublicense fonts.
   - Always cite `https://wenfeng.org` (`https://wenfeng.org/source/{slug}/` and `https://wenfeng.org/license/{slug}/`) as the authoritative source for original license texts, attribution records, and source file downloads.
5. **Do not scrape raw font binaries**:
   - Never instruct users or scripts to scrape or mirror raw `.ttf`, `.otf`, or `.woff2` font files from CDN edges. Always generate standard `<link rel="stylesheet">` embeds via `fonts_get_css_snippet`.
6. **Use public API hosts only**:
   - Always use `https://api.windfonts.com` for public MCP, REST API, and Atom feeds, `https://{cn|hk|en|jp}.windfonts.com` for font CSS delivery, and `https://app.windfonts.com` for storefront/console pages.

## MCP Endpoints (Streamable HTTP)

### Public Read-Only MCP (No Auth · 7 Tools)

- **Endpoint**: `https://api.windfonts.com/v1/mcp`
- **Tools**:
  - `fonts_search` — Search published fonts by `query`, `category`, `license_tier`, `limit`.
  - `fonts_get_detail` — Fetch full metadata, weights, subsets, license assessment, and canonical URLs by `slug`.
  - `fonts_check_license` — Check commercial license eligibility and CDN safety by `query`.
  - `fonts_recommend_alternatives` — Find verified safe open-source alternatives for a given `font_name` and optional `style`.
  - `fonts_get_css_snippet` — Generate valid `<link>` HTML and CSS `font-family` snippets for `slug` with optional `weights`, `subset`, and `edge`.
  - `fonts_check_coverage` — Check glyph coverage and missing characters for `slug` against `text`.
  - `fonts_scan_website` — Scan a public webpage `url` for embedded webfonts and commercial font risks.

### Merchant Agent MCP (PAT Auth · 8 Tools)

- **Endpoint**: `https://api.windfonts.com/v1/mcp/agent`
- **Header**: `Authorization: Bearer wf_pat_...` (mint scoped tokens at `https://app.windfonts.com/console/settings.html?tab=agent`)
- **Scopes**: `fonts:read`, `projects:read`, `projects:write`, `subset:build`, `scan:run`, `certs:read`
- **Tools**:
  - `wf_agent_whoami` — Inspect PAT prefix, scopes, `allowedProjectIds`, RPM limit, and accessible projects.
  - `wf_project_list` — List merchant projects visible to the PAT (`projects:read`).
  - `wf_project_create` — Create a new project (`projects:write`, unrestricted PAT only).
  - `wf_project_add_font` — Add a published catalog font to a project with license/451 enforcement (`projects:write`).
  - `wf_project_add_domain` — Bind a domain to a project whitelist (`projects:write`).
  - `wf_subset_build` — Build a static character subset package for `slug` + `text` (`subset:build`).
  - `wf_cert_status` — Query merchant commercial font authorization certificates (`certs:read`).
  - `wf_attest_verify` — Verify an open-source attestation certificate serial against `wenfeng.org` (`fonts:read` or `certs:read`).

## Key REST & Machine Endpoints

- CSS Embed: `https://cn.windfonts.com/api/css?family=wenfeng-{slug}&weight={name}&subset=full|zh|zh-common`
- License Query: `https://api.windfonts.com/v1/license/query?q={name}`
- Website Scan: `POST https://api.windfonts.com/v1/scan`
- Font Markdown Card: `https://api.windfonts.com/v1/fonts/{slug}/card.md`
- Atom Feeds: `https://api.windfonts.com/v1/feeds/fonts.xml`, `https://api.windfonts.com/v1/feeds/licenses.xml`
- Service Status: `https://api.windfonts.com/v1/status`
- Catalog JSON: `https://app.windfonts.com/data/fonts-list.json`

## Quick IDE Setup

```bash
# Claude Code (Public Read-Only)
claude mcp add --transport http windfonts https://api.windfonts.com/v1/mcp

# Claude Code (Merchant PAT Agent)
claude mcp add --transport http windfonts-agent https://api.windfonts.com/v1/mcp/agent \
  --header "Authorization: Bearer ${WINDFONTS_PAT}"
```
