PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversrag-systemsgemini-rag-mcp
返回「rag-systems」

gemini-rag-mcp

modelscope·@masseater/gemini-rag-mcp

rag-systems0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Gemini RAG MCP Server

A Model Context Protocol (MCP) server that provides RAG (Retrieval-Augmented Generation) capabilities using Google's Gemini API File Search feature. This server enables AI applications to create knowledge bases and retrieve information from uploaded documents.

Features

  • File Search RAG: Create and manage knowledge bases using Gemini's File Search API
  • Document Upload: Upload files and text content to create searchable knowledge bases
  • Information Retrieval: Query knowledge bases to retrieve relevant information
  • Configurable Models: Choose Gemini models via environment variable
  • MCP Protocol: Full compatibility with Model Context Protocol
  • Type-Safe: Full TypeScript support with strict mode enabled
  • Dual Transport Support: stdio (default) and HTTP transports
  • Production-Ready: Logging, error handling, and configuration management

Prerequisites

  • Node.js >= 22.10.0
  • pnpm >= 10.19.0
  • Google API Key with Gemini API access

Installation

Using with Claude Desktop (Recommended)

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "gemini-rag-mcp": {
      "command": "npx",
      "args": ["-y", "@r_masseater/gemini-rag-mcp"],
      "env": {
        "GOOGLE_API_KEY": "your_google_api_key_here",
        "STORE_DISPLAY_NAME": "your_store_name"
      }
    }
  }
}

Required Environment Variables:

  • GOOGLE_API_KEY: Your Google API key with Gemini API access
  • STORE_DISPLAY_NAME: Display name for your vector store/knowledge base

Optional Environment Variables:

  • GEMINI_MODEL: Gemini model to use for queries (default: gemini-2.5-pro)
    • Options: gemini-2.5-pro, gemini-2.5-flash

After configuration, restart Claude Desktop to load the server.

Development

1. Clone the repository

git clone https://github.com/masseater/gemini-rag-mcp.git
cd gemini-rag-mcp

2. Install dependencies

pnpm install

3. Run in development mode

# stdio transport (default)
pnpm run dev

# HTTP transport (with hot reload)
pnpm run dev:http

Environment Variables

Required:

  • GOOGLE_API_KEY: Google API key with Gemini API access
  • STORE_DISPLAY_NAME: Display name for vector store/knowledge base

Optional:

  • GEMINI_MODEL: Gemini model for queries (default: gemini-2.5-pro)
  • LOG_LEVEL: Logging level (error|warn|info|debug, default: info)
  • DEBUG: Enable debug console output (true|false, default: false)
  • PORT: HTTP server port (default: 3000)

Available Tools

Once configured with Claude Desktop, the following tools are available:

  • upload_file: Upload document files to the knowledge base
  • upload_content: Upload text content directly to the knowledge base
  • query: Query the knowledge base using RAG

Resources

  • Model Context Protocol Documentation
  • Gemini API Documentation

License

MIT License

相关 MCP Servers(来自「rag-systems」)

context7

暂无描述。

@2511319/context7

BochaAI

暂无描述。

@BochaAI/bocha-search-mcp

Wireshark-MCP服务器

一种模型上下文协议服务器,它将Wireshark的网络分析能力与Claude等人工智能系统集成在一起,允许在无需手动复制的情况下直接分析网络数据包。

@sarthaksiddha/Wireshark-mcp

SearchAPI MCP服务器

通过SearchAPI.site将AI助手连接到外部数据源(如Google、Bing等),并通过模型上下文协议(MCP)实现对网络信息的安全和上下文访问。

@mrgoonie/searchapi-mcp-server

Sugatraj

暂无描述。

@Sugatraj/Cursor-Browser-Tools-MCP

ThreatFlux

暂无描述。

@ThreatFlux/playwright-fetch

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/masseater-gemini-rag-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

**Required Environment Variables:** - `GOOGLE_API_KEY`: Your Google API key with Gemini API access - `STORE_DISPLAY_NAME`: Display name for your vector store/knowledge base **Optional Environment Variables:** - `GEMINI_MODEL`: Gemini model to use for queries (default: `gemini-2.5-pro`) - Options: `gemini-2.5-pro`, `gemini-2.5-flash` After configuration, restart Claude Desktop to load the server. ## Development ### 1. Clone the repository ```bash git clone https://github.com/masseater/gemini-rag-mcp.git cd gemini-rag-mcp

基本信息

分类
rag-systems / vector-databases / knowledge-and-memory
运行方式
No
许可证
MIT License
详情文件
masseater-gemini-rag-mcp.md