Access Google Search and Web Data
Serper MCP Server provides Google Search results to AI clients via the Model Context Protocol.
Why it matters
Integrate comprehensive Google search capabilities into your applications. This asset allows LLMs to access web content, images, videos, news, and more via the Serper API.
Outcomes
What it gets done
Perform standard Google web searches and image, video, and news searches.
Scrape and parse content directly from web pages.
Leverage Google Scholar and Patents for academic and patent research.
Enable location-based searches using Google Maps and Places.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-serper | bash Capabilities
Tools your agent gets
Performs standard Google web search
Search images on Google Images
Search videos on Google
Search places and locations on Google
Search Google Maps for location data
Search reviews and ratings
Search news on Google News
Search products on Google Shopping
Overview
Serper MCP Server
2024-07-29T16:00:00.000Z
What it does
Serper MCP Server provides Google Search results to AI clients via the Model Context Protocol. This server enables LLMs to get search result information from Google.
Available Tools:
google_searchgoogle_search_imagesgoogle_search_videosgoogle_search_placesgoogle_search_mapsgoogle_search_reviewsgoogle_search_newsgoogle_search_shoppinggoogle_search_lensgoogle_search_scholargoogle_search_patentsgoogle_search_autocompletewebpage_scrape
To install Serper MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @garylab/serper-mcp-server --client claude
Alternatively, using uv (recommended):
{
"mcpServers": {
"serper": {
"command": "uvx",
"args": ["serper-mcp-server"],
"env": {
"SERPER_API_KEY": "<Your Serper API key>"
}
}
}
}
Source README
Serper MCP Server
A Model Context Protocol server that provides Google Search via Serper. This server enables LLMs to get search result information from Google.
Available Tools
google_search- Set all the parametersgoogle_search_images- Set all the parametersgoogle_search_videos- Set all the parametersgoogle_search_places- Set all the parametersgoogle_search_maps- Set all the parametersgoogle_search_reviews- Set all the parametersgoogle_search_news- Set all the parametersgoogle_search_shopping- Set all the parametersgoogle_search_lens- Set all the parametersgoogle_search_scholar- Set all the parametersgoogle_search_patents- Set all the parametersgoogle_search_autocomplete- Set all the parameterswebpage_scrape- Set all the parameters
Usage
Installing via Smithery
To install Serper MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @garylab/serper-mcp-server --client claude
Using uv (recommended)
Make sure you had installed
uvon your os system.In your MCP client code configuration or Claude settings (file
claude_desktop_config.json) addserpermcp server:{ "mcpServers": { "serper": { "command": "uvx", "args": ["serper-mcp-server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }uvwill download mcp server automatically usinguvxfrom pypi.org and apply to your MCP client.
Using pip for project
Add
serper-mcp-serverto your MCP client coderequirements.txtfile.serper-mcp-serverInstall the dependencies.
pip install -r requirements.txtAdd the configuration for you client:
{ "mcpServers": { "serper": { "command": "python3", "args": ["-m", "serper_mcp_server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }
Using pip for globally usage
Make sure the
piporpip3is in your os system.pip install serper-mcp-server # or pip3 install serper-mcp-serverMCP client code configuration or Claude settings, add
serpermcp server:{ "mcpServers": { "serper": { "command": "python3", "args": ["serper-mcp-server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx serper-mcp-server
Or if you've installed the package in a specific directory or are developing on it:
git clone https://github.com/garylab/serper-mcp-server.git
cd serper-mcp-server
npx @modelcontextprotocol/inspector uv run serper-mcp-server -e SERPER_API_KEY=<the key>
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.