---
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/site-crawler/use-cases/audit-url-structure/claude
---
# How to Audit URL Structure with Claude

Claude audits your URL structure and provides actionable recommendations for cleaner, more SEO-friendly URLs. Discuss naming conventions, hierarchy depth, parameter usage, and trailing slash consistency, then get specific suggestions for restructuring URLs while preserving existing SEO value through proper redirects.

## 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 analyze the URL structure"
3. Claude maps the full URL hierarchy and flags structural issues
4. Ask: "What URL patterns are hurting our SEO and how should we restructure them?"
5. Claude proposes a cleaner URL structure with a migration plan

## Example Prompt

```
Crawl mysite.com and audit the URL structure. Are our URLs SEO-friendly? What should we change?
```

## Tips

- Ask Claude to identify URL depth issues -- pages buried more than 3 clicks from the homepage
- Claude can suggest URL restructuring with redirect maps for safe migration
- Run before any major site migration to plan your new URL structure
