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
patent-literature-search-mcp
patsnapA professional tool for searching Patsnap’s global patent and literature databases using natural language, semantic, or keyword queries. It supports precise filtering and retrieves bibliographic data in Markdown format.
duckduckgo-search MCP Server
zhsamaSerpApi MCP Server
ilyazubSerpApi MCP Server for Google and other search engine results
Baidu AI Search
baidubceappbuilder-sdk, 千帆AppBuilder-SDK帮助开发者灵活、快速的搭建AI原生应用
Comments