Google Search MCP Server
Google 搜索 MCP 服务器
提供 Google 自定义搜索功能的模型上下文协议 (MCP) 服务器。
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 google-search-mcp-server:
npx -y @smithery/cli install @gradusnikov/google-search-mcp-server --client claude手动安装
克隆存储库:
git clone https://github.com/gradusnikov/google-search-mpc-server.git
cd google-search-mpc-server安装依赖项:
pip install fastmcp google-api-python-client python-dotenvRelated MCP server: Scrapeless MCP Server
配置
在项目根目录中创建一个.env文件,其中包含以下变量:
GOOGLE_API_KEY=your_google_api_key
GOOGLE_CSE_ID=your_custom_search_engine_id要获取这些凭证:
创建 Google Cloud 项目并启用自定义搜索 API
从 Google Cloud Console 生成 API 密钥
在https://cse.google.com/cse/all创建自定义搜索引擎并获取其 ID
用法
使用 MCP 启动服务器:
mcp run google_search_mcp_server.py或者将服务器添加到 Claude 桌面应用程序CLAUDE_DIRECTORY/claude_desktop_config.json 。例如,如果你使用的是 Windows Subsystem for Linux (WSL),它可能如下所示:
"google-search": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"source /home/[user]/anaconda3/etc/profile.d/conda.sh && conda activate mcp && /home/[user]/anaconda3/bin/mcp run /home/[user]/google-search-mpc-server/google_search_mcp_server.py"
]
},This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.147MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.1189168MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that provides web and image search capabilities through Google's Custom Search API, allowing AI assistants like Claude to access current information from the internet.22
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to perform web searches using Google Search API, returning up to 20 search results in JSON format.2Apache 2.0
Related MCP Connectors
MCP server for Google search results via SERP API
A Model Context Protocol server for Wix AI tools
Search Google straight from your AI agent. Web results, images, videos, news, products, scholarly ar
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/renoscriptdev/mcp-google-scholar-dev'
If you have feedback or need assistance with the MCP directory API, please join our Discord server