---
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/check-redirect-chains/claude
---
# How to Find Redirect Chains with Claude

Claude traces redirect chains and explains the performance and SEO impact of each hop. After finding problematic chains, ask Claude to suggest optimized redirect rules that collapse multi-hop redirects into single jumps, or to check whether specific redirects preserve link equity correctly.

## Setup

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

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Check mysite.com for redirect chains and loops using the SEO tool"
3. Claude identifies all redirect chains with each hop listed
4. Ask: "Generate a redirect map that collapses these chains"
5. Claude creates the simplified redirect rules you need to implement

## Example Prompt

```
Find all redirect chains on mysite.com. Show me each chain and generate a simplified redirect map.
```

## Tips

- Run after every site migration or URL structure change
- Ask Claude to generate the redirect rules in your server's format (nginx, Apache, Next.js)
- Prioritize fixing chains on high-traffic pages
