Skip to main content
Glama
Lorhlona

Gemini Search MCP Server

by Lorhlona

Gemini 搜索 MCP 服务器

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 的答案和相关搜索结果。

设置

  1. 安装依赖项:

npm install
  1. 建造:

npm run build
  1. 设置环境变量:在项目根目录中创建一个.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 条款。


设置

  1. 安装依赖项:

npm install
  1. 建造:

npm run build
  1. 设置环境变量:在项目根目录中创建一个.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 inspector

Inspector 提供了一个 URL 来访问浏览器中的调试工具。

执照

该项目的代码根据MIT 许可证发布。不过,由于该项目使用了 Google Gemini API,因此也受Google 的服务条款约束。使用此 MCP 服务器时,您必须遵守代码的 MIT 许可证和 Gemini API 使用条款。

Install Server
A
license - permissive license
-
quality - not tested
-
maintenance - not tested

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

  • F
    license
    -
    quality
    D
    maintenance
    Provides 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.
    16
  • A
    license
    B
    quality
    D
    maintenance
    A 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.
    6
    199
    4
    ISC
  • A
    license
    B
    quality
    D
    maintenance
    An 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.
    1
    28
    MIT

View all related MCP servers

Related MCP Connectors

  • Search the web in real time to get trustworthy, source-backed answers. Find the latest news and co…

  • Google AI Overview answers and cited sources via the Apify Google AI Overview API, hosted MCP.

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

View all MCP Connectors

Latest Blog Posts

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/Lorhlona/geminiserchMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server