Skip to main content
Glama
MCP Chrome Google Search

MCP Chrome Google Search

by cmann50

MCP Chrome Google Search Tool

MCP tool for Google search and webpage content extraction using Chrome browser. Works with Claude to enable Google search and content fetching capabilities.

Quick Installation

  1. Configure Claude Desktop

    • Open Claude Desktop on Mac

    • Go to Claude > Settings > Developer > Edit Config

    • Add the following to your config file:

    {
      "mcpServers": {
        "mcp-chrome-google-search": {
          "command": "npx",
          "args": [
            "-y",
            "@cmann50/mcp-chrome-google-search"
          ]
        }
      }
    }
    • Restart Claude Desktop

  2. First Time Setup

    • Grant Accessibility Permissions

      • On first run, approve macOS accessibility permissions prompt

      • Navigate to: System Preferences > Security & Privacy > Privacy > Accessibility

      • Add and enable permissions for your terminal app

    • Enable Chrome JavaScript from Apple Events

      • Open Chrome

      • Navigate to: View > Developer > Allow JavaScript from Apple Events

      • One-time setup only

Once configured, Claude will be able to perform Google searches and extract webpage content through Chrome when you make requests.

Related MCP server: Google Search MCP

Key Advantages

  • Free to search google

  • Opens and small windows and uses your chrome browser, so should not get blocked

  • Since it is using your Chrome window it can access authenticated content. Claude can just open the URL in your browser.

Platform Support

  • ✅ macOS

  • ❌ Windows (not supported)

  • ❌ Linux (not supported)

Requirements

  1. macOS

  2. Google Chrome

  3. Node.js 20 or higher

Alternative Installation Methods

NPX Installation

npx mcp-chrome-google-search

Custom Installation

  1. Checkout from git

  2. Run npm run build

  3. Add to Claude config (use absolute path):

{
    "google-tools": {
        "command": "node",
        "args": [
            "/your/checkout/path/mcp/mcp-chrome-google-search/dist/index.js"
        ]
    }
}

Local development

To test changes locally bump package.json version and run to put it in edit mode:

npm install -g .

Then just do npm run build and the files will go in dist where claude is monitoring

Then press ctrl-R in claude desktop, no need to restart it

Debugging

Log Monitoring

# Follow logs in real-time
tail -n 20 -F ~/Library/Logs/Claude/mcp*.log

Dev Tools Access

  1. Enable developer settings:

echo '{"allowDevTools": true}' > ~/Library/Application\ Support/Claude/developer_settings.json
  1. Open DevTools: Command-Option-Shift-i in Claude desktop

  2. Use ctrl-r in Claude desktop while tailing for better errors

Troubleshooting

Chrome JavaScript Error

If you see:

execution error: Google Chrome got an error: Executing JavaScript through AppleScript 
is turned off. For more information: https://support.google.com/chrome/?p=applescript (12)

Solution:

  1. Open Chrome

  2. View > Developer > Allow JavaScript from Apple Events

Accessibility Permission Issues

If Chrome control fails:

  1. Open System Preferences

  2. Security & Privacy > Privacy > Accessibility

  3. Ensure terminal app is listed and enabled

  4. Use lock icon to make changes if needed

Implementation Details

  • Uses AppleScript for Chrome control

  • Visible automation - Chrome windows will open/navigate

  • Each request opens a new Chrome tab

  • Close unused tabs periodically for optimal performance

  • Only use with trusted Claude instances (has Chrome control access)

Support

  • Create GitHub issues for problems

  • Include macOS and Chrome version details

License

MIT License - see LICENSE file for details

Available Tools

2 tools
web_fetchC

Extract readable text content from a webpage using Chrome browser automation.

Key Features:

  • Returns main content text and optionally links

Inputs: url (required), includeLinks.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: web_fetch extracts content from a specific webpage, while web_search performs web searches and returns result pages. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the task.

    Naming Consistency5/5

    Both tool names follow a consistent snake_case pattern with a clear verb-noun structure: web_fetch and web_search. The naming is predictable and readable, with no deviations in style or convention.

    Tool Count2/5

    With only 2 tools, the server feels thin for a Google Search domain, which typically involves more operations like advanced filtering, image search, or history management. While the tools cover basic fetch and search, the scope is limited and could benefit from additional functionality to fully represent the domain.

    Completeness3/5

    The tools cover core search and content extraction, but there are notable gaps for a Google Search server, such as no tools for image search, news search, or handling search settings. Agents can perform basic tasks but may encounter dead ends for more advanced operations, indicating incomplete coverage of the domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables web searching through Google, DuckDuckGo, and Bing using a headless Chrome browser, returning structured results with titles, URLs, and snippets. Also supports fetching and extracting text content from any webpage.
      16
      MIT
    • A
      license
      B
      quality
      Not graded
      maintenance
      Enables Large Language Models to perform real-time web searches using Google Custom Search API. Integrates with Claude Desktop to retrieve current information from the internet.
      2
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Use your signed-in Chrome through a local MCP server and companion extension. Supports tabs, navigation, forms, screenshots, and page reading, with a deny-all domain allowlist. Install: npx -y mcp-browser-extension@latest.
      22
      177 npm
      6
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Provides a direct bridge between Claude and an authenticated Chrome session, enabling fetch requests with session cookies and JavaScript execution within live web pages.
      -