Gemini File Search Rag
FreeNot checkedMCP server for Google's Gemini File Search (RAG). Manage file search stores, upload documents, and query with RAG through 12 tools.
About
MCP server for Google's Gemini File Search (RAG). Manage file search stores, upload documents, and query with RAG through 12 tools.
README
smithery badge npm version License: MIT
MCP (Model Context Protocol) server for Google's Gemini File Search (RAG). Manage file search stores, upload documents, and query with RAG through 12 tools.
Works with Claude Desktop, Cursor, VS Code, and any MCP client.
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"gemini-rag": {
"command": "npx",
"args": ["-y", "@node2flow/gemini-file-search-rag-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key"
}
}
}
}
Cursor / VS Code
Add to MCP settings:
{
"mcpServers": {
"gemini-rag": {
"command": "npx",
"args": ["-y", "@node2flow/gemini-file-search-rag-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key"
}
}
}
}
HTTP Mode (Streamable HTTP)
For remote deployment or shared access:
GEMINI_API_KEY=your_key npx @node2flow/gemini-file-search-rag-mcp --http
Server starts on port 3000 (configurable via PORT env var). MCP endpoint: http://localhost:3000/mcp
Configuration
| Environment Variable | Required | Description |
|---|---|---|
GEMINI_API_KEY |
Yes | Google Gemini API key (get one here) |
PORT |
No | Port for HTTP server (default: 3000, only used with --http) |
All Tools (12 tools)
Store Management (4 tools)
| Tool | Description |
|---|---|
gemini_create_store |
Create a new file search store |
gemini_list_stores |
List all file search stores |
gemini_get_store |
Get store details |
gemini_delete_store |
Delete a store (with optional force) |
Upload & Import (2 tools)
| Tool | Description |
|---|---|
gemini_upload_to_store |
Upload content directly to a store (text, base64) |
gemini_import_file_to_store |
Import an existing Gemini file into a store |
Operations (2 tools)
| Tool | Description |
|---|---|
gemini_get_operation |
Check status of a store operation |
gemini_get_upload_operation |
Check status of an upload operation |
Document Management (3 tools)
| Tool | Description |
|---|---|
gemini_list_documents |
List documents in a store |
gemini_get_document |
Get document details |
gemini_delete_document |
Delete a document from a store |
RAG Query (1 tool)
| Tool | Description |
|---|---|
gemini_rag_query |
Query documents using RAG with Gemini models |
Requirements
- Node.js 18+
- Google Gemini API key
How to Get a Gemini API Key
- Go to Google AI Studio
- Click "Create API key"
- Copy the key and use it as
GEMINI_API_KEY
For Developers
git clone https://github.com/node2flow-th/gemini-files-search-rag-mcp-community.git
cd gemini-files-search-rag-mcp-community
npm install
npm run build
# Run in stdio mode
GEMINI_API_KEY=your_key npm start
# Run in dev mode (hot reload)
GEMINI_API_KEY=your_key npm run dev
# Run in HTTP mode
GEMINI_API_KEY=your_key npm start -- --http
License
MIT License - see LICENSE
Copyright (c) 2026 Node2Flow
Links
from github.com/node2flow-th/gemini-files-search-rag-mcp-community
Install Gemini File Search Rag in Claude Desktop, Claude Code & Cursor
unyly install gemini-file-search-rag-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add gemini-file-search-rag-mcp -- npx -y @node2flow/gemini-file-search-rag-mcpFAQ
Is Gemini File Search Rag MCP free?
Yes, Gemini File Search Rag MCP is free — one-click install via Unyly at no cost.
Does Gemini File Search Rag need an API key?
No, Gemini File Search Rag runs without API keys or environment variables.
Is Gemini File Search Rag hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Gemini File Search Rag in Claude Desktop, Claude Code or Cursor?
Open Gemini File Search Rag on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Gemini File Search Rag with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
