by garylab
Provides Google Search capabilities via the Serper API for LLMs through a Model Context Protocol server.
Serper MCP Server enables large language models to perform Google searches, retrieve images, videos, news, shopping results, maps data, reviews, and more by exposing the Serper API as a set of MCP tools.
uv or pip, or using Smithery).serper and provide your Serper API key.google_search, google_search_images, webpage_scrape) from the LLM prompt.Installation examples:
npx -y @smithery/cli install @garylab/serper-mcp-server --client claudeclaude_desktop_config.json:{
"mcpServers": {
"serper": {
"command": "uvx",
"args": ["serper-mcp-server"],
"env": { "SERPER_API_KEY": "<Your Serper API key>" }
}
}
}
serper-mcp-server to requirements.txt then configure:{
"mcpServers": {
"serper": {
"command": "python3",
"args": ["-m", "serper_mcp_server"],
"env": { "SERPER_API_KEY": "<Your Serper API key>" }
}
}
}
uv, pip, or Smithery.Q: Do I need a Serper account?
A: Yes, a valid Serper API key is required and must be set in the SERPER_API_KEY environment variable.
Q: Which command should I use for the MCP server?
A: The server works with uvx, python -m, or npx. The uv workflow is recommended for automatic dependency handling.
Q: Can I debug the server?
A: Yes, use the MCP inspector, e.g., npx @modelcontextprotocol/inspector uvx serper-mcp-server.
Q: Is the server cross‑platform?
A: It runs wherever Python (or uv) is available, including Windows, macOS, and Linux.
Q: What license governs the project? A: The project is released under the MIT License.
A Model Context Protocol server that provides Google Search via Serper. This server enables LLMs to get search result information from Google.
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_parents - Set all the parametersgoogle_search_autocomplete - Set all the parameterswebpage_scrape - Set all the parametersTo install Serper MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @garylab/serper-mcp-server --client claude
uv (recommended)Make sure you had installed uv on your os system.
In your MCP client code configuration or Claude settings (file claude_desktop_config.json) add serper mcp server:
{
"mcpServers": {
"serper": {
"command": "uvx",
"args": ["serper-mcp-server"],
"env": {
"SERPER_API_KEY": "<Your Serper API key>"
}
}
}
}
uv will download mcp server automatically using uvx from pypi.org and apply to your MCP client.
pip for projectAdd serper-mcp-server to your MCP client code requirements.txt file.
serper-mcp-server
Install the dependencies.
pip install -r requirements.txt
Add the configuration for you client:
{
"mcpServers": {
"serper": {
"command": "python3",
"args": ["-m", "serper_mcp_server"],
"env": {
"SERPER_API_KEY": "<Your Serper API key>"
}
}
}
}
pip for globally usageMake sure the pip or pip3 is in your os system.
pip install serper-mcp-server
# or
pip3 install serper-mcp-server
MCP client code configuration or Claude settings, add serper mcp server:
{
"mcpServers": {
"serper": {
"command": "python3",
"args": ["serper-mcp-server"],
"env": {
"SERPER_API_KEY": "<Your Serper API key>"
}
}
}
}
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>
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.
Please log in to share your review and rating for this MCP.
{
"mcpServers": {
"serper": {
"command": "npx",
"args": [
"-y",
"@garylab/serper-mcp-server"
],
"env": {
"SERPER_API_KEY": "<YOUR_API_KEY>"
}
}
}
}claude mcp add serper npx -y @garylab/serper-mcp-serverExplore related MCPs that share similar capabilities and solve comparable challenges
by exa-labs
Provides real-time web search capabilities to AI assistants via a Model Context Protocol server, enabling safe and controlled access to the Exa AI Search API.
by perplexityai
Enables Claude and other MCP‑compatible applications to perform real‑time web searches through the Perplexity (Sonar) API without leaving the MCP ecosystem.
by MicrosoftDocs
Provides semantic search and fetch capabilities for Microsoft official documentation, returning content in markdown format via a lightweight streamable HTTP transport for AI agents and development tools.
by elastic
Enables natural‑language interaction with Elasticsearch indices via the Model Context Protocol, exposing tools for listing indices, fetching mappings, performing searches, running ES|QL queries, and retrieving shard information.
by graphlit
Enables integration between MCP clients and the Graphlit platform, providing ingestion, extraction, retrieval, and RAG capabilities across a wide range of data sources and connectors.
by mamertofabian
Fast cross‑platform file searching leveraging the Everything SDK on Windows, Spotlight on macOS, and locate/plocate on Linux.
by cr7258
Provides Elasticsearch and OpenSearch interaction via Model Context Protocol, enabling document search, index management, cluster monitoring, and alias operations.
by kagisearch
Provides web search and video summarization capabilities through the Model Context Protocol, enabling AI assistants like Claude to perform queries and summarizations.
by liuyoshio
Provides natural‑language search and recommendation for Model Context Protocol servers, delivering rich metadata and real‑time updates.