How to Diagnose Slow Load Times with Claude

Diagnose slow page loads using Claude and ToolRouter. Find exactly what is slowing down your site.

Tool
Lighthouse Audit icon
Lighthouse Audit

Claude diagnoses slow load times by running Lighthouse and then guiding you through the root causes interactively. Ask why a specific metric is low, get targeted fix suggestions for your tech stack, or have Claude trace the critical rendering path step by step to identify exactly where time is being lost.

Connect ToolRouter to Claude

1Go to Settings → Connectors → Add custom connector
2Enter the details below and click Add
Name
ToolRouter
URL
https://api.toolrouter.com/mcp
3Done — works on Claude chat, desktop, and mobile

Steps

Once connected (see setup above), use the Lighthouse Audit tool:

  1. Ask Claude: "Run a Lighthouse performance audit on mysite.com/slow-page"
  2. Claude identifies the bottlenecks causing slow load times with timing breakdowns
  3. Ask: "What are the top 3 changes that would save the most load time?"
  4. Claude gives specific fixes ordered by milliseconds saved

Example Prompt

Try this with Claude using the Lighthouse Audit tool
My page mysite.com/products loads slowly. Run a Lighthouse audit and tell me exactly what is causing the slowdown and how to fix it.

Tips

  • Ask Claude to estimate load time savings for each recommended fix
  • Test both mobile and desktop -- mobile bottlenecks are often different
  • Claude can generate optimized code for the specific bottlenecks found