# lite-serper-mcp-server [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/marcopesani/mcp-server-serper  
**GitHub Stars:** 171  
**npm Downloads (last month):** 10856  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lite-serper-mcp-server

## Description
Serper MCP Server supporting search and webpage scraping

## Tools
Capabilities this server exposes over MCP:

- **google_search** — Perform web searches via Serper API
- **site** — Limit results to specific domain
- **filetype** — Limit to specific file types (e.g., 'pdf', 'doc')
- **inurl** — Search for pages with word in URL
- **intitle** — Search for pages with word in title
- **related** — Find similar websites
- **cache** — View Google's cached version of a specific URL
- **before** — Date before in YYYY-MM-DD format
- **after** — Date after in YYYY-MM-DD format
- **exact** — Exact phrase match
- **exclude** — Terms to exclude from search results
- **or** — Alternative terms (OR operator)
- **scrape** — Extract content from web pages

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `SERPER_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What lite-serper-mcp-server does

lite-serper-mcp-server exposes web search and webpage extraction through the Model Context Protocol. It uses the Serper API for search requests and provides results that can include organic listings, knowledge graph data, “people also ask” content, and related searches.

The server is suited to agents that need to discover relevant pages, narrow results with search syntax, and then retrieve readable content from selected webpages. Search can be directed by region, language, location, pagination, time range, and autocorrection settings.

## How it works

The server communicates with MCP clients over standard input and output. A client invokes `google_search` for Serper-backed searches or `scrape` to extract content from a webpage. Authentication is supplied through the `SERPER_API_KEY` environment variable.

Search queries can use operators for domain and document filtering, URL and title matching, related sites, cached pages, date bounds, exact phrases, excluded terms, and OR alternatives. The scraper can return plain text and optionally markdown, along with JSON-LD and head metadata.

## Setup and configuration

Node.js 18 or newer is required. Install the project dependencies with `npm install`, then build it with `npm run build`. Set `SERPER_API_KEY` in the environment or in a `.env` file before starting the server.

For local development, `npm run watch` rebuilds automatically. The repository also provides test scripts and an `npm run inspector` command for opening the MCP Inspector in a browser while debugging stdio communication.

The server can be run with `npx` in supported MCP clients. Claude Desktop, Cline, and Cursor configurations pass the API key through the server environment. A Docker image can also be built and run with the key supplied using `-e` or an env file.

## Tools and capabilities

- `google_search`: Queries the Serper API and returns web search data.
- Search controls include region, language, location, pagination, time filters, and autocorrection.
- Advanced operators include `site`, `filetype`, `inurl`, `intitle`, `related`, `cache`, `before`, `after`, `exact`, `exclude`, and `or`.
- `scrape`: Extracts webpage content as plain text, with optional markdown output.
- Scraping also exposes JSON-LD and head metadata while retaining document structure.

## Limitations and notes

Use of search depends on access to the Serper API and a valid API key. The server runs over stdio, so client configuration must launch the command and provide the required environment variable. Search and scraping behavior depends on the Serper service and the pages being requested.

_Full upstream README: https://allmcps.com/mcp/lite-serper-mcp-server/readme_

