Dark | Light
[GUEST ACCESS MODE: Data is scrambled or limited to provide examples. Make requests using your API key to unlock full data. Check https://lunarcrush.ai/auth for authentication information.]

![simonw Avatar](https://lunarcrush.com/gi/w:24/cr:twitter::12497.png) Simon Willison [@simonw](/creator/twitter/simonw) on x 110.9K followers
Created: 2025-07-01 23:56:45 UTC

I figured out how to add the official Playwright browser automation MCP to Claude Code. Run this before you start "claude":

  claude mcp add playwright npx '@playwright/mcp@latest'

Now Claude Code can use a Chrome browser directly!

Here's my TIL:

![](https://pbs.twimg.com/card_img/1940197916473487360/g0xmmyX4?format=jpg&name=800x419)

XXXXXXX engagements

![Engagements Line Chart](https://lunarcrush.com/gi/w:600/p:tweet::1940197916267986946/c:line.svg)

**Related Topics**
[claude claude](/topic/claude-claude)
[chrome](/topic/chrome)
[claude](/topic/claude)
[mcp](/topic/mcp)
[automation](/topic/automation)

[Post Link](https://x.com/simonw/status/1940197916267986946)

[GUEST ACCESS MODE: Data is scrambled or limited to provide examples. Make requests using your API key to unlock full data. Check https://lunarcrush.ai/auth for authentication information.]

simonw Avatar Simon Willison @simonw on x 110.9K followers Created: 2025-07-01 23:56:45 UTC

I figured out how to add the official Playwright browser automation MCP to Claude Code. Run this before you start "claude":

claude mcp add playwright npx '@playwright/mcp@latest'

Now Claude Code can use a Chrome browser directly!

Here's my TIL:

XXXXXXX engagements

Engagements Line Chart

Related Topics claude claude chrome claude mcp automation

Post Link

post/tweet::1940197916267986946
/post/tweet::1940197916267986946