LocalFree server, account needed

PinRAG MCP server

ndjordjevic/pinrag

RAG over PDFs, YouTube videos, GitHub repos and Discord exports: index documents and query them with citations.

2 GitHub stars

Install PinRAG in Claude Code

Claude Code
claude mcp add pinrag -e OPENROUTER_API_KEY=... -- uvx pinrag
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "pinrag": {
      "command": "uvx",
      "args": [
        "pinrag"
      ],
      "env": {
        "OPENROUTER_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the PinRAG MCP server do?

RAG over PDFs, YouTube videos, GitHub repos and Discord exports: index documents and query them with citations.

Is the PinRAG MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does PinRAG run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add PinRAG to Claude Code?

Run: claude mcp add pinrag -e OPENROUTER_API_KEY=... -- uvx pinrag

More knowledge, memory & rag MCP servers

View all