Skip to main content
Glama

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.

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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

macOS용 Chrome을 통해 Google 검색 및 웹페이지 콘텐츠 추출을 지원하여 인증된 콘텐츠와 인증되지 않은 콘텐츠 모두에 액세스할 수 있으며, Claude와 통합되어 안전하고 자동화된 브라우징 작업을 수행합니다.

  1. 빠른 설치
    1. 주요 장점
      1. 플랫폼 지원
        1. 요구 사항
          1. 대체 설치 방법
            1. NPX 설치
            2. 사용자 정의 설치
          2. 지역 개발
            1. 디버깅
              1. 로그 모니터링
              2. 개발자 도구 액세스
            2. 문제 해결
              1. 크롬 자바스크립트 오류
              2. 접근성 권한 문제
            3. 구현 세부 사항
              1. 지원하다
                1. 특허

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    Enables interaction with Google Chrome tabs through the MCP protocol, allowing clients to retrieve information and control tabs on macOS using AppleScript.
                    Last updated -
                    4
                    600
                    8
                    JavaScript
                    MIT License
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    Provides Google search capabilities, web content extraction, and screenshot functionality with advanced bot detection avoidance through the MCP protocol.
                    Last updated -
                    23
                    5
                    TypeScript
                    MIT License
                    • Apple
                    • Linux
                  • -
                    security
                    A
                    license
                    -
                    quality
                    Provides web search functionality via DuckDuckGo for Claude Code and MCP-compatible clients, featuring advanced content exploration, navigation across search results, and detailed webpage analysis.
                    Last updated -
                    4
                    Python
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.
                    Last updated -
                    3
                    859
                    MIT License
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/cmann50/mcp-chrome-google-search'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server