Serper (Google Search)

Serper (Google Search)

garylab

Provides Google search capabilities to AI through the Serper API with filtering options for location, language, and time periods. Includes specialized searches for images, news, shopping, academic papers, and more.

Enables AI to perform Google searches via the Serper API with support for location, language, and time period filters.

281,053 views15Local (stdio)

What it does

  • Perform Google web searches with filters
  • Search Google Images, videos, and news
  • Find places and maps information
  • Search Google Scholar and patents
  • Get shopping results and reviews
  • Scrape webpage content

Best for

AI assistants needing current web informationResearch and fact-checking workflowsContent creation requiring up-to-date dataAcademic research and citation finding
12+ specialized search typesLocation and language filteringIncludes Google Lens visual search

About Serper (Google Search)

Serper (Google Search) is a community-built MCP server published by garylab that provides AI assistants with tools and capabilities via the Model Context Protocol. Serper enables AI to access Google Search results via a powerful Google Search API, supporting location, language, and t It is categorized under search web.

How to install

You can install Serper (Google Search) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Serper (Google Search) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Serper MCP Server

PyPI version PyPI Downloads Monthly Downloads Python Version

A Model Context Protocol server that provides Google Search via Serper. This server enables LLMs to get search result information from Google.

Available Tools

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)

  1. Make sure you had installed uv on your os system.

  2. 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.

Using pip for project

  1. Add serper-mcp-server to your MCP client code requirements.txt file.

    serper-mcp-server
    
  2. Install the dependencies.

    pip install -r requirements.txt
    
  3. Add 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

  1. Make sure the pip or pip3 is in your os system.

    pip install serper-mcp-server
    # or
    pip3 install serper-mcp-server
    
  2. 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>"
                }
            }
        }
    }
    

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>

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.

Alternatives

Related Skills

Browse all skills
openclaw-serper

Searches Google and extracts full page content from every result via trafilatura. Returns clean readable text, not just snippets. Use when the user needs web search, research, current events, news, factual lookups, product comparisons, technical documentation, or any question requiring up-to-date information from the internet.

0
google-official-seo-guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

80
google-search

Search the web using Google Custom Search Engine (PSE). Use this when you need live information, documentation, or to research topics and the built-in web_search is unavailable.

0
brightdata

Web scraping and search via Bright Data API. Requires BRIGHTDATA_API_KEY and BRIGHTDATA_UNLOCKER_ZONE. Use for scraping any webpage as markdown (bypassing bot detection/CAPTCHA) or searching Google with structured results.

0
web-search-pro

Multi-engine web search with full parameter control. Supports Tavily, Exa, Serper, and SerpAPI with domain filtering, date ranges, deep search, news mode, and content extraction. Auto-selects the best engine based on query type and available API keys. 多引擎精细化搜索:支持域名过滤、日期范围、深度搜索、新闻模式、内容提取。 根据查询类型和可用 API Key 自动选择最优引擎。

0
ga4-analytics

Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.

0