---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/seo/use-cases/find-broken-internal-links/claude
---
# How to Find Broken Internal Links with Claude

Claude finds broken internal links and helps you understand the impact on your site's link equity flow. After identifying 404s, ask Claude to suggest redirect mappings, prioritize fixes by page importance, or check whether the broken links point to content that should be restored rather than redirected.

## Setup

claude mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Crawl mysite.com and find all broken internal links using the SEO tool"
3. Claude runs crawl_site followed by analyze_links to identify 404s
4. Review the list of broken links with their source pages
5. Ask Claude to suggest redirects or fixes for each broken link

## Example Prompt

```
Crawl mysite.com and find all broken internal links. For each one, tell me which page links to it and suggest a fix.
```

## Tips

- Claude can prioritize broken links by traffic impact
- Ask for a redirect map you can implement in your server config
- Run after any major content deletion or URL change
