chrome-devtools-mcp
by benjaminr·★ 297·Score 48
Chrome DevTools MCP server enables web debugging through Claude by connecting to Chrome's debugging capabilities.
Overview
This MCP server bridges Claude with Chrome DevTools Protocol, allowing developers to debug web applications directly through natural conversation. It features network monitoring, console integration, performance metrics, page inspection, and storage access capabilities. The server can be easily installed as a Claude Desktop extension or manually configured for various use cases from API debugging to performance analysis.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need to debug web applications through Claude, especially if you're already using Chrome DevTools and want to integrate browser debugging directly into your AI workflow.
When NOT to choose this
Don't choose this if you need to debug browsers other than Chrome, or if you require deep DOM manipulation capabilities beyond what Chrome DevTools provides.
Tools this server exposes
12 tools extracted from the READMEstart_chrome_and_connectStart Chrome with debugging enabled and connect to it in one step
connect_to_browserConnect to an existing Chrome instance
get_network_requestsGet HTTP network requests with optional filtering
get_console_logsRetrieve browser console logs with optional filtering
execute_javascriptExecute JavaScript code in the browser context
get_page_infoGet comprehensive page metrics and performance data
get_documentRetrieve the DOM document structure
query_selectorFind a single DOM element by CSS selector
get_cookiesGet browser cookies with optional domain filtering
get_console_error_summaryGet an organized summary of JavaScript errors and warnings
get_performance_metricsGet detailed performance metrics and resource timing data
inspect_console_objectDeep inspect any JavaScript object in the browser
Comparable tools
Installation
Installation Options
Claude Desktop Extension (Easiest)
- Download the latest
.dxtfile from [Releases](https://github.com/benjaminr/chrome-devtools-mcp/releases) - Open Claude Desktop
- Go to Extensions and install the downloaded
.dxtfile
Manual Claude Desktop Setup
Add to your Claude Desktop config file:
{
"mcpServers": {
"chrome-devtools": {
"command": "python",
"args": ["/absolute/path/to/chrome-devtools-mcp/server.py"],
"env": {
"CHROME_DEBUG_PORT": "9222"
}
}
}
}MCP CLI
mcp install server.py -n "Chrome DevTools MCP" --with-editable .Claude Code
uv sync
SERVER_PATH="$(pwd)/server.py"
PYTHON_PATH="$(pwd)/.venv/bin/python"
claude mcp add chrome-devtools "$PYTHON_PATH" "$SERVER_PATH" -e CHROME_DEBUG_PORT=9222FAQ
- How do I connect to my web application?
- Use the one-step command: `start_chrome_and_connect("localhost:3000")` replacing the URL with your application's address.
- Can I monitor network requests?
- Yes, use `get_network_requests()` to view all HTTP traffic, with optional filtering by domain or status code.
On Hacker News
Recent discussion from the developer community.
- Story by benrr · 2025-06-30
Compare chrome-devtools-mcp with
Last updated · Auto-generated from public README + GitHub signals.