Serper MCP Server
The Serper MCP Server provides Google Search integration for LLMs through the Serper API, enabling programmatic access to search results and web content.
Key capabilities:
Comprehensive Google searches including general web, images, videos, news, shopping, and scholar searches with customizable parameters (country, language, results count, time period, pagination)
Location-based searches via Google Maps and Places with GPS coordinates, place IDs, and CID support
Google Reviews with sorting options (relevance, newest, rating) and pagination
Visual search through Google Lens using image URLs
Search autocomplete for query suggestions
Web scraping from any URL with optional markdown formatting
Parent-level searches for broader result coverage
Debugging support via MCP inspector for troubleshooting
Provides Google Search functionality via Serper API, allowing access to search results with support for customizing location, language, time period, and number of results.
Click on "Deploy 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., "@Serper MCP Server search for the latest AI developments in 2024"
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.
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
Related MCP server: Scrapeless MCP Server
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 claudeUsing 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-serverOr 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>License
serper-mcp-server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Available Tools
13 toolsgoogle_searchC
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_autocompleteC
Search Google for results
Inputs: q (required), gl, location, hl, +2 more.
google_search_imagesD
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_lensC
Search Google for results
Inputs: url (required), gl, hl.
google_search_mapsC
Search Google for results
Inputs: q (required), ll, placeId, cid, +3 more.
google_search_newsD
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_patentsC
Search Google for results
Inputs: q (required), num, page.
google_search_placesD
Search Google for results
Inputs: q (required), gl, location, hl, +2 more.
google_search_reviewsD
Search Google for results
Inputs: fid (required), cid, placeId, sortBy, +4 more.
google_search_scholarC
Search Google for results
Inputs: q (required), gl, location, hl, +2 more.
google_search_shoppingD
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_videosC
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
webpage_scrapeC
Scrape webpage by url
Inputs: url (required), includeMarkdown.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct search vertical (web, images, news, etc.) as indicated by the tool name, making them clearly distinguishable. The identical descriptions are a minor issue but do not cause ambiguity because the names are self-explanatory.
All search tools follow a consistent 'google_search_<type>' pattern, but 'webpage_scrape' breaks this pattern with a different verb and structure, causing a slight inconsistency.
13 tools is well within the recommended 3-15 range and covers the major Google search verticals plus scraping, which fits the server's purpose without being excessive.
The tool set covers most common search types (web, images, news, maps, etc.) and includes scraping. Minor omissions like books or finance searches exist but do not significantly hinder typical usage.
Maintenance
Related MCP Connectors
Serper MCP — wraps the Serper Google Search API (serper.dev)
Web search API and MCP server for developers building AI agents.
MCP server for Google search results via SERP API
A Model Context Protocol server for Wix AI tools
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
- AlicenseCqualityCmaintenanceA Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.1140 npm170MIT
- AlicenseNot gradedqualityDmaintenanceA 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.2Apache 2.0
- FlicenseCqualityDmaintenanceA Model Context Protocol server that enables web search capabilities using the Tavily API, allowing AI models to retrieve current information from the internet through natural language commands.3-