Skip to main content
Glama

web2md-mcp

Web2MD 的 MCP 服务器 — 将网页 URL 转换为整洁的 Markdown,适用于 Claude Desktop、Cursor 或任何兼容 MCP 的 AI 智能体。

安装

npm install -g web2md-mcp

或者直接使用 npx:

npx web2md-mcp

设置

1. 获取 API 密钥

web2md.org 注册并从仪表板获取您的 API 密钥。

2. 配置 Claude Desktop

添加到 ~/.claude/claude_desktop_config.json

{
  "mcpServers": {
    "web2md": {
      "command": "npx",
      "args": ["web2md-mcp"],
      "env": {
        "WEB2MD_API_KEY": "w2m_your_api_key"
      }
    }
  }
}

3. 配置 Cursor

添加到 ~/.cursor/mcp.json

{
  "mcpServers": {
    "web2md": {
      "command": "npx",
      "args": ["web2md-mcp"],
      "env": {
        "WEB2MD_API_KEY": "w2m_your_api_key"
      }
    }
  }
}

MCP 工具

convert_url

将单个网页 URL 转换为 Markdown。

Input: { url: "https://example.com/article" }
Output: { markdown: "# Article Title\n...", metadata: { title, wordCount, readingTime } }

batch_convert

一次转换多个 URL(最多 50 个)。

Input: { urls: ["https://...", "https://..."] }
Output: [{ url, markdown, metadata }, ...]

agent_convert / agent_batch_convert

通过 Chrome 扩展程序的真实浏览器会话转换 URL(需要设置 Agent Bridge)。适用于 Reddit、受登录保护的网站以及 JS 渲染的页面。

Agent Bridge

如需进行完整的基于浏览器的转换(绕过反爬虫机制),请参阅 Agent Bridge 文档

链接

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/io-oi-ai/web2md-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server