这是一个基于 模型上下文协议 (MCP) 的服务器,用于提取并转换网页内容为干净且适合大语言模型 (LLM) 处理的 Markdown 格式。返回文章标题、主要内容、摘录、作者信息和站点名称。使用 Mozilla 的可读性算法 来移除广告、导航栏、页脚和其他非必要元素,同时保留核心内容结构。更多关于 MCP。
<a href="https://glama.ai/mcp/servers/jdcx8fmajm"><img width="380" height="200" src="https://gips0.baidu.com/it/u=2526419188,2028727200&fm=3081&app=3081&f=PNG?w=760&h=400" alt="Mozilla Readability Parser Server MCP 服务器" /></a>
与简单的抓取请求不同,此服务器:
要自动安装 Mozilla 可读性解析器到 Claude Desktop,请使用 Smithery:
npx -y @smithery/cli install server-moz-readability --client claude
npm install server-moz-readability
parse抓取并转换网页内容为干净的 Markdown。 参数:
{
"url": {
"type": "string",
"description": "要解析的网站 URL",
"required": true
}
}
返回值:
{
"title": "文章标题",
"content": "Markdown 内容...",
"metadata": {
"excerpt": "简短摘要",
"byline": "作者信息",
"siteName": "来源网站名称"
}
}
在你的 claude_desktop_config.json 文件中添加:
{
"mcpServers": {
"readability": {
"command": "npx",
"args": ["-y", "server-moz-readability"]
}
}
}
MIT