Serper Search MCP Server
Serper Google Search MCP Server
A Model Context Protocol server that provides Google search capabilities through the Serper API. This server enables easy integration of Google search functionality into your MCP-enabled applications.
✨ Features
- 🌐 Powerful Google search integration through Serper API
- 🔄 Rich response data including:
- Knowledge Graph information
- Organic search results
- "People Also Ask" questions
- Related searches
- 🛠 Configurable search parameters:
- Country targeting
- Language selection
- Result count customization
- Autocorrect options
- 🔒 Secure API key handling
- ⚡️ Rate limiting and caching support
- 📝 TypeScript support with full type definitions
🚀 Installation
- Clone the repository:
- Install dependencies:
- Build the server:
⚙️ Configuration
- Get your Serper API key from Serper.dev
- Create a
.env
file in the root directory:
🔌 Integration
Claude Desktop
Add the server config to your Claude Desktop configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
🛠 Usage
The server provides a powerful search tool with the following parameters:
Example Response
The search results include rich data:
🔍 Response Types
Knowledge Graph
Contains entity information when available:
- Title and type
- Website URL
- Description
- Key attributes
Organic Results
List of search results including:
- Title and URL
- Snippet (description)
- Position in results
- Sitelinks when available
People Also Ask
Common questions related to the search:
- Question text
- Answer snippet
- Source link
Related Searches
List of related search queries users often make.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Serper API for providing the Google search capabilities
- Model Context Protocol for the MCP framework
You must be authenticated.
Enables integration of Google search functionality into MCP-enabled applications using the Serper API, providing rich search results, configurable parameters, and efficient response handling.