Skip to main content
Glama
Rubrum95
by Rubrum95

RAG MCP Server

MCP Server that gives Claude Code semantic search over your PDFs, code, and documents. Index once, query instantly — with exact citations and zero hallucinations.

Setup

1. Install

git clone https://github.com/Rubrum95/rag-mcp-server
cd rag-mcp-server
pip install .

For OCR support (scanned PDFs):

pip install ".[ocr]"

# macOS
brew install tesseract

# Windows — download installer from:
# https://github.com/UB-Mannheim/tesseract/wiki

# Linux
sudo apt install tesseract-ocr tesseract-ocr-spa

2. Connect to Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "rag": {
      "command": "rag-mcp-server"
    }
  }
}

Related MCP server: Claude RAG MCP Pipeline

Usage

Index a project

Ask Claude: "Index ~/projects/my-research"
→ Calls rag_index, processes all PDFs and code files

Query documents

Ask Claude: "What does the paper say about ocean warming?"
→ Calls rag_query, returns exact text with page citations

Update with new files

Ask Claude: "Update the my-research index"
→ Calls rag_update, only processes new/changed files

List indexed projects

Ask Claude: "List my indexed projects"
→ Shows all projects with file/chunk counts

Configuration

Copy config.yaml to ~/.rag-mcp-server/config.yaml to customize:

  • embedding_model — default: multilingual model (Spanish + English)

  • chunk_size / chunk_overlap — text splitting parameters

  • top_k — default number of search results

  • ocr_languages — Tesseract languages for scanned PDFs

  • supported_extensions — file types to index

How It Works

Your files → Text extraction → Chunking → Embeddings → ChromaDB
                (+ OCR if needed)

Your question → Embedding → Cosine similarity search → Top chunks
                                                          ↓
                                            Claude reads exact text
                                            and responds with citations

Requirements

  • Python 3.10+

  • ~500MB disk for embedding model (downloaded once)

  • Tesseract (optional, for scanned PDFs)

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    -
    maintenance
    Turns Claude Desktop into a personal document question-answering system using local vector search. Index PDF, TXT, and Markdown documents into collections and get answers based strictly on your documents with zero hallucination.
    Last updated
    14
  • A
    license
    -
    quality
    D
    maintenance
    Provides semantic code intelligence to help users search, navigate, and analyze entire codebases using plain English. It enables Claude to perform architectural overviews, bug detection, and refactor suggestions through local semantic search and keyword indexing.
    Last updated
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Enables local semantic search over documents and code for Claude Code and Claude Desktop, running entirely offline with local embeddings and vector storage.
    Last updated
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.

  • Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.

  • Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…

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/Rubrum95/rag-mcp-server'

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