> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

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

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

Updated: 2026-12-01

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

- [Check your work](/docs/model-context-protocol/check-your-work)
- [Analytics for apps built with AI](/docs/answers/analytics-for-apps-built-with-ai)

Canonical address: https://nextanalytica.app/docs/answers/browser-errors-while-testing-locally
