Serper Search and Scrape MCP Server
Serper MCP Server supporting search and webpage scraping
Overview
Serper Search and Scrape MCP Server is a TypeScript-based server that provides web search and webpage scraping capabilities using the Serper API, integrating with Claude Desktop for enhanced content extraction.
To use the server, install the dependencies, build the server, and configure it with your Serper API key. You can then run it alongside Claude Desktop for web search and scraping functionalities.
- Web Search: Perform searches via the Serper API with rich results including organic results and knowledge graphs. - Web Scraping: Extract content from web pages, preserving document structure and metadata. - Environment Configuration: Easy setup with environment variables and configuration files.
- Conducting automated web searches for data collection.
- Scraping content from websites for research or analysis.
- Integrating with applications that require real-time web data.
Add to your AI client
Use these steps to connect Serper Search and Scrape MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-serper-marcopesani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-serper-marcopesani"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-serper-marcopesani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-serper-marcopesani"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-serper-marcopesani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-serper-marcopesani"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-serper-marcopesani": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-serper-marcopesani"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-serper-marcopesani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-serper-marcopesani"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-serper-marcopesani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-serper-marcopesani"
]
}
}
}FAQ
**What are the requirements to run the server?**
You need Node.js version 18 or higher and a valid Serper API key.
**Can I use this server on different operating systems?**
Yes! The server can be configured on both MacOS and Windows.
**How do I debug the server?**
You can use the MCP Inspector for debugging, which provides a URL for browser-based debugging tools.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1547,"uuid":"8d5a1e37-ffbd-48a3-a179-0c0d14dccb0e","name":"mcp-server-serper","title":"Serper Search and Scrape MCP Server","description":"Serper MCP Server supporting search and webpage scraping","avatar_url":"https://avatars.githubusercontent.com/u/50498?v=4","created_at":"2025-02-20T23:15:56.224Z","updated_at":"2025-02-23T07:19:20.241Z","status":"created","author_name":"marcopesani","author_avatar_url":"https://avatars.githubusercontent.com/u/50498?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/marcopesani/mcp-server-serper","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/bce4e9f8abbbd5deb4184b2325386db07d10ebe063c1fdc3a2b9bb22b9415e85/68747470733a2f2f736d6974686572792e61692f62616467652f406d6172636f706573616e692f6d63702d7365727665722d736572706572","type":null,"metadata":"{\"star\":\"2\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-13 01:28:41\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]