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`).

コメント

「その他」の他のコンテンツ