How to Find Broken Internal Links with OpenClaw
Find broken internal links with OpenClaw and ToolRouter. Automated link auditing for better site health.
ToolSEO AnalysisOpenClaw crawls your site to find every broken internal link and outputs a structured report with source URLs, target URLs, and HTTP status codes. The machine-readable format lets you feed results directly into scripts that auto-generate redirect rules or update link references in your content database.
Connect ToolRouter to OpenClaw
1Install the CLI
npm install -g toolrouter-mcp2Call tools directly from OpenClaw
toolrouter-mcp call web-search search --query "AI tools"
toolrouter-mcp toolsSteps
Once connected (see setup above), use the SEO Analysis tool:
- Ask: "Crawl mysite.com and report all broken internal links"
- Review the results
- Request a fix plan with redirect suggestions
- Re-scan after applying fixes
Example Prompt
Try this with OpenClaw using the SEO Analysis tool
Find all broken internal links on mysite.com and suggest fixes.
Tips
- Run regularly to catch link rot early
- Ask for broken links sorted by page importance
- Combine with site crawler for a complete site health check