TIL: Using Playwright MCP with Claude Code
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Developers can now give Claude Code a visible Chrome browser to automate navigation, form-filling and sign-ins with one command, no extra setup.
Simon Willison explains how to connect a tool called Playwright, which controls a web browser, to Claude Code, Anthropic's command-line coding assistant. You type one command and Claude can open Chrome, click through pages, fill in forms and take screenshots. The browser stays visible, so a person can sign into websites and then let Claude act on their behalf.
A short how-to, not a product announcement: Willison shows a one-line command that gives Claude Code browser automation via Microsoft's official Playwright MCP server. The practical gain is delegating web tasks, navigating, form-filling, screenshots, to a coding agent. Cost is minimal and setup is trivial; the visible browser means staff can handle logins, which also defines the security boundary.
The integration runs 'claude mcp add playwright npx @playwright/mcp@latest', which registers Microsoft's Playwright MCP server and persists the config in ~/.claude.json scoped to the current directory. Claude Code then exposes browser actions, navigation, form submission, custom JavaScript execution, screenshots, as MCP tools feeding results back to the model. Article omits any benchmark figures; the visible browser session enabling manual sign-in is the notable operational detail.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Playwright MCP Claude Code Chrome ~/.claude.json example.com
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.