# mcp-link-doctor [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/webmoleai/mcp-link-doctor  
**GitHub Stars:** 0  
**npm Downloads (last month):** 213  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-link-doctor

## Description
Find broken links, missing meta tags, and redirect chains on any website.

## Tools
Capabilities this server exposes over MCP:

- **check-links** — **Input:** `{ "url": "https://example.com" }`

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-link-doctor": {
    "command": "npx",
    "args": ["-y","mcp-link-doctor"]
  }
}
```

## Documentation

## What mcp-link-doctor MCP server does

The mcp-link-doctor MCP server analyzes an individual webpage and reports several common quality issues. It checks up to 20 links found on the page, identifying responses in the 4xx and 5xx ranges. It also checks whether the page includes these metadata fields: title, description, og:title, og:description, og:image, canonical, and viewport.

The report includes the submitted URL, broken-link details, metadata that is missing or present, redirect information, a numeric score from 0 to 100, and suggestions for corrective work. Broken-link entries can include the target URL, HTTP status, and link text. The service is intended for page-level checks rather than an unrestricted crawl of an entire site.

## How it works

Call the `check-links` MCP tool with a JSON object containing a URL, such as `{ "url": "https://example.com" }`. The mcp-link-doctor MCP server examines the page and its links, follows redirects to identify chains, and flags chains with excessive hops. The returned data is structured JSON, making it suitable for an AI client to summarize or use when preparing a repair checklist.

A result can include a `brokenLinks` array, `missingMetaTags`, `presentMetaTags`, a `redirectChain`, `score`, and `suggestions`. The exact issue list depends on the page being checked. A page with no missing fields or broken links will produce a different report from one containing 404 responses or several redirects.

## Setup and configuration

Install and run the package with:

```bash
npx mcp-link-doctor
```

For Claude Code, add an `mcpServers` entry to either the project-level `.claude/settings.json` file or the user-level `~/.claude/settings.json` file. Use `npx` as the command and `mcp-link-doctor` as its argument. The server can also be started from a local build by using `node` with the path to `dist/index.js`.

The optional `MCPCAT_PROJECT_ID` environment variable can be supplied in the server configuration. A project ID is available from mcpcat.io. Leaving this variable out does not prevent the server from running; analytics are disabled instead.

## Tools and capabilities

- `check-links`: checks a supplied webpage URL.
- Finds 4xx and 5xx link responses, with a limit of 20 links.
- Detects missing title, description, Open Graph, canonical, and viewport tags.
- Reports redirect chains and excessive hops.
- Produces a 0–100 health score and fix suggestions.

## Limitations and notes

The link check is limited to 20 links on the page. The mcp-link-doctor MCP server can run without `MCPCAT_PROJECT_ID`, but analytics are not enabled in that case.

_Full upstream README: https://allmcps.com/mcp/mcp-link-doctor/readme_

