Serper Search MCP Server

Serper Search MCP Server

serper-search-mcp•bynighttrek

An MCP server that offers Google search through the Serper API and an optional AI-powered Deep Research tool for multi-step research.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides Google search through Serper with knowledge graph, organic results, People Also Ask questions, and related searches.
  • •Includes an AI-powered Deep Research tool that performs multi-step research, generates sub-queries, synthesizes sources, provides citations, and supports adjustable depth levels.
  • •Supports configurable search parameters for country targeting, language selection, result count, and autocorrect.
  • •Deep Research is optional; with only a Serper API key the server advertises only Google search, and calling research without an OpenRouter key returns a configuration error while search remains available.

BEST FOR

  • •Quick facts, definitions, and straightforward questions with the basic Deep Research depth.
  • •Balanced research for most needs using the standard Deep Research depth.
  • •Complex topics, academic research, and thorough analysis with the deep Deep Research depth.

ABOUT SERPER-SEARCH-MCP

Serper Search MCP Server is cataloged as an MCP server attributed to nighttrek. An MCP server that offers Google search through the Serper API and an optional AI-powered Deep Research tool for multi-step research. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Serper Search MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What search parameters can be customized?

Country targeting, language selection, result count, and autocorrect options are configurable.

How do the Deep Research depth levels differ?

Basic gives a quick overview with 3-5 sources in about 5 minutes, standard gives comprehensive analysis with 5-10 sources in about 10 minutes, and deep gives exhaustive research with 10+ sources in about 15-20 minutes.

Is Deep Research always enabled?

No; it is optional and requires a non-empty OpenRouter API key. With only a Serper API key, the server advertises only Google search.

Upstream README

View this exact version on GitHub

README.md · fefec1aa0454 · Fetched 2026-11-13 07:48:55 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Serper Search MCP Server

A Model Context Protocol server that provides Google search capabilities through the Serper API, along with an AI-powered Deep Research tool. This server enables easy integration of search and research functionality into your MCP-enabled applications.

✨ Features

  • 🌐 Powerful Google search integration through Serper API
  • 🔄 Rich search response data including:
    • Knowledge Graph information
    • Organic search results
    • "People Also Ask" questions
    • Related searches
  • 🧠 AI-powered Deep Research tool:
    • Performs multi-step, iterative research
    • Generates sub-queries to explore topics thoroughly
    • Synthesizes information from multiple sources
    • Provides citations for all information
    • Adjustable research depth levels
    • Built-in quality metrics for continuous improvement
  • 🛠 Configurable search parameters:
    • Country targeting
    • Language selection
    • Result count customization
    • Autocorrect options
  • 🔒 Secure API key handling
  • ⚡️ Rate limiting and caching support
  • 📝 TypeScript support with full type definitions
  • 📊 Integrated performance metrics for result optimization

🚀 Installation

Requires Node.js 20.6 or newer. Node.js 24 LTS is recommended and tested in CI.

  1. Clone the repository:
git clone https://github.com/NightTrek/Serper-search-mcp.git
cd Serper-search-mcp
  1. Install dependencies:
pnpm install --frozen-lockfile
  1. Build the server:
pnpm run build

⚙️ Configuration

  1. Get your Serper API key from Serper.dev.

  2. Create a .env file in the root directory:

# Required
SERPER_API_KEY=your_api_key_here

# Optional: enables the deep-research tool (not needed for Google search)
# OPENROUTER_API_KEY=your_openrouter_api_key
# OPENROUTER_MODEL=your_preferred_model

# Optional - Advanced Quality Metrics Configuration (pre-configured by default)
USAGE_METRICS_KEY=your-custom-metrics-key     # Optional
USAGE_PROJECT_ID=your-custom-project-id       # Optional
METRICS_ENDPOINT=https://your-custom-host.com # Optional
DISABLE_METRICS=true                          # Disable research metrics

See TELEMETRY.md for detailed information about:

  • Quality metrics collection
  • Performance monitoring
  • Usage analytics
  • Dashboard setup
  • Continuous improvement

🔌 Integration

Claude Desktop

Add the server config to your Claude Desktop configuration:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "serper-search-server": {
      "command": "/path/to/Serper-search-mcp/build/index.js",
      "env": {
        "SERPER_API_KEY": "your_api_key_here"
      }
    }
  }
}

🛠 Usage

Search Tool

The server provides a powerful search tool with the following parameters:

