Skip to content
Grok

rag for Grok

io.github.fieldcure/rag

MCP RAG server with hybrid search, multi-KB support, and AI-powered chunk contextualization.

client:Grok transport:stdio runtime:nuget

Install rag in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "rag": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "FieldCure.Mcp.Rag",
        "--yes"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "VOYAGE_API_KEY": "<VOYAGE_API_KEY>",
        "GROQ_API_KEY": "<GROQ_API_KEY>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

rag in other clients