Gemini Search MCP Server
Gemini 搜索 MCP 服务器
使用 Gemini API 和 Google Search 根据最新信息生成响应的 MCP 服务器。
注意:此 MCP 服务器不能独立工作。它需要与Cline等 AI 助手结合使用。当您将此项目加载到 AI 助手中时,Gemini 搜索功能将可用。
使用 Gemini API 和 Google 搜索根据最新信息生成答案的 MCP 服务器。
注意:此 MCP 服务器不能独立运行。它必须与Cline等 AI 助手一起使用。通过将此项目加载到您的 AI 助手中,您将能够使用 Gemini 搜索功能。
特征
工具
search- 使用 Gemini 2.0 和 Google 搜索生成答案将查询作为输入并返回 Gemini 的响应以及相关搜索结果
Related MCP server: MCP Gemini API Server
功能
工具
search- 使用 Gemini 2.0 和 Google 搜索回答问题它将查询作为输入并返回 Gemini 的答案和相关搜索结果。
设置
安装依赖项:
npm install建造:
npm run build设置环境变量:在项目根目录中创建一个
.env文件,其内容如下:
GEMINI_API_KEY=your_api_key_here注意:您可以从Google AI Studio获取您的 Gemini API 密钥。
发展
对于开发期间的自动构建:
npm run watch安装
要与 Claude Desktop 一起使用,请添加以下配置:
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["path/to/gemini-search-server/build/index.js"],
"env": {
"GEMINI_API_KEY": "your_api_key_here"
}
}
}
}调试
由于 MCP 服务器通过 stdio 进行通信,我们建议使用MCP Inspector进行调试:
npm run inspector检查器提供了一个 URL 来访问浏览器中的调试工具。
执照
该项目中的代码根据MIT 许可证发布。但请注意,该项目使用 Google Gemini API,该 API 受Google 的服务条款约束。使用此 MCP 服务器时,您必须遵守我们代码的 MIT 许可证和 Google 的 Gemini API 条款。
设置
安装依赖项:
npm install建造:
npm run build设置环境变量:在项目根目录中创建一个
.env文件,其中包含以下内容:
GEMINI_API_KEY=your_api_key_here*Gemini API 密钥可从Google AI Studio获取。
发展
自动化开发构建:
npm run watch安装
要与 Claude Desktop 一起使用,请添加以下配置:
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["path/to/gemini-search-server/build/index.js"],
"env": {
"GEMINI_API_KEY": "your_api_key_here"
}
}
}
}调试
由于 MCP 服务器通过 stdio 进行通信,我们建议使用MCP Inspector进行调试:
npm run inspectorInspector 提供了一个 URL 来访问浏览器中的调试工具。
执照
该项目的代码根据MIT 许可证发布。不过,由于该项目使用了 Google Gemini API,因此也受Google 的服务条款约束。使用此 MCP 服务器时,您必须遵守代码的 MIT 许可证和 Gemini API 使用条款。
Related MCP Connectors
Google search, news, maps, webpages, cited answers, research and ChatGPT/Gemini answers for agents.
Search the web in real time to get trustworthy, source-backed answers. Find the latest news and co…
Real-time Google search (AI Overview, answer box, People also ask) and Google Maps places.
What ChatGPT, Gemini and Google answer — structured JSON with cited sources.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI-powered assistance for coding problems using Google's Gemini AI, combined with Perplexity insights and Stack Overflow references, facilitating contextual analysis and automatic response archiving for improved troubleshooting.15-
- AlicenseBqualityDmaintenanceA server that provides access to Google Gemini AI capabilities including text generation, image analysis, YouTube video analysis, and web search functionality through the MCP protocol.695 npm4ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI models to search the web for current information before generating responses, with features for conditional searching, geographic customization, and automatic citations.1MIT
- AlicenseBqualityCmaintenanceAn automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research, generating sophisticated queries and producing citation-rich answers.143 PyPI28MIT