MCP Ragnar MCP Server

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

Local serverstdioPython

What is the MCP Ragnar MCP Server?

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

What it actually does

  • 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

Configuration

  • Python 3.10+ - UV package manager

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the MCP Ragnar MCP Server

{
  "mcpServers": {
    "mcp-ragnar": {
      "command": "uvx",
      "args": [
        "mcp-ragnar"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_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"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.10+ - UV package manager
VariableDescriptionRequired
OPENAI_API_KEYDeclared in the maintainer’s client configuration.Check documentation
EMBED_ENDPOINTDeclared in the maintainer’s client configuration.Optional
EMBED_MODELDeclared in the maintainer’s client configuration.Optional
MCP_DESCRIPTIONDeclared in the maintainer’s client configuration.Check documentation
INDEX_ROOTDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Ragnar to Indexing.”
  • “Use MCP Ragnar to Configuration.”

Frequently asked questions

A local MCP server that implements RAG (Retrieval-Augmented Generation) with sentence window retrieval. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.