EzRAG MCP Server
Uses Google Gemini File Search API for semantic search and AI-powered chat, with automatic indexing and query capabilities.
Integrates with Obsidian vault to index markdown notes, enabling semantic search and AI chat over the vault content.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EzRAG MCP Serverfind notes about machine learning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EzRAG – AI-Powered Search for Obsidian Notes
EzRAG turns your Obsidian vault into a Gemini File Search index so you can run semantic search, chat over your notes, and expose your vault through MCP tools. Everything stays in your Google account; the plugin simply keeps the index up to date.
Highlights
Semantic search + AI chat with inline citations
Smart runner pattern: one desktop keeps the index in sync, other devices can query
Built-in MCP server so external agents can query or fetch notes
Automatic deduplication, queue persistence, and rebuild workflows
Related MCP server: Obsidian MCP Server
Getting Started
Requirements
Google Gemini API key (get one free)
Obsidian desktop app for indexing (mobile can query/read-only)
Install
Option 1 – BRAT (recommended)
Install BRAT from Community Plugins.
BRAT settings → Add Beta Plugin →
https://github.com/benbjurstrom/ezrag.Enable EzRAG in Community Plugins.
Option 2 – Manual
Clone into your vault:
cd /path/to/vault/.obsidian/plugins git clone https://github.com/benbjurstrom/ezragBuild once:
cd ezrag npm install npm run buildRestart Obsidian and enable EzRAG.
Configure
Settings → EzRAG → enter your Gemini API key.
On desktop, toggle This machine is the runner to let it index.
Using EzRAG
Chat
Open via the ribbon icon or EzRAG: Open Chat. Try prompts like:
“What are my notes about the Johnson project?”
“Summarize yesterday’s meeting notes.”
“Find all mentions of machine learning.”
MCP Server
Enable Settings → EzRAG → MCP Server to let tools connect.
Connect from Claude Code:
claude mcp add --transport http ezrag-obsidian-notes http://localhost:42427/mcpTools provided:
keywordSearch– keyword/regex searchsemanticSearch– Gemini-backed semantic search with citationsnote:///<path>– direct note retrieval
How It Works
Indexing basics
Only
.mdfiles are indexed; changes trigger hashing + re-upload if content changed.Runner enforcement prevents multiple machines from uploading the same file.
Upload queue persists across restarts and surfaces status in the UI.
Limits & costs
Gemini File Search pricing (details):
Indexing: ~$0.15 per 1M tokens (storage free; standard model rates for queries)
Max file size: 100 MB; free tier ≈1 GB total storage (higher tiers up to 1 TB)
For best performance keep stores under ~20 GB
Data control
Documents live in your Google account. Manage/delete stores via Settings → Manage Stores.
No telemetry or note data leaves your machine beyond the Gemini File Search uploads.
Links
License (ISC)
This server cannot be deployed
Maintenance
Related MCP Connectors
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Personal context for every AI: search, read, and write back to your private Markdown library.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables read-only access to Obsidian vaults with semantic search, tag filtering, and metadata queries. Provides secure, intelligent note retrieval and summarization for LLMs without modifying your vault.7 npm13ISC
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to read, write, search, and navigate Obsidian vault notes with support for CRUD operations, full-text search, graph navigation, daily notes, and frontmatter management.2,778 npm-
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to find semantic connections and perform text searches in Obsidian vaults using the Smart Connections plugin data.43 npm14MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to navigate, search, and rank notes in an Obsidian vault using graph relationships, providing context-aware access to knowledge without exposing raw file contents.MIT