This repository provides a Model Context Protocol server integrating Google search via the Serper API, featuring an AI-powered Deep Research tool for comprehensive information synthesis and configurable search parameters.
This repository provides a Model Context Protocol (MCP) server that integrates Google search capabilities via the Serper API, featuring an AI-powered Deep Research tool. It enables search and research functionality within MCP-enabled applications.
Clone the repository, install dependencies using pnpm install
, and build the server with pnpm run build
.
Obtain a Serper API key and create a .env
file. Advanced quality metrics can be configured using USAGE_METRICS_KEY
, USAGE_PROJECT_ID
, METRICS_ENDPOINT
, and DISABLE_METRICS
. See TELEMETRY.md
for details.
Add the server config to your Claude Desktop configuration file.
The server offers a search tool with parameters like query
, numResults
, gl
, hl
, autocorrect
, and type
. The Deep Research tool supports query
, depth
("basic", "standard", "deep"), and maxSources
.
Includes Knowledge Graph, Organic Results, People Also Ask, and Related Searches.
The Deep Research tool integrates metrics for research process, performance, issue tracking, usage patterns, and result quality.
Pull requests are welcome.
MIT License.
Serper API, Model Context Protocol, and PostHog.
NightTrek/Serper-search-mcp
February 18, 2025
March 25, 2025
TypeScript