Sign inGet started
Answers

How can my coding agent see browser errors while I test my app locally?

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

Your agent reads the errors, failed requests and load times of pages you opened on a development host in the last hour.

Updated

Ask your agent "What errors did the browser show while I tested the app locally?": nextanalytica's dev_report returns, for each page seen on a development host, its errors, failed requests, error statuses and load times, newest first, from the last 60 minutes. The agent reads them instead of you copying from the console.

How do you do it?

  1. Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls get_tag, shows you the change and asks before committing.
  2. Connect your agent: in Claude Code, claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp, then /mcp to sign in.
  3. Open the app locally and click through it.
  4. Ask what the browser showed.

What can you ask your agent?

  • "What errors did the browser show while I tested the app locally?"

Next steps