EzRAG MCP Server
Provides semantic search and keyword search over Obsidian notes, along with direct note retrieval, allowing external AI agents to query and access the vault.
README
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.
<img width="716" height="507" alt="Chat Interface Screenshot" src="https://github.com/user-attachments/assets/4026c1aa-0a9e-43f0-bbb8-31b95e645244" />
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
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/ezrag - Build once:
cd ezrag npm install npm run build - Restart Obsidian and enable EzRAG.
Configure
- Settings → EzRAG → enter your Gemini API key.
- On desktop, toggle This machine is the runner to let it index.
<img width="826" height="591" alt="Settings Screenshot" src="https://github.com/user-attachments/assets/8d3d2470-b305-4114-91ed-b8778af66e1e" />
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/mcp
Tools 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.
<img width="881" height="500" alt="Upload Queue Screenshot" src="https://github.com/user-attachments/assets/a1a51b87-2e8a-461a-8f6b-59ef0dea1098" />
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
- Issues
- Discussions
- License (ISC)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.