Skip to main content
Glama
Mozilla Readability Parser MCP Server

Mozilla Readability Parser MCP Server

by emzimmer

Mozilla Readability 解析器 MCP 服务器

一个模型上下文协议 (MCP)服务器,用于提取网页内容并将其转换为干净的、LLM 优化的 Markdown 格式。返回文章标题、正文、摘录、署名和网站名称。使用Mozilla 的 Readability 算法移除广告、导航、页脚和不必要的元素,同时保留核心内容结构。了解更多关于 MCP 的信息。

特征

  • 删除广告、导航、页脚和其他非必要内容

  • 将干净的 HTML 转换为格式良好的 Markdown(也使用 Turndown)

  • 返回文章元数据(标题、摘录、署名、网站名称)

  • 优雅地处理错误

Related MCP server: Defuddle MCP Server

为什么不直接获取?

与简单的获取请求不同,此服务器:

  • 使用 Mozilla 的可读性算法仅提取相关内容

  • 消除广告、弹出窗口和导航菜单等噪音

  • 通过删除不必要的 HTML/CSS 来减少令牌的使用

  • 提供一致的 Markdown 格式,以便更好地处理 LLM

  • 包含有关内容的有用元数据

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Mozilla Readability Parser:

npx -y @smithery/cli install server-moz-readability --client claude

手动安装

npm install server-moz-readability

工具参考

parse

获取网页内容并将其转换为干净的 Markdown。

参数:

{
  "url": {
    "type": "string",
    "description": "The website URL to parse",
    "required": true
  }
}

返回:

{
  "title": "Article title",
  "content": "Markdown content...",
  "metadata": {
    "excerpt": "Brief summary",
    "byline": "Author information",
    "siteName": "Source website name"
  }
}

与 Claude Desktop 一起使用

添加到您的claude_desktop_config.json :

{
  "mcpServers": {
    "readability": {
      "command": "npx",
      "args": ["-y", "server-moz-readability"]
    }
  }
}

依赖项

  • @mozilla/readability——内容提取

  • turndown - HTML 到 Markdown 的转换

  • jsdom——DOM 解析

  • axios - HTTP 请求

执照

麻省理工学院

Available Tools

1 tool
parseA

Extracts and transforms webpage content into clean, LLM-optimized Markdown. Returns article title, main content, excerpt, byline and site name. Uses Mozilla's Readability algorithm to remove ads, navigation, footers and non-essential elements while preserving the core content structure.

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose focused on parsing webpage content into clean Markdown.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The tool name 'parse' is straightforward and appropriate for its function.

    Tool Count2/5

    A single tool is too few for a server's purpose, even if that purpose is narrow. This limits functionality and makes the server feel thin, as it lacks complementary operations like configuration, validation, or batch processing that might be expected in a parsing domain.

    Completeness2/5

    The tool surface is severely incomplete for a parsing server. While the 'parse' tool covers the core extraction function, there are obvious gaps such as no tools for handling errors, validating inputs, managing configurations, or providing metadata about the parsing process, which could lead to agent failures in real-world scenarios.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to read web pages reliably, returning clean markdown content, hyperlinks, and metadata without navigation or ad noise.
      3
      9 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Converts any webpage into clean, LLM-ready Markdown, removing noise and supporting JavaScript rendering.
      MIT