Google Search MCP Server
@hunter-arton
About Google Search MCP Server
A Google Search MCP server that connects with LLMs or any MCP client to enable realtime search.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"google_search_mcp_server": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google Search MCP Server?
A Model Context Protocol (MCP) server that provides web and image search capabilities through Google's Custom Search API. It integrates with Claude and other AI assistants to give them up‑to‑date web and image search abilities.
How to use Google Search MCP Server?
Clone the repository, install dependencies, and build with npm run build. Set up a .env file with GOOGLE_API_KEY and GOOGLE_CSE_ID. Then connect the server to an MCP‑compatible client (Claude for Desktop, VSCode with Claude, or Cursor) by editing the client’s configuration to point to dist/index.js and providing the environment variables.
Key features of Google Search MCP Server
- Two tools:
google_web_searchandgoogle_image_search - Uses Google Custom Search API for real‑time results
- Follows MCP specification for tool‑based interaction
- Communicates via standard input/output transport
- Requires Node.js v18 or higher and Google Cloud credentials
Use cases of Google Search MCP Server
- AI assistant retrieving latest news about a topic
- Finding images related to a query during a conversation
- Getting current information while answering user questions
FAQ from Google Search MCP Server
What tools does this server provide?
It provides google_web_search for web searches and google_image_search for image searches.
What are the prerequisites to run this server?
Node.js v18 or higher, npm, a Google Cloud Platform account, a Custom Search API key, and a Search Engine ID.
How do I set up Google API credentials?
Go to Google Cloud Console, create a project, enable the Custom Search API, and create an API key. Then create a Programmable Search Engine that searches the entire web and copy its Search Engine ID.
How do I connect the server to Claude for Desktop?
Add a google_search entry to claude_desktop_config.json with the command node, the absolute path to dist/index.js, and environment variables for GOOGLE_API_KEY and GOOGLE_CSE_ID.
How can I test the server manually?
Run a JSON‑RPC call via echo '{"jsonrpc":"2.0","method":"callTool","params":{"name":"google_web_search","arguments":{"query":"test"}},"id":1}' | node dist/index.js.
Frequently asked questions
What tools does this server provide?
It provides `google_web_search` for web searches and `google_image_search` for image searches.
What are the prerequisites to run this server?
Node.js v18 or higher, npm, a Google Cloud Platform account, a Custom Search API key, and a Search Engine ID.
How do I set up Google API credentials?
Go to Google Cloud Console, create a project, enable the Custom Search API, and create an API key. Then create a Programmable Search Engine that searches the entire web and copy its Search Engine ID.
How do I connect the server to Claude for Desktop?
Add a `google_search` entry to `claude_desktop_config.json` with the command `node`, the absolute path to `dist/index.js`, and environment variables for `GOOGLE_API_KEY` and `GOOGLE_CSE_ID`.
How can I test the server manually?
Run a JSON‑RPC call via `echo '{"jsonrpc":"2.0","method":"callTool","params":{"name":"google_web_search","arguments":{"query":"test"}},"id":1}' | node dist/index.js`.
Basic information
More Search MCP servers
3gpp-mcp
higebuAn MCP (Model Context Protocol) server that makes 3GPP specifications accessible to LLMs.
Kagi MCP server
kagisearchThe Official Model Context Protocol (MCP) server for Kagi Search & other tools.
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
Perplexity MCP Server
wysh3MCP web search using perplexity without any API KEYS
Google News MCP Server
ChanMeng666【Star-crossed coders unite!⭐️】Model Context Protocol (MCP) server implementation providing Google News search capabilities via SerpAPI, with automatic news categorization and multi-language support.
Comments