Serper Search MCP Server
Un-official Serper Google search server for Cline and other MCP clients
Overview
Serper Search MCP is an unofficial server that provides Google search capabilities through the Serper API, enabling easy integration of search functionality into MCP-enabled applications.
To use the server, clone the repository, install dependencies, and configure your Serper API key in a .env file. Then, integrate it into your MCP-enabled application by adding the server configuration.
- Powerful Google search integration through Serper API - Rich response data including Knowledge Graph information, organic search results, and related searches - Configurable search parameters such as country targeting and language selection - Secure API key handling and rate limiting support - TypeScript support with full type definitions
- Integrating Google search functionality into desktop applications
- Providing enhanced search capabilities for web applications
- Enabling developers to access rich search data programmatically
Add to your AI client
Use these steps to connect Serper Search 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": {
"serper-search-mcp-nighttrek": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-serper-search-mcp-nighttrek"
]
}
}
}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": {
"serper-search-mcp-nighttrek": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-serper-search-mcp-nighttrek"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"serper-search-mcp-nighttrek": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-serper-search-mcp-nighttrek"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"serper-search-mcp-nighttrek": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-serper-search-mcp-nighttrek"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"serper-search-mcp-nighttrek": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-serper-search-mcp-nighttrek"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"serper-search-mcp-nighttrek": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-serper-search-mcp-nighttrek"
]
}
}
}FAQ
Is this server officially supported by Google?
No, this is an unofficial server that utilizes the Serper API for Google search capabilities.
How do I get my Serper API key?
You can obtain your API key by signing up at [Serper.dev](https://serper.dev).
Can I customize the search results?
Yes, you can customize parameters like country, language, and result count.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1292,"uuid":"a36d00b8-39da-455c-8722-5b269985409a","name":"Serper-search-mcp","title":"Serper Search MCP Server","description":"Un-official Serper Google search server for Cline and other MCP clients","avatar_url":"https://avatars.githubusercontent.com/u/35793213?v=4","created_at":"2025-02-20T14:38:02.881Z","updated_at":"2025-02-23T07:21:21.442Z","status":"created","author_name":"NightTrek","author_avatar_url":"https://avatars.githubusercontent.com/u/35793213?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/NightTrek/Serper-search-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"8\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-21 15:08:17\"}","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"}]]}]