Overview
MCP Google Custom Search Server is a Model Context Protocol (MCP) server that provides web search capabilities through Google's Custom Search API, enabling Language Learning Models (LLMs) to perform web searches using a standardized interface.
To use the server, clone the repository, install dependencies, configure environment variables with your Google API key and Search Engine ID, build the server, and start it.
- Seamless integration with Google Custom Search API - Model Context Protocol (MCP) compliant server implementation - Type-safe implementation using TypeScript - Configurable search results (up to 10 per query) - Error handling and validation
- Enhancing LLM applications with web search capabilities.
- Providing search functionalities in educational tools.
- Enabling developers to integrate web search in their applications easily.
Add to your AI client
Use these steps to connect MCP Google Custom Search 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": {
"alexatnordnet-mcp-google-custom-search-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexatnordnet-mcp-google-custom-search-server-mcp-mirror"
]
}
}
}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": {
"alexatnordnet-mcp-google-custom-search-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexatnordnet-mcp-google-custom-search-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"alexatnordnet-mcp-google-custom-search-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexatnordnet-mcp-google-custom-search-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"alexatnordnet-mcp-google-custom-search-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexatnordnet-mcp-google-custom-search-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"alexatnordnet-mcp-google-custom-search-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexatnordnet-mcp-google-custom-search-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"alexatnordnet-mcp-google-custom-search-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexatnordnet-mcp-google-custom-search-server-mcp-mirror"
]
}
}
}