MCP Catalogs
Home

chrome-devtools-mcp

by benjaminr·297·Score 48

Chrome DevTools MCP server enables web debugging through Claude by connecting to Chrome's debugging capabilities.

developer-toolsbrowser-automationmonitoring
48
Forks
6
Open issues
7 mo ago
Last commit
2d ago
Indexed

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:

you:Debug API calls in web applications by monitoring network requests and responses
you:Inspect JavaScript objects and console errors to diagnose frontend issues
you:Analyze performance metrics and identify loading bottlenecks in web applications
you:How do I connect to my web application?
you:Can I monitor network requests?

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 README
  • start_chrome_and_connect

    Start Chrome with debugging enabled and connect to it in one step

  • connect_to_browser

    Connect to an existing Chrome instance

  • get_network_requests

    Get HTTP network requests with optional filtering

  • get_console_logs

    Retrieve browser console logs with optional filtering

  • execute_javascript

    Execute JavaScript code in the browser context

  • get_page_info

    Get comprehensive page metrics and performance data

  • get_document

    Retrieve the DOM document structure

  • query_selector

    Find a single DOM element by CSS selector

  • get_cookies

    Get browser cookies with optional domain filtering

  • get_console_error_summary

    Get an organized summary of JavaScript errors and warnings

  • get_performance_metrics

    Get detailed performance metrics and resource timing data

  • inspect_console_object

    Deep inspect any JavaScript object in the browser

Comparable tools

playwright-mcppuppeteer-mcpselenium-mcp

Installation

Installation Options

Claude Desktop Extension (Easiest)

  1. Download the latest .dxt file from [Releases](https://github.com/benjaminr/chrome-devtools-mcp/releases)
  2. Open Claude Desktop
  3. Go to Extensions and install the downloaded .dxt file

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=9222

FAQ

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.

Compare chrome-devtools-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.