PinRAG MCP Server
by ndjordjevicio.github.ndjordjevic/pinragv0.9.27
RAG over PDFs, YouTube videos, GitHub repos and Discord exports: index documents and query them with citations.
context tax
queued
security
queued
cold start
queued
freshness
Stale6mo ago
Install PinRAG MCP server
Install in Claude Code
claude mcp add pinrag -e OPENROUTER_API_KEY='<openrouter-api-key>' -- uvx pinragInstall in Cursor
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pinrag": {
"type": "stdio",
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OPENROUTER_API_KEY | yes | yes | OpenRouter API key — required for the default chat LLM (PINRAG_LLM_PROVIDER defaults to openrouter). Get a key at openrouter.ai. |
| PINRAG_PERSIST_DIR | — | — | Absolute path to the Chroma vector store directory (recommended so indexes are not tied to the server process cwd). |
Freshness
Stale — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-04-10 · 6mo ago · GitHub
Latest release
2026-04-09 · 6mo ago · GitHub · v0.9.27
Package published
no data · npm/PyPI
Registry entry updated
2026-04-09 · 6mo ago · official registry · v0.9.27
FAQ
›How do I install the PinRAG MCP server in Claude Code?
Run: claude mcp add pinrag -e OPENROUTER_API_KEY='<openrouter-api-key>' -- uvx pinrag. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does PinRAG require an API key?
Yes. It expects OPENROUTER_API_KEY, of which 1 is a secret.
›Can I use PinRAG as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is PinRAG in the official MCP registry?
Yes, as io.github.ndjordjevic/pinrag.
Alternatives to PinRAG
Other version control MCP servers.