PinRAG for Grok
io.github.ndjordjevic/pinrag
MCP RAG: index PDFs, repos, YouTube, Discord, text; optional YouTube vision; query with citations.
client:Grok
transport:stdio
runtime:pypi
Install PinRAG in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"pinrag": {
"type": "stdio",
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
"PINRAG_PERSIST_DIR": "<PINRAG_PERSIST_DIR>"
}
}
}
}
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