Skip to main content
Glama

deadlink-checker-mcp

死链检查 MCP 服务器 — 查找任何网站上的失效链接、重定向和超时。

安装

Claude Code

claude mcp add deadlink-checker -- npx -y deadlink-checker-mcp

Claude Desktop

添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "deadlink-checker": {
      "command": "npx",
      "args": ["-y", "deadlink-checker-mcp"]
    }
  }
}

Cursor

添加到 MCP 设置:

{
  "mcpServers": {
    "deadlink-checker": {
      "command": "npx",
      "args": ["-y", "deadlink-checker-mcp"]
    }
  }
}

Related MCP server: webcheck-mcp

工具

检查单个网页上的所有链接。

示例提示词:

检查 https://example.com 上的所有链接,查找失效的 URL

输出: 包含每个已发现链接的状态、状态文本、重定向地址、响应时间和位置的 JSON。


deep_scan

递归爬取内部页面并检查所有发现的链接。

示例提示词:

深度扫描 https://example.com,深度为 2,查找所有失效链接

参数:

  • url — 起始 URL

  • depth — 爬取深度 1-3(免费版:最大为 1)


check_sitemap

解析 sitemap.xml 并检查其中列出的每个 URL。

示例提示词:

检查 https://example.com/sitemap.xml 中的所有 URL

输出: 站点地图中每个 URL 的状态,并突出显示失效链接和超时链接。

工作原理

  1. 获取目标页面并提取所有 <a href> 链接

  2. 使用 HTTP HEAD(快速)检查每个链接,如果 HEAD 被拒绝,则回退到 GET

  3. 并行批量请求(每次 10 个),超时时间为 10 秒,重试 1 次

  4. 报告:失效(4xx/5xx)、重定向(301/302)、超时和正常链接

MCP 工具包的一部分

查看所有服务器 →

许可证

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Web scraping MCP server for Al agents. 6 tools: extract clean text/markdown from any URL, structured scraping with CSS selectors, full-page screenshots via Playwright, link extraction with regex filtering, metadata extraction (OG tags, Twitter cards), and Google search. Free tier: 50 requests/IP/day.
    8
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Website health checker MCP server - SEO audit, accessibility scan, broken link detection, performance analysis, and page comparison.
    67 npm
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for broken link detection, monitoring, and AI-powered fix suggestions. Scans URLs or sitemaps, estimates SEO and revenue impact, and returns actionable remediation steps. Built with FastMCP 3.x.
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for running infrastructure diagnostics from 6 global regions. It provides tools like SSL checks, DNS lookups, ping, whois, port checks, traceroute, latency tests, and more, with a free demo mode (10 calls/day) and no API key required.
    54 npm
    MIT