Google Search MCP Server
Uses environment variables to securely store and load Google API credentials and Custom Search Engine IDs for authentication.
Provides Google Custom Search functionality, allowing AI agents to search the web through Google's search engine API and retrieve search results programmatically.
Integrates with Google Cloud's Custom Search API, enabling access to customized search experiences with specific search engine configurations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Search MCP Serverfind recent articles about quantum computing breakthroughs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Search MCP Server
A Model Context Protocol (MCP) server that provides Google Custom Search functionality.
Installation
Installing via Smithery
To install google-search-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @gradusnikov/google-search-mcp-server --client claudeManual Installation
Clone the repository:
git clone https://github.com/gradusnikov/google-search-mpc-server.git
cd google-search-mpc-serverInstall dependencies:
pip install fastmcp google-api-python-client python-dotenvRelated MCP server: Scrapeless MCP Server
Configuration
Create a .env file in the project root with the following variables:
GOOGLE_API_KEY=your_google_api_key
GOOGLE_CSE_ID=your_custom_search_engine_idTo obtain these credentials:
Create a Google Cloud project and enable the Custom Search API
Generate an API key from the Google Cloud Console
Create a Custom Search Engine at https://cse.google.com/cse/all and get its ID
Usage
Start the server using MCP:
mcp run google_search_mcp_server.pyor add the server to Claude Desktop app CLAUDE_DIRECTORY/claude_desktop_config.json. For example if you are using Windows Subsystem for Linux (WSL) it may look like this:
"google-search": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"source /home/[user]/anaconda3/etc/profile.d/conda.sh && conda activate mcp && /home/[user]/anaconda3/bin/mcp run /home/[user]/google-search-mpc-server/google_search_mcp_server.py"
]
},This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.Last updated147MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.Last updated1449167MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that provides web and image search capabilities through Google's Custom Search API, allowing AI assistants like Claude to access current information from the internet.Last updated22
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI assistants to perform web searches using Google Search API, returning up to 20 search results in JSON format.Last updated2Apache 2.0
Related MCP Connectors
MCP server for Google search results via SERP API
A Model Context Protocol server for Wix AI tools
Serper MCP — wraps the Serper Google Search API (serper.dev)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/renoscriptdev/mcp-google-scholar-dev'
If you have feedback or need assistance with the MCP directory API, please join our Discord server