google-search-mcp
Verified Safeby ShogoOkamoto
Overview
Enables Large Language Models (LLMs) to perform real-time web searches using Google Custom Search Engine.
Installation
google-search-mcpEnvironment Variables
- GOOGLE_API_KEY
- GOOGLE_CSE_ID
Security Notes
The server loads sensitive credentials (Google API Key, CSE ID) from environment variables or a .env file, which is a good practice. It uses `httpx` for network requests to a legitimate Google API endpoint. Input parameters are validated (e.g., `num_results` clamping). The server does not use `eval` or other inherently dangerous functions. The `query` string is passed directly to the Google Custom Search API, relying on Google's API to handle potential sanitization. Error messages expose `response.text` which, in rare cases, could contain sensitive information if Google's API returned such in an error, but this is a minor concern.
Similar Servers
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
Google-Search-MCP-Server
This MCP server enhances Google search with AI-powered research synthesis, content extraction, source quality assessment, and deduplication, designed to be used by large language models (LLMs) like Claude.
mcp-local-rag
Provides a local, RAG-like web search tool for Large Language Models to retrieve current information and context.
mcp-server
A Model Context Protocol (MCP) server that integrates with SerpApi to provide comprehensive search engine results and data extraction to an LLM.