serper-mcp

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 1 Imported by: 0

README

serper-mcp

Note: This project was generated with Claude Code (claude-sonnet-4-6).

An MCP server that exposes Google search and web scraping via the Serper API.

Tools

  • search — performs a Google search and returns results as JSON
  • scrape — fetches and returns the content of a webpage as JSON

Installation

go install github.com/SecKatie/serper-mcp@latest

Configuration

Set your Serper API key via environment variable:

export SERPER_API_KEY=your_key_here

Or place it in ~/.serper-mcp.yaml:

serper_api_key: your_key_here

Usage

serper-mcp

The server communicates over stdio using the MCP protocol. Configure it in your MCP client (e.g. Claude Desktop) as a stdio server.

Development

make build   # compile
make test    # run tests with race detector
make lint    # golangci-lint
make audit   # govulncheck + gosec

License

MIT — see LICENSE.

Documentation

Overview

Copyright © 2026 Katie Mulliken <katie@mulliken.net>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis
Package cmd implements the serper-mcp CLI and MCP server entrypoint.
Package cmd implements the serper-mcp CLI and MCP server entrypoint.
internal
serper
Package serper provides an HTTP client for the Serper API (search and scrape).
Package serper provides an HTTP client for the Serper API (search and scrape).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL