Google MCP Server
@rtbui2012
About Google MCP Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"google-mcp-server": {
"command": "npx",
"args": [
"ts-node",
"src/test.ts"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Google MCP Server?
Google MCP Server is an MCP (Model Context Protocol) server that integrates Google Custom Search API with AI assistants and other MCP‑compatible clients, enabling web and image search through standardized tool calls.
How to use Google MCP Server?
Clone the repository, install dependencies (npm install), and set up a .env file with your GOOGLE_API_KEY and GOOGLE_CX_ID. Then run a test search with npx ts-node src/test.ts or add the server to your MCP client’s configuration (e.g., claude_desktop_config.json) specifying the command, arguments, and environment variables.
Key features of Google MCP Server
- Provides web search via
googleSearchContenttool. - Provides image search via
googleSearchImagestool. - Returns structured results (titles, links, snippets).
- Returns Markdown image link for first image result.
- Works with any MCP‑compatible client.
Use cases of Google MCP Server
- Letting an AI assistant perform real‑time web searches.
- Enabling an AI to retrieve image links based on a query.
- Integrating Google search capabilities into custom MCP workflows.
- Testing search functionality before adding the server to a client.
FAQ from Google MCP Server
What runtime is required?
Node.js 18 or newer and npm are required.
How do I obtain the necessary credentials?
You need a Google Custom Search API key and a Custom Search Engine ID. Obtain them from the Google Custom Search JSON API documentation.
Where are the API credentials stored?
In a .env file in the project root (GOOGLE_API_KEY and GOOGLE_CX_ID) or passed as environment variables in the MCP client configuration.
What transports does this server use?
The README does not specify transport details; it is assumed to use standard MCP transport (e.g., stdio) as typical for MCP servers invoked via npx.
Can I modify the code?
Yes. Modify files in the src directory, update dependencies in package.json if needed, and restart your MCP client or test script to apply changes.
Frequently asked questions
What runtime is required?
Node.js 18 or newer and npm are required.
How do I obtain the necessary credentials?
You need a Google Custom Search API key and a Custom Search Engine ID. Obtain them from the Google Custom Search JSON API documentation.
Where are the API credentials stored?
In a `.env` file in the project root (`GOOGLE_API_KEY` and `GOOGLE_CX_ID`) or passed as environment variables in the MCP client configuration.
What transports does this server use?
The README does not specify transport details; it is assumed to use standard MCP transport (e.g., stdio) as typical for MCP servers invoked via `npx`.
Can I modify the code?
Yes. Modify files in the `src` directory, update dependencies in `package.json` if needed, and restart your MCP client or test script to apply changes.
Basic information
More Other MCP servers

EverArt
modelcontextprotocolModel Context Protocol Servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Comments