{
  "query": string,          // Search query
  "numResults"?: number,    // Number of results (default: 10, max: 100)
  "gl"?: string,           // Country code (e.g., "us", "uk")
  "hl"?: string,           // Language code (e.g., "en", "es")
  "autocorrect"?: boolean, // Enable autocorrect (default: true)
  "type"?: "search"        // Search type (more types coming soon)
}

Deep Research Tool

Deep Research is optional. With only SERPER_API_KEY, the server starts and advertises only serper-google-search. Set a non-empty OPENROUTER_API_KEY and restart to enable deep-research. Calling it without that key returns a configuration error and leaves search available. Research uses OpenRouter in addition to Serper and may incur charges from both providers.

For more comprehensive research needs, the server provides a deep research tool that performs multi-step research with the following parameters:

{
  "query": string,          // Research query or question
  "depth"?: "basic" | "standard" | "deep",  // Research depth (default: "standard")
  "maxSources"?: number     // Maximum sources to include (default: 10)
}

The deep research tool:

  • Breaks down complex queries into focused sub-queries
  • Executes multiple searches to gather comprehensive information
  • Uses AI to synthesize information from multiple sources
  • Formats results with proper citations and references
  • Adapts its research strategy based on intermediate results
  • Collects research content and quality metrics unless disabled (see TELEMETRY.md)

Depth Levels:

  • basic: Quick overview (3-5 sources, ~5 min) Good for: Simple facts, quick definitions, straightforward questions
  • standard: Comprehensive analysis (5-10 sources, ~10 min) Good for: Most research needs, balanced depth and speed
  • deep: Exhaustive research (10+ sources, ~15-20 min) Good for: Complex topics, academic research, thorough analysis

Search Tool Example Response

The search results include rich data:

{
  "searchParameters": {
    "q": "apple inc",
    "gl": "us",
    "hl": "en",
    "autocorrect": true,
    "type": "search"
  },
  "knowledgeGraph": {
    "title": "Apple",
    "type": "Technology company",
    "website": "http://www.apple.com/",
    "description": "Apple Inc. is an American multinational technology company...",
    "attributes": {
      "Headquarters": "Cupertino, CA",
      "CEO": "Tim Cook (Aug 24, 2011–)",
      "Founded": "April 1, 1976, Los Altos, CA"
    }
  },
  "organic": [
    {
      "title": "Apple",
      "link": "https://www.apple.com/",
      "snippet": "Discover the innovative world of Apple...",
      "position": 1
    }
  ],
  "peopleAlsoAsk": [
    {
      "question": "What does Apple Inc mean?",
      "snippet": "Apple Inc., formerly Apple Computer, Inc....",
      "link": "https://www.britannica.com/topic/Apple-Inc"
    }
  ],
  "relatedSearches": [
    {
      "query": "Who invented the iPhone"
    }
  ]
}

🔍 Response Types

Knowledge Graph

Contains entity information when available:

  • Title and type
  • Website URL
  • Description
  • Key attributes

Organic Results

List of search results including:

  • Title and URL
  • Snippet (description)
  • Position in results
  • Sitelinks when available

People Also Ask

Common questions related to the search:

  • Question text
  • Answer snippet
  • Source link

List of related search queries users often make.

📊 Quality Metrics

The Deep Research tool includes integrated quality metrics:

  • Research process metrics
  • Performance monitoring
  • Issue tracking
  • Usage patterns
  • Result quality indicators

See TELEMETRY.md for detailed information about the metrics collected to improve search quality.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is described as MIT-licensed. A standalone LICENSE file is not currently included in this repository.

🙏 Acknowledgments

Development checks

Run pnpm test (Node.js 20.6+). Tests build the server, exercise MCP initialize/list/call over stdio, and mock all HTTP calls with dummy credentials. No paid API access is needed. Stdout is reserved for MCP JSON-RPC; diagnostics belong on stderr and must never contain API keys or key prefixes.

OpenRouter failures

Deep Research reports malformed or empty completion responses as structured MCP errors, rather than passing missing text into later research steps. HTTP failures include the status (for example, 401 for authentication, 429 for rate limiting, or 500 for a provider failure); timeouts are identified separately. Provider response bodies and transport messages are omitted because they may echo prompts or credentials. Basic Serper search remains available after a research failure. These checks do not guarantee availability or model compatibility at the provider.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Serper Search MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/serper-search-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research