Google Search MCP Server

by hunter-arton

2 stars
235 downloads
Not rated
GitHub

About

A Google Search MCP server that connects with LLMs or any MCP client to enable realtime search.

Details

Author
hunter-arton
GitHub stars
2
Downloads
235
Categories
Search

- Two tools: google_web_search and google_image_search
- Uses Google Custom Search API for real‑time results
- Follows MCP specification for tool‑based interaction
- Communicates via standard input/output transport
- Requires Node.js v18 or higher and Google Cloud credentials

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

Clone the repository, install dependencies, and build with npm run build. Set up a .env file with GOOGLE_API_KEY and GOOGLE_CSE_ID. Then connect the server to an MCP‑compatible client (Claude for Desktop, VSCode with Claude, or Cursor) by editing the client’s configuration to point to dist/index.js and providing the environment variables.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "google search mcp server": {
            "google_search_mcp_server": {
                "command": "node",
                "args": [
                    "dist/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "google_search_mcp_server": {
        "command": "node",
        "args": [
            "dist/index.js"
        ]
    }
}

Google Search MCP Server

A Model Context Protocol (MCP) server that provides web and image search capabilities through Google's Custom Search API. This server follows the MCP specification to integrate with Claude and other AI assistants.

<a href="https://glama.ai/mcp/servers/@hunter-arton/google_search_mcp_server">
Google Search Server MCP server
</a>

What We're Building

Many AI assistants don't have up-to-date information or the ability to search the web. This MCP server solves that problem by providing two tools:

- google_web_search: Search the web for current information
- google_image_search: Find images related to queries

Once connected to an MCP-compatible client (like Claude in Cursor, VSCode, or Claude Desktop), your AI assistant can perform searches and access current information.

Core MCP Concepts

MCP servers provide capabilities to AI assistants. This server implements:

- Tools: Functions that can be called by the AI (with user approval)
- Structured Communication: Standardized messaging format via the MCP protocol
- Transport Layer: Communication via standard input/output

Prerequisites

- Node.js (v18 or higher) and npm
- Google Cloud Platform account
- Google Custom Search API key and Search Engine ID
- An MCP-compatible client (Claude for Desktop, Cursor, VSCode with Claude, etc.)

Quick Start (Clone this Repository)

If you want to use this server without building it from scratch, follow these steps:

```bash

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.