欢迎来到 pure.md 的 Model Context Protocol (MCP) 服务器。pure.md 能够让你的脚本、API、应用程序和代理等内容可靠地以 Markdown 格式访问网页内容,就像是一个为 Markdown 内容提供的 CDN。而 puremd-mcp 则能教会 MCP 客户端如何利用 pure.md 的功能,使其具备绕过反爬虫限制和实现网络搜索的能力。
pure.md 可以让你通过在任何 URL 前缀中添加 pure.md/
,可靠地以 Markdown 格式访问网页内容。它有着诸多强大的功能:
如果没有 puremd-mcp,本地代理可能会无法获取网页内容。 puremd-mcp 赋予了 MCP 客户端(如 Cursor、Windsurf 和 Claude Desktop)绕过反爬虫限制和实现网络搜索的能力。
unblock-url
- 从网页中提取 Markdown 而不被阻止。search-web
- 搜索网络上的查询并将其结果拼接成 Markdown。由 Anthropic 开发的 模型上下文协议 是一个开放标准,使 AI 系统能够无缝地与工具生态系统交互。借助它,MCP 客户端可以学习如何使用各种 API 和其他功能。
生成 API 密钥是提高速率限制的可选步骤。如果你希望以匿名方式使用 pure.md 的 MCP 服务器,请将 PUREMD_API_KEY
变量设为空字符串 (""
)。具体操作步骤如下:
PUREMD_API_KEY
变量(见下文)。将以下内容添加到你的 ~/.cursor/mcp.json
文件中:
{
"mcpServers": {
"pure.md": {
"command": "npx",
"args": ["-y", "puremd-mcp"],
"env": {
"PUREMD_API_KEY": ""
}
}
}
}
将以下内容添加到你的 ./codeium/windsurf/model_config.json
文件中:
{
"mcpServers": {
"pure.md": {
"command": "npx",
"args": ["-y", "puremd-mcp"],
"env": {
"PUREMD_API_KEY": ""
}
}
}
}
将以下内容添加到你的 ~/Library/Application\ Support/Claude/claude_desktop_config.json
文件中:
{
"mcpServers": {
"pure.md": {
"command": "npx",
"args": ["-y", "puremd-mcp"],
"env": {
"PUREMD_API_KEY": ""
}
}
}
}
要通过 Smithery 自动安装 puremd-mcp 用于 Claude Desktop,可使用以下命令:
npx -y @smithery/cli install @puremd/puremd-mcp --client claude