Skip to content
Cursor

PinRAG for Cursor

io.github.ndjordjevic/pinrag

MCP RAG: index PDFs, repos, YouTube, Discord, text; optional YouTube vision; query with citations.

client:Cursor transport:stdio runtime:pypi

Install PinRAG in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "pinrag": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pinrag"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
        "PINRAG_PERSIST_DIR": "<PINRAG_PERSIST_DIR>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

PinRAG in other clients