Claude Codebrowser MCP (Playwright MCP 0.0.86)
Browser agent · Nothing lost, extra stepsWhat the vendor says
Reads an accessibility-tree snapshot of the page.
- Limit
- 25,000 tokens (Claude tokens) or 50,000 characters, whichever comes first
- Beyond the limit
- The whole output is saved to a file; the agent searches it or reads it in parts.
- Checked version
- 2.1.332
Exceptions: results with images, or with ENABLE_MCP_LARGE_OUTPUT_FILES=false, are cut instead (start kept). A tool can declare a higher limit, up to 500,000 characters.
- Claude Code docs: MCP output limits and warnings
the default maximum is 25,000 tokens
- Claude Code docs: MCP output limits and warnings
saves a successful result with no image content to a file once it's longer than 50,000 characters
Our tests
- Date
- 2026-11-29 (UTC)
- Environment
- Command line on our machine · Subscription
- Agent version
- 2.1.332
- Model
- Haiku
- Page
- Generated catalog pages (snapshots of 44,334 / 69,003 / 697,383 characters)
- Runs
- 9 runs
Claude Code 2.1.332 on macOS
claude -p --model claude-haiku-5-5 --setting-sources project
tools: mcp__playwright, Read, Grep, Glob
Playwright MCP 0.0.86: --headless --isolatedReached the end: 9 of 9
Over the limit, the snapshot was saved to a file; the agent took one more step (page search or Grep) and found the checkpoints.
Raw records (9)
Checkpoint codes are shown as [code]. Local file paths are replaced with <local>. The test page is public, so you can check the answers yourself.
- Run 1CorrectPrompt
Open http://127.0.0.1:8765/c1.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c1.html → 363 charsRead file=<local file> → 44,334 chars
AnswerThe page has two template support codes: - **Middle of the list:** `[code]` - **End of the page:** `[code]`
- Run 2CorrectPrompt
Open http://127.0.0.1:8765/c1.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c1.html → 363 charsbrowser_snapshot → 40,254 chars
AnswerThe page has two template support codes: - **Middle of the list:** `[code]` - **End of the page:** `[code]` I loaded the page in the browser and read both codes from the accessibility snapshot.
- Run 3CorrectPrompt
Open http://127.0.0.1:8765/c1.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c1.html → 363 charsbrowser_snapshot → 40,254 chars
AnswerBoth codes are on the page at http://127.0.0.1:8765/c1.html: - **Middle of the list:** `[code]` - **End of the page:** `[code]`
- Run 4CorrectPrompt
Open http://127.0.0.1:8765/c2.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c2.html → 363 charsbrowser_snapshot → 1,553 charsbrowser_find → 756 chars
AnswerThe two template support codes on the page are: - **Middle of the list:** `[code]` - **End of the page:** `[code]` I found them with a text search of the page rather than reading the full snapshot, which was too large to load.
- Run 5CorrectPrompt
Open http://127.0.0.1:8765/c2.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c2.html → 363 charsbrowser_snapshot → 1,553 charsbrowser_find → 756 chars
AnswerBoth codes are on the page: - **Middle:** `[code]` - **End:** `[code]` I found them with a text search of the page's accessibility tree rather than reading the full snapshot, which was too large to load. The search returned exactly two "support code" matches, so there are no other candidates.
- Run 6CorrectPrompt
Open http://127.0.0.1:8765/c2.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c2.html → 363 charsbrowser_snapshot → 1,553 charsGrep pattern=(?i)support|code path=<local> → 204 chars
AnswerThe two template support codes on the page are: - **Middle of the list:** `[code]` - **End of the page:** `[code]` I found them by searching the page's accessibility snapshot, which was too large to read in one pass. The search covered the whole snapshot, so these are the only two matches for "support" or "code".
- Run 7CorrectPrompt
Open http://127.0.0.1:8765/c4.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c4.html → 363 charsbrowser_snapshot → 1,555 charsGrep pattern=(?i)support path=<local> → 208 chars
AnswerThe two template support codes on the page are: - **Middle:** `[code]` - **End:** `[code]` I found them by searching the page's accessibility snapshot for "support" rather than reading all 18,000 lines. Both appear under the page's Support heading, at lines 9019 and 18022 of the saved snapshot.
- Run 8CorrectPrompt
Open http://127.0.0.1:8765/c4.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c4.html → 363 charsbrowser_snapshot → 1,555 charsGrep pattern=(?i)support path=<local> → 208 chars
AnswerBoth codes are on the page: - **Middle of the list:** `[code]` - **End of the list:** `[code]` I found them by searching the page snapshot for "support" rather than reading all 18,024 lines.
- Run 9CorrectPrompt
Open http://127.0.0.1:8765/c4.html in the browser. It is a template library page. Find the template support codes on that page (one is in the middle of the list, one is at the end) and reply with both codes exactly.
Stepsbrowser_navigate url=http://127.0.0.1:8765/c4.html → 363 charsbrowser_snapshot → 1,555 charsGrep pattern=(?i)support path=<local> → 208 chars
AnswerBoth codes are on the page: - **Middle of the list:** `[code]` - **End of the list:** `[code]` I found them by searching the page's accessibility snapshot for "support" rather than reading all 18,000 lines, so I didn't check the surrounding text around each one.
On the 44,000-character page, the snapshot was read directly. On the 69,000- and 697,000-character pages, the tool result said the output exceeded the limit and the snapshot was saved to a file; the agent took one more step (page search or Grep) and found the checkpoints.