font-metadata

v1.0.0
io.github.lazymac2x/font-metadata Checked 15 hours ago Published 6 months ago

Cloudflare Workers MCP server: font-metadata

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_font_info

Get detailed metadata for a specific web font including variants, subsets, tags, designer, year, and Google Fonts URL.

ParameterTypeDescription
font_id *stringFont slug or family name (e.g. "inter", "Open Sans", "playfair-display")

suggest_pairings

Get font pairing recommendations with CSS snippets, compatibility scores, and curated rationale from design experts.

ParameterTypeDescription
font_id *stringFont slug or family name to find pairings for
limitnumberNumber of pairing suggestions (1-10, default 5)
stylestringFilter by style: modern, elegant, bold, minimal, classic, etc.
use_casestringFilter by use case: editorial, blog, saas, tech, luxury, corporate, etc.

generate_css

Generate ready-to-use CSS @import snippet for a single font or a heading+body font pairing.

ParameterTypeDescription
mode *stringsingle: one font CSS; pairing: heading+body CSS
body_fontstringBody font for pairing mode
fontstringFont for single mode
heading_fontstringHeading font for pairing mode
line_heightstringLine height (e.g. "1.5")
sizestringBase font size (e.g. "16px")
weightsarrayFont weights to include (e.g. ["400","700"])

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.

ParameterTypeDescription
categorystringFont category filter
limitnumberMax results (1-50, default 20)
offsetnumberPagination offset (default 0)
searchstringSearch term to filter fonts by name or description
sortstringSort order (default: popularity)
tagstringTag filter (e.g. "geometric", "elegant", "code", "rounded", "literary")

check_language_support

Check which languages/scripts a font supports, or verify support for specific language codes.

ParameterTypeDescription
font_id *stringFont slug or family name
languagesarrayLanguage 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.

ParameterTypeDescription
font_id *stringFont slug or family name (e.g. "inter", "roboto-mono")
include_metric_compatiblebooleanInclude metric-compatible fallback fonts (default true)
include_system_fallbacksbooleanInclude system fallback fonts (default true)