by adenot
The mcp-google-search is a Model Context Protocol (MCP) server that leverages the Google Custom Search API to provide web search functionality and extract webpage content. It is designed to assist applications in integrating Google search results and retrieving information from webpages.
mcp-google-search is a Model Context Protocol (MCP) server that provides web search capabilities using the Google Custom Search API and webpage content extraction functionality. It allows applications to integrate Google search results and extract content from web pages.
To use mcp-google-search, you first need to set up a Google Cloud Project, enable the Custom Search API, obtain an API Key, and create a Custom Search Engine. Once these prerequisites are met, you can install the server via Smithery CLI and configure it with your Google API credentials in your Claude Desktop configuration file. The server exposes two main tools: search
for performing web searches and read_webpage
for extracting content from URLs.
Q: How do I get a Google API Key and Search Engine ID? A: You need to create a Google Cloud Project, enable the Custom Search API, get an API Key from the Credentials section, and create a Custom Search Engine through the Programmable Search Engine platform.
Q: How can I debug the MCP server?
A: Since MCP servers communicate over stdio, debugging can be challenging. It is recommended to use the MCP Inspector, which can be run via npm run inspector
and provides a URL for browser-based debugging tools.
A Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.
Create a Google Cloud Project:
Enable Custom Search API:
Get API Key:
Create Custom Search Engine:
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Perform web searches using Google Custom Search API:
Extract content from any webpage:
To install Google Custom Search Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @adenot/mcp-google-search --client claude
To use with Claude Desktop, add the server config with your Google API credentials:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"google-search": {
"command": "npx",
"args": [
"-y",
"@adenot/mcp-google-search"
],
"env": {
"GOOGLE_API_KEY": "your-api-key-here",
"GOOGLE_SEARCH_ENGINE_ID": "your-search-engine-id-here"
}
}
}
}
{
"name": "search",
"arguments": {
"query": "your search query",
"num": 5 // optional, default is 5, max is 10
}
}
{
"name": "read_webpage",
"arguments": {
"url": "https://example.com"
}
}
Example response from webpage reader:
{
"title": "Example Domain",
"text": "Extracted and cleaned webpage content...",
"url": "https://example.com"
}
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by exa-labs
Provides a Model Context Protocol server that enables AI assistants to perform real‑time web searches via the Exa AI Search API, with optional company research, LinkedIn lookup, and deep research workflows.
by perplexityai
Provides real-time web search capabilities to AI models via the Perplexity Sonar API, enabling seamless integration within the Model Context Protocol ecosystem.
by brightdata
Provides real‑time web access, bypasses geo‑restrictions, handles bot detection, and offers browser automation for LLMs and AI agents via the Model Context Protocol.
by mamertofabian
mcp-everything-search is a cross-platform MCP server that provides fast and flexible file searching capabilities. It leverages native system tools to efficiently locate files and folders across Windows, macOS, and Linux.
by kagisearch
Provides web search and video summarization capabilities via the Model Context Protocol, integrating with Claude and other AI tools.
by apify
mcp-server-rag-web-browser is an MCP server for the RAG Web Browser Actor, enabling AI agents and LLMs to perform web searches and extract information from web pages.
by fatwang2
Provides web and news search, URL crawling, sitemap extraction, reasoning, and trending tools via Search1API, exposed as an MCP server for seamless integration with clients such as LibreChat, Claude Desktop, Cursor, and other MCP‑compatible tools.
by meilisearch
Enables LLMs to manage Meilisearch indexes, perform searches, and handle documents through natural‑language conversations via a Model Context Protocol server.
by ihor-sokoliuk
mcp-searxng is an MCP (Model Context Protocol) server that integrates with SearXNG to provide web search capabilities for AI models and applications.