MCP server
Gsearch
Free Google Search with inline citations for any MCP-compatible AI tool.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.2.3
- Listing updated
- 6 days ago
About Gsearch
Gsearch is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add gsearch --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env GSEARCH_API_KEY='<GSEARCH_API_KEY>' -- npx -y @daanielcruz/gsearch-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>",
"GSEARCH_API_KEY": "<GSEARCH_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>",
"GSEARCH_API_KEY": "<GSEARCH_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gsearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>",
"GSEARCH_API_KEY": "<GSEARCH_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>",
"GSEARCH_API_KEY": "<GSEARCH_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>",
"GSEARCH_API_KEY": "<GSEARCH_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
GSEARCH_PROJECTOverride auto-detected Google Cloud project ID (OAuth mode)GEMINI_API_KEYGemini API key (enables direct API key mode, bypasses OAuth)GSEARCH_API_KEYAlternate Gemini API key env var (same purpose as GEMINI_API_KEY)
Pricing
Open source
Gsearch FAQ
Is Gsearch free?
Yes. Gsearch is open source, so you can use and self-host it for free.
How do I add Gsearch to Claude Code?
Run this command in your terminal: claude mcp add gsearch --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env GSEARCH_API_KEY='<GSEARCH_API_KEY>' -- npx -y @daanielcruz/gsearch-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.