MCP 服务器

font-metadata

io.github.lazymac2x/font-metadata
设计与创意 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Provides web font metadata, language support checks, CSS font stacks, font imports, and pairing recommendations.

check_language_support
Check which languages/scripts a font supports, or verify support for specific language codes.
输入模式
{'type': 'object', 'required': ['font_id'], 'properties': {'font_id': {'type': 'string', 'description': 'Font slug or family name'}, 'languages': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Language codes to check (e.g. ["ru","ko","ar"]). If omitted, returns all supported languages.'}}}
font_stack
Generate a complete CSS font-stack with metric-compatible and system fallbacks for robust cross-platform rendering.
输入模式
{'type': 'object', 'required': ['font_id'], 'properties': {'font_id': {'type': 'string', 'description': 'Font slug or family name (e.g. "inter", "roboto-mono")'}, 'include_system_fallbacks': {'type': 'boolean', 'description': 'Include system fallback fonts (default true)'}, 'include_metric_compatible': {'type': 'boolean', 'description': 'Include metric-compatible fallback fonts (default true)'}}}
generate_css
Generate ready-to-use CSS @import snippet for a single font or a heading+body font pairing.
输入模式
{'type': 'object', 'required': ['mode'], 'properties': {'font': {'type': 'string', 'description': 'Font for single mode'}, 'mode': {'enum': ['single', 'pairing'], 'type': 'string', 'description': 'single: one font CSS; pairing: heading+body CSS'}, 'size': {'type': 'string', 'description': 'Base font size (e.g. "16px")'}, 'weights': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Font weights to include (e.g. ["400","700"])'}, 'body_font': {'type': 'string', 'description': 'Body font for pairing mode'}, 'line_height': {'type': 'string', 'description': 'Line height (e.g. "1.5")'}, 'heading_font': {'type': 'string', 'description': 'Heading font for pairing mode'}}}
get_font_info
Get detailed metadata for a specific web font including variants, subsets, tags, designer, year, and Google Fonts URL.
输入模式
{'type': 'object', 'required': ['font_id'], 'properties': {'font_id': {'type': 'string', 'description': 'Font slug or family name (e.g. "inter", "Open Sans", "playfair-display")'}}}
list_fonts_by_category
List available web fonts filtered by category, tag, or search query. Returns 100+ fonts across serif, sans-serif, monospace, display, and handwriting categories.
输入模式
{'type': 'object', 'properties': {'tag': {'type': 'string', 'description': 'Tag filter (e.g. "geometric", "elegant", "code", "rounded", "literary")'}, 'sort': {'enum': ['popularity', 'name'], 'type': 'string', 'description': 'Sort order (default: popularity)'}, 'limit': {'type': 'number', 'description': 'Max results (1-50, default 20)'}, 'offset': {'type': 'number', 'description': 'Pagination offset (default 0)'}, 'search': {'type': 'string', 'description': 'Search term to filter fonts by name or description'}, 'category': {'enum': ['sans-serif', 'serif', 'slab-serif', 'monospace', 'display', 'handwriting'], 'type': 'string', 'description': 'Font category filter'}}}
suggest_pairings
Get font pairing recommendations with CSS snippets, compatibility scores, and curated rationale from design experts.
输入模式
{'type': 'object', 'required': ['font_id'], 'properties': {'limit': {'type': 'number', 'description': 'Number of pairing suggestions (1-10, default 5)'}, 'style': {'type': 'string', 'description': 'Filter by style: modern, elegant, bold, minimal, classic, etc.'}, 'font_id': {'type': 'string', 'description': 'Font slug or family name to find pairings for'}, 'use_case': {'type': 'string', 'description': 'Filter by use case: editorial, blog, saas, tech, luxury, corporate, etc.'}}}
已添加
font_stack
2026年9月17日 12:43
已添加
check_language_support
2026年9月17日 12:43
已添加
list_fonts_by_category
2026年9月17日 12:43
已添加
generate_css
2026年9月17日 12:43
已添加
suggest_pairings
2026年9月17日 12:43
已添加
get_font_info
2026年9月17日 12:43