This package provides a TypeScript-based Model Context Protocol (MCP) server that offers web search and webpage scraping capabilities using the Serper API. Currently at version 0.1.2, it is in early development with an assumed infrequent release cadence, typical for community-driven MCP server implementations. Its core function is to allow AI assistants, such as those within Claude Desktop, to perform structured Google searches and extract content from web pages programmatically. Key differentiators include rich search results (organic, knowledge graph, 'people also ask'), advanced search operators, region/language targeting, and comprehensive page scraping with plain text, markdown, JSON-LD, and metadata extraction, all while integrating seamlessly with MCP-compatible AI clients to enhance their real-time data access and tool-use capabilities.
npm install serper-search-scrape-mcp-serverVerified import paths — ran on the pinned version, not inferred.
This JSON configuration snippet shows how to integrate the server as an MCP server for AI clients like Claude Desktop, using `npx` and setting the necessary environment variable.
Upgrade your Node.js installation to version 18 or newer (e.g., using `nvm install 18` and `nvm use 18`).
Obtain a Serper API key and set it as an environment variable (e.g., in a `.env` file or directly in the client configuration) before running the server.
Run `npm run inspector` in the server's directory to launch the MCP Inspector, which provides a browser-based debugging interface.
Monitor the project's GitHub repository for updates and breaking changes when upgrading, and review the README and changelog for each new release.
Ensure `SERPER_API_KEY` is set in your environment (e.g., in a `.env` file or directly in the MCP client configuration) with a valid API key. Example: `SERPER_API_KEY=your_actual_key_here`.
Ensure your Node.js environment is configured for ESM (e.g., by using `"type": "module"` in your `package.json` or by using `.mjs` file extensions). For running the server, stick to the `npx` command as shown in the quickstart.
Upgrade your Node.js installation to version 18 or newer. Tools like `nvm` (Node Version Manager) can help manage multiple Node.js versions (e.g., `nvm install 18 && nvm use 18`).
No dependency data recorded yet.