MCP-RAGNAR

by bixentemal

Not rated
GitHub

About

A local MCP server implementing Retrieval-Augmented Generation (RAG) with sentence window retrieval and support for multiple file types.

Details

Author
bixentemal
Categories
Developer Tools, Knowledge Base, Other, AI

Setup

Install MCP-RAGNAR in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/bixentemal/mcp-ragnar

Follow the installation instructions in the repository README, then restart your MCP client.

A local MCP server that implements RAG (Retrieval-Augmented Generation) with sentence window retrieval.

- Document indexing with support for multiple file types (txt, md, pdf, doc, docx)
- Sentence window retrieval for better context understanding
- Configurable embedding models (OpenAI or local hugging face mode - i.e BAAI/bge-large-en-v1.5)
- MCP server integration for easy querying

git clone <repository-url> cd mcp-ragnar

You can index documents either programmatically or via the command line.

python -m indexer.index /path/to/documents /path/to/index # to change the default local embedding model and chunk size python -m indexer.index /path/to/documents /path/to/index --chunk-size=512 --embed-model BAAI/bge-small-en-v1.5 # With OpenAI embedding endpoint (put your OPENAI_API_KEY in env) python -m indexer.index /path/to/documents /path/to/index --embed-endpoint https://api.openai.com/v1 --embed-model text-embedding-3-small --tokenizer-model o200k_base # Get help python -m indexer.index --help

- EMBED_ENDPOINT: (Optional) Path to an OpenAI compatible embedding endpoint (ends with /v1). If not set, a local Hugging Face model is used by default.
- EMBED_MODEL: (Optional) Name of the embedding model to use. Default value of BAAI/bge-large-en-v1.5.
- INDEX_ROOT: The root directory for the index, used by the retriever. This is mandatory for MCP (Multi-Cloud Platform) querying.
- MCP_DESCRIPTION: The exposed name and description for the MCP server, used for MCP querying only. This is mandatory for MCP querying. For example: "RAG to my local personal documents"
- INDEX_ROOT: the root path of the index

in SSE mode it will listen tohttp://localhost:8001/ragnar

On MacOS:~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "mcp-ragnar": { "command": "uvx", "args": [ "mcp-ragnar" ], "env": { "OPENAI_API_KEY": "", "EMBED_ENDPOINT": "https://api.openai.com/v1", "EMBED_MODEL": "text-embedding-3-small", "MCP_DESCRIPTION": "My local Rust documentation", "INDEX_ROOT": "/tmp/index" } } } }

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

A Retrieval-Augmented Generation (RAG) server for document processing, vector storage, and intelligent Q&A, powered by the Model Context Protocol.

An MCP server for interacting with Dappier's Retrieval-Augmented Generation (RAG) models.

A reasoning-first MCP middleware that uses heuristics and Neural BERT models to distil context and eliminate noise

Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.

A server for Retrieval-Augmented Generation (RAG) using the Contextual AI platform.

Agentic RAG over your own documents on an embedded LanceDB, no database server to run. Hybrid search with reranking, Docling parsing for PDFs and 40+ formats, multimodal retrieval, and answers cited to page numbers and section headings.

Local RAG system for Claude Code with hybrid search (semantic + BM25), cross-encoder reranking, markdown-aware chunking, 9 file formats, file watcher, and 12 MCP tools. Zero external servers. pip install knowledge-rag

A server for RAG-based document search and management using Qdrant vector database with Ollama or OpenAI embeddings.

Get access to Kaggle's datasets, models, competitions, notebook and benchmarks.

Access technical documentation for libraries and frameworks, formatted in clean markdown for LLM consumption.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.