google-search-mcp-server

by eggplantiny

320 downloads Not rated yet MIT license
GitHub

About

google search model context server with fetch api (unofficial)

Details

License
MIT license

Explore

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name google-search-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Requirements:
- Node.js v16 or higher
- pnpm or bun for package management

Clone and install dependencies:

```bash
git clone https://github.com/yourusername/google-search-mcp-server.git
cd google-search-mcp-server
pnpm install

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "google-search-mcp-server": {
            "google-search-mcp-server-eggplantiny": {
                "command": "npx",
                "args": [
                    "esno",
                    "src/playground.ts"
                ]
            }
        }
    }
}

McpServers

{
    "google-search-mcp-server-eggplantiny": {
        "command": "npx",
        "args": [
            "esno",
            "src/playground.ts"
        ]
    }
}

A ModelContextProtocol (MCP) server that provides Google Search capabilities as a tool. It performs web scraping of Google Search results and returns structured data including titles, URLs, and snippets.

## Overview

google-search-mcp-server implements an MCP server exposing a single tool, google_search, which accepts a search query and returns search results in a JSON-compatible format. It supports pagination, configurable language, safe search, result limits, and uses random user agents to reduce scraping detection.

Key features:
- Google search scraping via HTTP requests
- Structured JSON output with title, URL, and snippet
- Supports pagination, result limits, and language/country options
- "I'm Feeling Lucky" single-result mode
- Built-in cookie jar and random user-agent for each search

## Installation

Requirements:
- Node.js v16 or higher
- pnpm or bun for package management

Clone and install dependencies:

```bash
git clone https://github.com/yourusername/google-search-mcp-server.git
cd google-search-mcp-server
pnpm install

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.