# MiniRAG MCP Server

> A multilingual hybrid-search RAG MCP server for local documents.

- **URL**: https://followmcp.com/en/servers/minirag-mcp
- **Category**: Filesystem
- **Origin**: Community
- **Stars**: 59
- **FMRS Score**: 62/100 (Grade C)
- **Source**: https://github.com/sfrangulov/minirag-mcp
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Python 3.11+
- **Auth**: No credential needed

## Overview
MiniRAG MCP Server is a Python MCP server that indexes a chosen document folder and retrieves content using semantic vector search combined with BM25 keyword ranking. It uses multilingual embeddings by default, and indexing and queries run locally. First use downloads the model, and an explicit ingest_url call fetches the requested web page. The README describes the 2.0.0a prerelease; ordinary pip or uvx installation still installs 1.1.1.

## Best for
- Users who want to index and search personal or project documents locally.
- Users who want semantic retrieval combined with keyword matching across potentially multilingual corpora.

## Not for
- Users who need a fully offline first installation or first model download.
- Users who need embedded image content indexed; embedded pictures are not indexed, and image OCR requires the optional OCR extra.
- Users who need the server to work without access to the selected document folders or local model resources.

## Required permissions
- Needs read access to the configured document roots; BASE_DIR is the file-access boundary, and BASE_DIRS can specify multiple roots.
- Needs network access to download the embedding model on first use; an explicit ingest_url call accesses the requested URL.
- Index data and the model cache require local disk space; the default embedding model is about 2.24 GB.

## Risks
- Documents are parsed and stored in a local index, so choose document roots carefully.
- ingest_url makes network requests; hosts resolving to private or local addresses are refused by default unless ALLOW_PRIVATE_URLS is enabled.
- When model endpoints are configured, text to be embedded, reranked, or labeled is sent to those endpoints.
- The README describes v2 as a test prerelease; its default model has significant disk and memory requirements.

## Client config (JSON)
```json
{
  "mcpServers": {
    "minirag": {
      "command": "uvx",
      "args": [
        "--from",
        "minirag-mcp>=2.0.0a1",
        "minirag-mcp"
      ],
      "env": {
        "BASE_DIR": "/absolute/path/to/docs"
      }
    }
  }
}
```
