io.github.tidybytetools/link-check-lite
Check lists of web links for status, brokenness, redirects, and response times via MCP tools.
check_links: checks up to 200 http(s) URLs and follows redirects, returning{url, status, ok, final_url, redirects, error, ms};okis true for 200–399.check_status: gives a compact report of HTTP status, redirect target/final URL, and response time for up to 200 URLs.Supports an optional per-link
timeout(default 10 seconds).Returns errors for non-http(s) URLs and connection failures.
Does not crawl sites or read page content; it only checks the exact URLs passed.
Tools are read-only, idempotent, and non-destructive.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.tidybytetools/link-check-lite check these links and tell me which are broken: https://example.com, https://example.com/old-page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
link-check-lite
Free. No API key. Runs on your own computer. It only visits the links you give it.
A tool that checks a list of links. It tells you which ones work, which are broken, and where redirects end up.
Example
Input (a text file with one URL per line):
https://example.com/
https://example.com/this-page-does-not-existOutput from an actual run of link-check-lite:
OK 200 https://example.com/
FAIL 404 https://example.com/this-page-does-not-exist
2 checked, 1 ok, 1 brokenA 404 or 410 is broken. A 301 still works; you may want to update the old address.
Need sitemaps, speed checks, sketchy-domain warnings or CSV reports? The paid version does that: link-check on Gumroad
MIT license. Python 3.10 or newer, on Windows, Mac and Linux. The checker itself uses only Python's built-in tools.
Also searched as: ES: comprobar enlaces rotos, enlaces 404 / PT: verificar links quebrados / DE: defekte Links prüfen / FR: vérifier les liens brisés / JA: リンク切れチェック
Related MCP server: MCP Web Tools
Links
Website — product page with prices and options
Apify (no-install cloud version) — pay only for what you use
Hosted HTTP Status Checker on Apify — thousands of URLs, on a schedule, no install
Pro version on Gumroad — sitemaps, speed checks, sketchy-domain warnings, CSV reports
Install
pip install link-check-liteOr use pipx, which keeps it in its own space:
pipx install link-check-liteWant the newest code from GitHub instead?
pip install git+https://github.com/tidybytetools/link-check-liteUse it
Put your links in a text file, one per line. Lines that start with # are skipped.
link-check-lite links.txt
link-check-lite links.txt -w 3 --timeout 20 # gentler and more patientSee the real sample run at the top of this page.
Exit code is 0 when every link works and 1 when any link is broken, so it works in a cron job or CI.
Status mode
Want a compact report with the status code, redirect target and response time? Use status. Pass a file, or pipe URLs in (one per line). Lines that start with # are skipped. It checks at most 10 URLs at a time and waits up to 10 seconds for each one (you can change both).
link-check-lite status urls.txt
link-check-lite status urls.txt -w 3 --timeout 20
cat urls.txt | link-check-lite statusOutput from an actual run of link-check-lite status (times change a little on each run):
200 53ms https://example.com/
301 137ms https://httpbingo.org/redirect-to?url=https://example.com/&status_code=301 -> https://example.com/ (200)
404 75ms https://example.com/this-page-does-not-exist
3 checkedA 301 line shows the first status, then -> and the address it ended at. The number in parentheses is the final status.
Exit code is 0 when every URL returned a status, and 1 when any URL could not be reached (timeout, bad host). A 404 still counts as a status, so it does not fail the command.
Need thousands of URLs on a schedule, or no install? Use our hosted HTTP Status Checker on Apify: https://apify.com/store?search=tidybytetools%20http%20status
When you run it in a terminal it ends with one short line about the paid version. --quiet turns it off, and it never shows when output is piped.
Known limits
Some sites block bots. They may answer 403 or 429 even when the page opens fine in a browser.
No JavaScript. Redirects done with JavaScript are not followed.
Text file (or stdin in status mode). No CSV input, no sitemaps, and results print to the screen.
No robots.txt and no per-site rate limit. It checks 5 links at a time (at most 10) with a small pause. Don't point it at thousands of pages on one site.
Not a safety check. It does not tell you if a link is a scam.
Lite vs paid
lite (free) | ||
Status codes and broken links | yes | yes |
Redirect chain and final URL | yes | yes |
Text file input (stdin in status mode) | yes | yes |
Response time ( | yes | yes |
CSV input and sitemap URLs (with sitemap index) | no | yes |
Slow-link flag | no | yes |
http vs https checks | no | yes |
Look-alike and sketchy domain warnings (local rules) | no | yes |
robots.txt and one-hit-per-second per site | no | yes |
CSV, JSON and Markdown reports | no | yes |
How it compares to other free tools
All of these are free. Pick what fits you.
link-check-lite | ||||
Checks a plain list of links | yes | yes | no, it crawls | no, it crawls |
Crawls a whole site | no | no | yes | yes |
Install | pip | binary / cargo | pip | binary / go |
Built-in MCP server for AI apps | yes | no | no | no |
Lots of options | no | yes | yes | yes |
If you need to crawl a big site or check links inside Markdown files, lychee and linkchecker are great.
Use it with your AI app (MCP)
There is a small free MCP server built in. It gives your AI app two tools, check_links and check_status. No API key or account is needed. It needs uv, which gives you the uvx command.
Run it by hand to check it starts (it waits quietly for an app to talk to it):
uvx --from link-check-lite link-check-lite-mcpShorter way to start the same server: uvx link-check-lite mcp.
Pick your app below and copy the block. Restart the app after you save.
Claude Desktop
Open Settings > Developer > Edit Config. That opens claude_desktop_config.json. Add this:
{
"mcpServers": {
"link-check-lite": {
"command": "uvx",
"args": ["--from", "link-check-lite", "link-check-lite-mcp"]
}
}
}If Claude says it can't find uvx, run which uvx (Mac/Linux) or where uvx (Windows) and put that full path in "command".
Cursor
Put the same block in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"link-check-lite": {
"command": "uvx",
"args": ["--from", "link-check-lite", "link-check-lite-mcp"]
}
}
}VS Code
VS Code uses servers, not mcpServers. Put this in .vscode/mcp.json in your project, or run MCP: Open User Configuration to use it everywhere:
{
"servers": {
"link-check-lite": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "link-check-lite", "link-check-lite-mcp"]
}
}
}Or add it with one command:
code --add-mcp '{"name":"link-check-lite","type":"stdio","command":"uvx","args":["--from","link-check-lite","link-check-lite-mcp"]}'Cline
In the Cline panel, click the MCP Servers icon, open Configure, then click Configure MCP Servers. Add this inside mcpServers:
{
"mcpServers": {
"link-check-lite": {
"command": "uvx",
"args": ["--from", "link-check-lite", "link-check-lite-mcp"],
"disabled": false,
"autoApprove": []
}
}
}Codex
One command:
codex mcp add link-check-lite -- uvx --from link-check-lite link-check-lite-mcpOr add this to ~/.codex/config.toml:
[mcp_servers.link-check-lite]
command = "uvx"
args = ["--from", "link-check-lite", "link-check-lite-mcp"]Gemini CLI
This repo is also a Gemini CLI extension. Install it with:
gemini extensions install https://github.com/tidybytetools/link-check-liteTools: check_links(urls, timeout=10.0) and check_status(urls, timeout=10.0). Send up to 200 links. Each returns one result per link. check_status is the compact status, redirect target and response time report.
Use it in GitHub Actions
Link Check Lite is on the GitHub Marketplace. Check your links every time you push. Put your links in a text file, one per line. Then add this step to a workflow:
- uses: actions/checkout@v7
- uses: tidybytetools/link-check-lite@v1
with:
file: links.txt # one link per line
# fail-on-broken: "false" # pass even if some links are broken@v1 always points to the newest 1.x release. To stay on one exact release, use a full tag like @v1.2.0.
The step fails if any link is broken. It also writes a short report to the run summary. It installs link-check-lite from PyPI. Your links are sent only to the sites they point to.
Inputs
Input | Default | What it does |
|
| Text file with one link per line. Lines that start with |
|
| How many links to check at the same time. |
|
| Seconds to wait for each link. |
|
| Set to |
| (empty) | link-check-lite version from PyPI. Empty gets the newest. |
|
| Python version to set up. |
Outputs
Output | What it is |
| How many links were checked. |
| How many links were OK. |
| How many links were broken. |
Use it from Python
from link_check_lite import check_link
print(check_link("https://example.com"))
# {'url': 'https://example.com', 'status': 200, 'ok': True, 'final_url': 'https://example.com', 'redirects': [], 'error': None, 'ms': 53}
# ms is the time in milliseconds (the number changes a little each run)For AI agents
Use when: you need to know if web links work and where their redirects end up, or you need a bulk status report with response times.
Don't use when: you need to know if a link is safe, need a whole site crawled, or need a slow-link flag, sitemaps or https checks. Use the paid version for those. For thousands of URLs on a schedule, or no install, use the hosted HTTP Status Checker on Apify: https://apify.com/store?search=tidybytetools%20http%20status
Input: a list of http(s) URLs (max 200 per MCP call), plus an optional
timeoutin seconds.Output: a list of
{url, status, ok, final_url, redirects, error, ms}.statusis null when the link could not connect.okis true for 200-399.redirectslists each hop as"CODE url".msis the time in milliseconds.CLI exit code for
link-check-lite fileis 0 when all links work and 1 when any link is broken or on error. Forlink-check-lite status, exit 0 means every URL returned a status; exit 1 means one or more could not be reached. See alsollms.txt.
Tests
pip install "mcp>=1.10,<2"
python3 -m unittest discover testsThe tests use a tiny local web server, so they don't need the internet.
FAQ
What does it check?
A text file of links, one per line. It reports status codes, redirects, and broken links. status mode also prints response time, and can read URLs from stdin.
Does it crawl my whole site? No. It only checks the links you give it. The Pro version can also read sitemaps.
Do the links I check get sent somewhere else? Only to the sites those links point to. Nothing is sent to us.
Does it work with AI apps? Yes. It includes a free MCP server. No API key.
License
MIT. See LICENSE.
Available Tools
2 toolscheck_linksCheck linksARead-onlyIdempotent
Check web links and follow their redirects.
Use this when you have a list of URLs and need to know which ones work, which
are broken (404, 500, timeouts, bad hosts) and where redirects end up, for
example to clean up docs, a README, a sitemap list or bookmarks. It does not
crawl a site or read page content; pass the exact links you want checked.
Links that are not http or https come back with ok false and an error.
urls: up to 200 http(s) links.
timeout: seconds to wait for each link.
Returns one result per link: {url, status, ok, final_url, redirects, error, ms}.
status is the HTTP code of the last hop (null if it could not connect).
ok is true for 200-399. redirects lists each hop as "CODE url".
ms is how long the check took, in milliseconds.
Inputs: urls (required), timeout. Returns: result
check_statusCheck URL statusARead-onlyIdempotent
Check the HTTP status code, redirect target and response time of each URL.
Use this when you need a compact status report: the status code, where a
redirect ends, and how many milliseconds each URL took. It does not crawl a
site or read page content; pass the exact links you want checked. Links that
are not http or https come back with ok false and an error. Checks run a few
at a time (at most 10) with a short pause, so they stay polite.
urls: up to 200 http(s) links.
timeout: seconds to wait for each link.
Returns one result per link: {url, status, ok, final_url, redirects, error, ms}.
status is the HTTP code of the last hop (null if it could not connect).
final_url is the redirect target (the same as url when it did not move).
ms is how long the check took, in milliseconds.
Inputs: urls (required), timeout. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
check_links and check_status take identical parameters (urls, timeout) and return the identical result object {url, status, ok, final_url, redirects, error, ms}; the only differences are wording nuances ('which ones work' vs 'compact status report'). An agent has no reliable basis to pick one over the other, so they will effectively be used interchangeably.
Both names follow the same check_<noun> snake_case convention (check_links, check_status), so the pattern is perfectly predictable. The weakness is semantic rather than stylistic — the noun suffix does not map to a real behavioral difference.
Two tools is thin for this narrow domain, and since they duplicate each other the effective surface is a single operation. A lite link checker plausibly needs only one check tool, but having two near-clones makes the small count feel padded rather than focused.
The stated purpose — status codes, redirect chains, timeouts and per-link latency for a supplied list of URLs — is fully covered by the returned fields, and the description explicitly rules out crawling or content reading. Minor gaps (e.g. no single-URL convenience or batch input variants) are trivially workable, and the second tool adds no new capability.
Maintenance
Related MCP Connectors
Live web checks for AI agents: sitemaps, robots.txt, URL status, broken links, feeds, citations.
Check many URLs at once: HTTP status, redirect chains and loops, so you see which links break.
URL intelligence for AI agents and developers. 16 tools, 25 signal weights, 20 free checks.
MCP tools for AI agents: render URLs to image/PDF, check link health, convert HTML/CSV/JSON.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables checking for broken links on web pages and entire websites through natural language commands. Provides detailed reports including HTTP status codes and supports options like excluding external links and respecting robots.txt.2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to extract structured content from URLs, search the web via DuckDuckGo, monitor site availability, and convert HTML to markdown without requiring API keys.538 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to validate AI infrastructure claims, check endpoint availability, solve CAPTCHA challenges, convert web pages to Markdown, search the web, extract structured JSON, and fetch bot-protected HTML through native tool calls.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to check a single web page for broken links, trace redirect chains hop by hop, and detect mixed content through a remote Streamable HTTP tool.MIT