marcopesani_mcp-server-serper

marcopesani_mcp-server-serper

3.3

A TypeScript-based MCP server that provides web search and webpage scraping capabilities using the Serper API.

The Serper Search and Scrape MCP Server is a robust TypeScript-based server designed to facilitate web search and content extraction using the Serper API. It integrates seamlessly with Claude Desktop, offering advanced web search capabilities and content extraction features. The server supports a wide range of search operators and allows for region and language targeting, making it a versatile tool for developers and researchers. With the ability to extract plain text and markdown content from web pages, it preserves document structure and includes metadata, making it ideal for data analysis and content curation. The server requires Node.js version 18 or higher and a Serper API key, which should be set as an environment variable. It offers a comprehensive development environment with support for testing, debugging, and integration with various platforms.

Features

  • {'name': 'google_search', 'description': 'Perform web searches via Serper API with rich search results and advanced search operators.'}
  • {'name': 'scrape', 'description': 'Extract content from web pages, including plain text, markdown, JSON-LD, and metadata.'}

Usage with Different Platforms

Smithery

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

Claude Desktop


{
  "mcpServers": {
    "serper-search": {
      "command": "npx",
      "args": ["-y", "serper-search-scrape-mcp-server"],
      "env": {
        "SERPER_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cline


{
  "mcpServers": {
    "github.com/marcopesani/mcp-server-serper": {
      "command": "npx",
      "args": ["-y", "serper-search-scrape-mcp-server"],
      "env": {
        "SERPER_API_KEY": "your_api_key_here"
      },
      "disabled": false,
      "autoApprove": ["google_search", "scrape"]
    }
  }
}

Cursor


env SERPER_API_KEY=your_api_key_here npx -y serper-search-scrape-mcp-server

Docker

bash
docker run -e SERPER_API_KEY=your_api_key_here mcp-server-serper