drio
Open app

MCP Google Custom Search Server

Source

An mcp server for searching against google custom search api

Catalog onlyCatalog onlySTDIO

Overview

MCP Google Custom Search Server is a Model Context Protocol (MCP) compliant server that enables web search capabilities using Google's Custom Search API, specifically designed for integrating with Language Learning Models (LLMs).

To use this server, clone the repository from GitHub, install the necessary dependencies, configure the environment variables with your Google API credentials, and run the server using Node.js.

  • Seamless integration with Google Custom Search API - MCP compliant server implementation - Type-safe development environment with TypeScript - Configurable search results and error handling - Supports Claude Desktop and other MCP clients
  1. Enhancing search functionality in LLM applications.
  2. Providing developers with a standardized API for web search.
  3. Facilitating complex data retrieval tasks in research workflows.

Add to your AI client

Use these steps to connect MCP Google Custom Search Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-google-custom-search-server-alexatnordnet": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-custom-search-server-alexatnordnet"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-google-custom-search-server-alexatnordnet": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-custom-search-server-alexatnordnet"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-google-custom-search-server-alexatnordnet": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-custom-search-server-alexatnordnet"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-google-custom-search-server-alexatnordnet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-custom-search-server-alexatnordnet"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-google-custom-search-server-alexatnordnet": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-custom-search-server-alexatnordnet"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-google-custom-search-server-alexatnordnet": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-custom-search-server-alexatnordnet"
      ]
    }
  }
}

FAQ

Do I need a Google Cloud Project to use this server?

Yes! You'll need to enable the Custom Search API and obtain API credentials from Google Cloud Console.

Can I configure the number of search results?

Yes! The server allows configuring up to 10 search results per query.

Is this server open-source?

Yes! This project is licensed under the MIT License and can be found on GitHub.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":481,"uuid":"ba9b287f-6ebb-414d-aeb3-e59b514119c0","name":"mcp-google-custom-search-server","title":"MCP Google Custom Search Server","description":"An mcp server for searching against google custom search api","avatar_url":"https://avatars.githubusercontent.com/u/152606481?v=4","created_at":"2024-12-19T02:15:35.340Z","updated_at":"2024-12-19T12:39:11.196Z","status":"created","author_name":"alexatnordnet","author_avatar_url":"https://avatars.githubusercontent.com/u/152606481?v=4","tags":"mcp,google-custom-search,search-api","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/alexatnordnet/mcp-google-custom-search-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]