trackmcp
Back to directory
garymengcom

serper-mcp-server

View on GitHub

A Serper MCP Server

19 stars PythonAI & Machine Learning Updated Nov 2, 2025
aiai-agentaiagentaiagentsgoogle-searchgoogle-search-apigoogle-search-mcpllmmcpmcp-serverserperserperapiserperdev

Documentation

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:

bash
npx -y @smithery/cli install @garylab/serper-mcp-server --client claude

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:

json
{
        "mcpServers": {
            "serper": {
                "command": "uvx",
                "args": ["serper-mcp-server"],
                "env": {
                    "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.

txt
serper-mcp-server

2. Install the dependencies.

shell
pip install -r requirements.txt

3. Add the configuration for you client:

json
{
        "mcpServers": {
            "serper": {
                "command": "python3",
                "args": ["-m", "serper_mcp_server"],
                "env": {
                    "SERPER_API_KEY": ""
                }
            }
        }
    }

Using `pip` for globally usage

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

bash
pip install serper-mcp-server
    # or
    pip3 install serper-mcp-server

2. MCP client code configuration or Claude settings, add `serper` mcp server:

json
{
        "mcpServers": {
            "serper": {
                "command": "python3",
                "args": ["serper-mcp-server"],
                "env": {
                    "SERPER_API_KEY": ""
                }
            }
        }
    }

Debugging

You can use the MCP inspector to debug the server. For `uvx` installations:

bash
npx @modelcontextprotocol/inspector uvx serper-mcp-server

Or if you've installed the package in a specific directory or are developing on it:

bash
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=

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.

Frequently asked questions

What is serper-mcp-server?

serper-mcp-server is A Serper MCP Server

How do I install serper-mcp-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is serper-mcp-server open source?

Yes — it is hosted on GitHub at https://github.com/garymengcom/serper-mcp-server and has 19 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP