MCP.so
登录

Linkinator

@JustinBeckwith

关于 Linkinator

A Model Context Protocol (MCP) server that provides link checking capabilities using linkinator. This allows AI assistants like Claude to scan webpages and local files for broken links.

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "linkinator": {
      "command": "npx",
      "args": [
        "linkinator-mcp"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Linkinator?

Linkinator is a Model Context Protocol (MCP) server that provides link checking capabilities using the linkinator library. It allows AI assistants like Claude to scan webpages and local files for broken links.

How to use Linkinator?

Install and configure using the install-mcp tool (npx install-mcp linkinator-mcp --client claude) or by manually editing your MCP client's configuration file. Once set up, ask the AI assistant to check links on a URL or local file using natural language prompts.

Key features of Linkinator

  • Comprehensive link checking for websites and local files
  • Recursive crawling that follows links on the same domain
  • Supports HTML, CSS, and Markdown content types
  • Validates anchor links and URL fragments
  • Flexible configuration for timeouts, retries, and SSL
  • Detailed reporting with status codes and broken link grouping

Use cases of Linkinator

  • Check all links on a single webpage for broken ones
  • Recursively scan an entire website for broken links
  • Validate links in local HTML documentation files
  • Verify URLs in CSS stylesheets and Markdown files
  • Test anchor fragments within a page or site

FAQ from Linkinator

What does Linkinator check?

Linkinator scans webpages and local files for broken links, supporting HTML, CSS, and Markdown content types. It can validate anchor fragments and follow links recursively within the same domain.

How do I install Linkinator?

The easiest way is to run npx install-mcp linkinator-mcp --client claude which automatically configures it for your MCP client. You can also install globally with npm install -g linkinator-mcp and add it manually to your client's config file.

Why isn't Linkinator appearing in Claude Code?

Check that the path in your config file is absolute, verify the build directory exists (ls /path/to/linkinator-mcp/build/index.js), and ensure Node.js is in your PATH.

How do I fix permission errors?

On macOS/Linux, run chmod +x /path/to/linkinator-mcp/build/index.js to make the build file executable.

What should I do if I get a port conflict?

When scanning local files, specify a different port using the port option (e.g., with port 9000).

常见问题

What does Linkinator check?

Linkinator scans webpages and local files for broken links, supporting HTML, CSS, and Markdown content types. It can validate anchor fragments and follow links recursively within the same domain.

How do I install Linkinator?

The easiest way is to run `npx install-mcp linkinator-mcp --client claude` which automatically configures it for your MCP client. You can also install globally with `npm install -g linkinator-mcp` and add it manually to your client's config file.

Why isn't Linkinator appearing in Claude Code?

Check that the path in your config file is absolute, verify the build directory exists (`ls /path/to/linkinator-mcp/build/index.js`), and ensure Node.js is in your PATH.

How do I fix permission errors?

On macOS/Linux, run `chmod +x /path/to/linkinator-mcp/build/index.js` to make the build file executable.

What should I do if I get a port conflict?

When scanning local files, specify a different port using the `port` option (e.g., with `port 9000`).

评论

其他 分类下的更多 MCP 服务器