MCP RAG: index PDFs, repos, YouTube, Discord, text; optional YouTube vision; query with citations.
Connect Runs on your machine
claude mcp add pinrag -e OPENROUTER_API_KEY=<OPENROUTER_API_KEY> -e PINRAG_PERSIST_DIR=<PINRAG_PERSIST_DIR> -- uvx pinrag==0.9.27
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag==0.9.27"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
"PINRAG_PERSIST_DIR": "<PINRAG_PERSIST_DIR>"
}
}
}
}
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag==0.9.27"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
"PINRAG_PERSIST_DIR": "<PINRAG_PERSIST_DIR>"
}
}
}
}
{
"servers": {
"pinrag": {
"type": "stdio",
"command": "uvx",
"args": [
"pinrag==0.9.27"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
"PINRAG_PERSIST_DIR": "<PINRAG_PERSIST_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
OPENROUTER_API_KEYRequired, secret | OpenRouter API key — required for the default chat LLM (PINRAG_LLM_PROVIDER defaults to openrouter). Get a key at openrouter.ai. |
PINRAG_PERSIST_DIROptional | Absolute path to the Chroma vector store directory (recommended so indexes are not tied to the server process cwd). |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 9 Apr 2026 |
| Last updated | 9 Apr 2026 |
| Registry name | io.github.ndjordjevic/pinrag |
More communication servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
