linkrot MCP Server
Docs link checker separating dead, moved, and bot-blocked links from healthy ones.
linkrot scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under File systems. GitHub shows 0 stars. Package registries report about 63 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-linkrot": { "command": "npx", "args": [ "-y", "@reneturcios/linkrot@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
linkrot
Docs link checker that separates failure kinds instead of calling every bad response a dead link. Relative links and anchors are verified against the filesystem. External links are classified by what actually happened: healthy, dead, moved, bot-blocked, or error. A 403 from a bot wall is not a dead link, and linkrot never reports it as one.
What it does
- Walks a target directory for markdown files (skipping node_modules, .git, and dist) or checks a single markdown file.
- Extracts inline links (image links count), reference-style definitions, and reference usages that resolve to a definition. Links inside fenced code blocks are ignored. Bare URLs in prose and autolinks are not extracted.
- Checks each link by class:
- RELATIVE-FILE: the path part is resolved relative to the markdown file. A missing target is a DEAD-RELATIVE finding (high).
- RELATIVE-ANCHOR: the file exists but the anchor slug is not among the target file heading slugs. That is an ANCHOR-MISSING finding (medium). Slugs are built by lowercasing, stripping punctuation, and turning spaces into hyphens.
- SAME-FILE-ANCHOR: a link like #section in the same file, checked against that file heading slugs with the same ANCHOR-MISSING rule.
- EXTERNAL: http and https links are reported as UNCHECKED info entries in offline mode. They are counted and never fail the check.
- MAILTO and other schemes are skipped silently and counted under skipped.
Install
npx @reneturcios/linkrot check .
Or install globally:
npm install -g @reneturcios/linkrot
CLI
linkrot check [path] [--json]
linkrot mcp
linkrot --version
checkruns the offline check on a path (default: current directory). Exit code is 0 when the verdict is OK and 1 for any other verdict. Use--jsonfor the machine-readable report.mcpstarts the MCP server on stdio.--versionprints the version.
MCP
The MCP server exposes one tool:
check_linkswith apathargument. It returns the same JSON report aslinkrot check --json.
Offline by default
Offline mode is the default and the shipped default. The core is synchronous and performs no network requests.
This is deliberate. The founding observation behind linkrot is that automated fetches routinely hit bot walls, login gates, and rate limits. A checker that fetches every external URL and treats any non-2xx response as dead will report healthy pages as broken whenever a site blocks bots. Offline mode avoids that failure entirely: it proves what can be proven locally (relative files and anchors) and reports external links honestly as UNCHECKED instead of guessing.
Link classes and status vocabulary
When an online mode checks external URLs in the future, each HTTP status maps to exactly one class:
| Class | Meaning |
|---|---|
| healthy | 2xx, plus 3xx redirects that are not permanent moves (for example 302, 304, 307) |
| dead | 404 or 410: the page is gone |
| moved | A redirect to a new location. Permanent redirects (301, 308) get the distinct label moved-permanent. |
| bot-blocked | 401, 403, or 429: a bot wall, auth gate, or rate limit answered. The page may be fine for a human. |
| error | 5xx and anything else: the check itself could not get a trustworthy answer |
The function classifyStatus(status) implements this table and is unit tested. Keeping bot-blocked separate from dead is the point of the tool: conflating them turns every Cloudflare or login wall into a false dead-link report.
Verdict rules
- Verdict is OK when there are no DEAD-RELATIVE and no ANCHOR-MISSING findings.
- Verdict is FINDINGS otherwise.
- UNCHECKED external entries never affect the verdict in offline mode.
The report counts files, links, dead, anchorsMissing, and externalUnchecked, plus per-class counts: relativeFile, relativeAnchor, sameFileAnchor, external, and skipped.
Limits
- The offline core checks relative links and anchors only.
- External liveness is not checked offline. External links are reported UNCHECKED, never guessed as healthy or dead. A future online mode will classify them with the vocabulary above.
- Extraction covers inline links and reference definitions (with full and collapsed reference usages resolved). Shortcut reference links, bare URLs, and autolinks are not extracted.
- Anchor checks apply when the link target is a markdown file. Anchors pointing into non-markdown files are not verified.
- Heading slugs follow a simplified GitHub rule: lowercase, strip punctuation, spaces to hyphens, with duplicate headings suffixed -1, -2, and so on.
Development
npm install
npm run build
npm test
Frequently asked questions
What is linkrot MCP Server?
Docs link checker separating dead, moved, and bot-blocked links from healthy ones.
How do I install linkrot MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. linkrot MCP Server runs locally from the npm package @reneturcios/linkrot with the command npx -y @reneturcios/linkrot@0.1.0.
Is linkrot MCP Server free and open source?
Yes. linkrot MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does linkrot MCP Server support remote (HTTP) connections?
No remote endpoint is listed for linkrot MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is linkrot MCP Server's trust score calculated?
linkrot MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.