Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

lychee

$ lychee Community Low Risk
lycheeverse · Design & Docs · MIT OR Apache-2.0 · macos / linux / windows

lychee (lychee) checks broken HTTP links, relative file paths, and anchors across Markdown, HTML, reST, and source directories at high async concurrency. With --format json output and --offline mode, coding agents can validate documentation links reliably without external network flakiness.

FCRS-1.0 Score
92 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install lychee
CLI vs MCP Decision CLI Only

lychee --format json checks thousands of local file references and external URLs concurrently straight from the shell.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Supports --format json, --offline, --no-progress, --include-fragments, and deterministic exit codes (0 ok, 2 link failures).

  • --format json / junit / markdown / detailed
  • --no-progress keeps stdout clean for automated parsing
Trust & Safety 24 / 25

Strictly read-only verification tool with --offline mode to prevent unexpected outbound HTTP requests.

  • Zero local file mutation
  • --offline skips all external HTTP/HTTPS requests
Setup & Portability 15 / 15

Single Rust binary distributed via Homebrew, Cargo, Docker, and GitHub releases across macOS, Linux, and Windows.

  • brew install lychee and cargo install lychee
Utility & Efficiency 14 / 15

Async Tokio concurrency checks hundreds of docs files in seconds; catches broken relative links and anchors immediately.

  • Supports Markdown, HTML, reST, plaintext, and fragment checking
Maintenance & Lineage 8 / 10

Actively maintained community project (lycheeverse/lychee) dual-licensed MIT OR Apache-2.0.

  • Frequent releases and official GitHub Action (lycheeverse/lychee-action)
Docs & Verifiability 8 / 10

Well-organized docs site at lychee.cli.rs covering all CLI flags and troubleshooting.

  • Official docs at lychee.cli.rs/usage/cli/

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

No credentials needed for standard checks; optional GITHUB_TOKEN prevents GitHub API rate limiting when verifying GitHub links.

Side Effects
Read-Only
Cost & Quotas

Free open-source software (MIT OR Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# lychee Agent Rules
- Prefer `lychee --offline --format json` in sandboxed or CI environments without outbound internet.
- Pass `--no-progress --format json` so spinner ANSI frames do not pollute stdout.
- Use `--exclude` for localhost example URLs (`http://localhost:*`) that are intentionally unreachable.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check local links offline with JSON output
lychee --offline --format json docs/

Validates relative file paths and local Markdown/HTML links in docs/ without making network requests.

Verify all links in README as JSON
lychee --format json --no-progress README.md

Checks both local and external links in README.md and outputs structured JSON results.

Strengths for Agents

  • + --format json --no-progress produces crisp structured link-check reports.
  • + --offline mode validates local file links and fragments cleanly in sandboxed environments.
  • + Fast single Rust binary with async concurrency and GitHub token rate-limit support.

Caveats & Pitfalls

  • ! External URL checks can flake on anti-bot protected sites (HTTP 403/429) unless excluded or retried.
  • ! Example URLs like localhost in docs trigger false positives unless filtered via --exclude.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI