Google Search MCP Server
Manages environment variables for storing Google API credentials and configuration
Enables web search capabilities through Google Search API, allowing retrieval of up to 20 search results in JSON format
Provides the interface between AI assistants and the Google Search API functionality
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
This project is a Model Context Protocol (MCP) server that provides Google Search API functionality to an AI assistant.
overview
The Google Search MCP Server is a tool that allows your AI Assistant to perform web searches using the Google Search API. It uses Gradio and MCP to provide the interface between your AI Assistant and the Google Search API.
Related MCP server: Scrapeless MCP Server
function
Search the web with the Google Search API
Returning search results in JSON format
Get up to 20 search results
Prerequisites
Python 3.12 or higher
Google Custom Search Engine ID
Google API Key
install
Clone the repository:
git clone https://github.com/yourusername/google-search-mcp-server.git
cd google-search-mcp-serverInstall the dependencies:
pip install -e .Set the environment variables:
Copy the .env.sample file to .env and add the necessary API keys:
cp .env.sample .envEdit the .env file and set the following values:
GOOGLE_CSE_ID=あなたのGoogleカスタム検索エンジンID
GOOGLE_API_KEY=あなたのGoogleAPIキーHow to use
To start the server:
python app.pyThis will start the Gradio interface and act as an MCP server.
Integration with MCP
This server is integrated with your AI assistant using the Model Context Protocol (MCP), and allows your AI assistant to access Google search functionality through the server.
API Reference
perform_web_search
perform_web_search(query: str, num_results: int = 10)Parameters :
query(str): The search query (max 400 characters, 50 words)num_results(int): Number of results (1-20, default 10).
Returns :
str: Search results in JSON format
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.147MIT
- 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.169168MIT
- FlicenseAqualityCmaintenanceA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.262
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.2MIT
Related MCP Connectors
MCP server for Google search results via SERP API
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/moritalous/google-search-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server