RAGnarok is a Docker-first Model Context Protocol (MCP) server that brings deterministic, real-time web search to open-source Large Language Models. No API keys for proprietary search providers. No closed-source dependencies. Just a fully self-hosted search pipeline which is packaged as a single Docker container that turns any local model into a web-connected assistant.
Open-Source Models Deserve Open-Source Search
Open-source LLMs are increasingly powerful, but they still lack the ability to access live information. This is a problem because it means that the moment you ask your local model about a library released last week, a breaking news story, or any fact that postdates its training data, it hallucinates or simply says it doesn't know.
Without RAGnarok
A local LLM tries to access a GitHub repository and analyze an arXiv paper. Without web access, it fails at both tasks.
RAGnarok closes this gap. It gives any open-source model the access to current information that users expect from proprietary alternatives.
With RAGnarok
The same prompts with RAGnarok enabled. The model reads the repo and analyzes the paper in real time.
Fully Self-Hosted, Zero External APIs
RAGnarok's search stack is completely self-contained inside a single Docker container. Here is how a query flows through the pipeline:
robots.txt compliance.Everything runs inside Docker. Your queries never leave your machine.
Two Tools, Full Coverage
RAGnarok exposes two MCP tools:
max_pages.Both tools return structured JSON with metadata like response time, page counts, and relevance scores.
Built for Responsibility
Giving models the ability to fetch live web content comes with responsibility. RAGnarok is intentionally conservative:
- Dependency Isolation: The browser, search engine, and all processing run inside an isolated Docker container. Web retrieval cannot touch your host system.
- Respect for Site Policies: RAGnarok checks
robots.txtbefore every browser fetch. Sites that disallow automated access are skipped. It does not click consent prompts, Terms of Service dialogs, or sign-in gates. Captchas, paywalls, and interstitial pages are filtered from results. - Public URLs Only: RAGnarok only targets public
httpandhttpsURLs. Private IPs and internal network addresses are blocked at the verification step. - Optimized for Documentation: The primary use case is grounding open-source models in publicly available documentation, READMEs, changelogs, and technical articles.
Get Started
Pull the image from Docker Hub:
docker pull ritik12/ragnarok-mcp:latest
Or build locally from source:
git clone https://github.com/RITIK-12/RAGnarok.git
cd RAGnarok
docker build -t ragnarok-mcp:local .
LM Studio
OpenCode
For OpenCode users, an example configuration is provided at examples/opencode.json. Point it at the container and you are ready to go.
Visit the RAGnarok repository to get started and give your local models the search capabilities they have been missing.