font-metadata

Cloudflare Workers MCP server: font-metadata

我该使用它吗

质量与安全性

A
描述质量
93%
模式完整度
98%
命名质量
93%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~841token 数(工具定义)
~1.3 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.66%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "font-metadata": {
      "url": "https://api.lazy-mac.com/font-metadata/mcp"
    }
  }
}

远程端点

https://api.lazy-mac.com/font-metadata/mcpstreamable-http

它能做什么

工具清单

工具(6)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_font_info(font_id)

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

输入模式

{
  "type": "object",
  "properties": {
    "font_id": {
      "type": "string",
      "description": "Font slug or family name (e.g. \"inter\", \"Open Sans\", \"playfair-display\")"
    }
  },
  "required": [
    "font_id"
  ]
}
🟢suggest_pairings(font_id, limit, use_case, style)

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

输入模式

{
  "type": "object",
  "properties": {
    "font_id": {
      "type": "string",
      "description": "Font slug or family name to find pairings for"
    },
    "limit": {
      "type": "number",
      "description": "Number of pairing suggestions (1-10, default 5)"
    },
    "use_case": {
      "type": "string",
      "description": "Filter by use case: editorial, blog, saas, tech, luxury, corporate, etc."
    },
    "style": {
      "type": "string",
      "description": "Filter by style: modern, elegant, bold, minimal, classic, etc."
    }
  },
  "required": [
    "font_id"
  ]
}
⚪generate_css(mode, font, heading_font, body_font, weights, ...)

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

输入模式

{
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "single",
        "pairing"
      ],
      "description": "single: one font CSS; pairing: heading+body CSS"
    },
    "font": {
      "type": "string",
      "description": "Font for single mode"
    },
    "heading_font": {
      "type": "string",
      "description": "Heading font for pairing mode"
    },
    "body_font": {
      "type": "string",
      "description": "Body font for pairing mode"
    },
    "weights": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Font weights to include (e.g. [\"400\",\"700\"])"
    },
    "size": {
      "type": "string",
      "description": "Base font size (e.g. \"16px\")"
    },
    "line_height": {
      "type": "string",
      "description": "Line height (e.g. \"1.5\")"
    }
  },
  "required": [
    "mode"
  ]
}
🟢list_fonts_by_category(category, tag, search, sort, limit, ...)

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": {
    "category": {
      "type": "string",
      "enum": [
        "sans-serif",
        "serif",
        "slab-serif",
        "monospace",
        "display",
        "handwriting"
      ],
      "description": "Font category filter"
    },
    "tag": {
      "type": "string",
      "description": "Tag filter (e.g. \"geometric\", \"elegant\", \"code\", \"rounded\", \"literary\")"
    },
    "search": {
      "type": "string",
      "description": "Search term to filter fonts by name or description"
    },
    "sort": {
      "type": "string",
      "enum": [
        "popularity",
        "name"
      ],
      "description": "Sort order (default: popularity)"
    },
    "limit": {
      "type": "number",
      "description": "Max results (1-50, default 20)"
    },
    "offset": {
      "type": "number",
      "description": "Pagination offset (default 0)"
    }
  }
}
🟢check_language_support(font_id, languages)

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

输入模式

{
  "type": "object",
  "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."
    }
  },
  "required": [
    "font_id"
  ]
}
⚪font_stack(font_id, include_metric_compatible, include_system_fallbacks)

Generate a complete CSS font-stack with metric-compatible and system fallbacks for robust cross-platform rendering.

输入模式

{
  "type": "object",
  "properties": {
    "font_id": {
      "type": "string",
      "description": "Font slug or family name (e.g. \"inter\", \"roboto-mono\")"
    },
    "include_metric_compatible": {
      "type": "boolean",
      "description": "Include metric-compatible fallback fonts (default true)"
    },
    "include_system_fallbacks": {
      "type": "boolean",
      "description": "Include system fallback fonts (default true)"
    }
  },
  "required": [
    "font_id"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具
已验证未记录版本6 个工具
已验证未记录版本6 个工具