Devrag MCP Server

DevRag is a lightweight RAG (Retrieval-Augmented Generation) system designed specifically for developers using Claude Code. Stop wasting tokens by

Local serverstdioPython

What is the Devrag MCP Server?

DevRag is a lightweight RAG (Retrieval-Augmented Generation) system designed specifically for developers using Claude Code. Stop wasting tokens by reading entire

What it actually does

  • ❌ Wasting Context: Reading entire docs every time (3,000+ tokens per file)
  • ❌ Poor Searchability: Claude doesn't know which file contains what
  • ❌ Repetitive: Same documents read multiple times across sessions
  • ✅ 40x Less Tokens: Vector search retrieves only relevant chunks (~200 tokens)
  • ✅ 15x Faster: Search in 100ms vs 30 seconds of reading
  • ✅ Auto-Discovery: Claude Code finds documents without knowing file names

Configuration

  • Go 1.21+ (for building from source) - CGO enabled (for sqlite-vec) - macOS, Linux, or Windows

Recorded tools

  • search — // Search only in docs/api directory search(query: "user endpoints", directory: "docs/api")
  • index_markdown — The index_markdown tool exposed by this server.
  • list_documents — The list_documents tool exposed by this server.
  • delete_document — The delete_document tool exposed by this server.
  • reindex_document — The reindex_document tool exposed by this server.

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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
querystring, required): Search query in natural language
top_knumber, optional): Maximum number of results (default: 5)
directorystring, optional): Filter to specific directory (e.g., "docs/api")
file_patternstring, optional): Glob pattern for filename (e.g., "api-.md", ".md")
index_markdown
list_documents
delete_document
reindex_document

How to install the Devrag MCP Server

{
  "mcpServers": {
    "devrag": {
      "type": "stdio",
      "command": "/usr/local/bin/devrag"
    }
  }
}

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

Configuration

  • Go 1.21+ (for building from source) - CGO enabled (for sqlite-vec) - macOS, Linux, or Windows

Example prompts to try

  • “Use Devrag to search.”
  • “Use Devrag to index markdown.”
  • “Use Devrag to list documents.”

Frequently asked questions

DevRag is a lightweight RAG (Retrieval-Augmented Generation) system designed specifically for developers using Claude Code. Stop wasting tokens by reading entire Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.