A Claude Code plugin for PinRAG: local RAG over PDFs, YouTube, GitHub repos, and Discord exports, with citations.
The Python package (pinrag on PyPI) lives in ndjordjevic/pinrag. This repo ships only the Claude Code plugin layout: manifest (.claude-plugin/plugin.json), bundled MCP (.mcp.json), and the use-pinrag skill.
| Path | Purpose |
|---|---|
.claude-plugin/plugin.json |
Plugin manifest (schema) |
.mcp.json |
MCP server: uvx --refresh pinrag |
skills/use-pinrag/SKILL.md |
Agent skill — maps user requests to PinRAG MCP tools |
assets/pinrag-icon.svg |
Icon for marketplace / docs |
LICENSE |
MIT (matches plugin.json license) |
- uv on your PATH (used by
uvxto runpinrag). - API keys: Set
OPENAI_API_KEYin the MCPenvblock (default: OpenAI embeddings and chat). For Anthropic as the query LLM, setPINRAG_LLM_PROVIDER=anthropicandANTHROPIC_API_KEY— see the PinRAG README. - Stable index: Set
PINRAG_PERSIST_DIRto an absolute path (e.g.~/.pinrag/chroma_db) so the vector store is not tied to the working directory.
git clone https://github.com/ndjordjevic/pinrag-plugin.git
cd pinrag-plugin
claude --plugin-dir .After changes, run /reload-plugins in Claude Code to pick up updates.
Submit or list plugins via:
See Create plugins and Discover and install plugins.
- With the plugin enabled, the MCP server starts from
.mcp.jsonand the skill is available as/pinrag:use-pinrag(namespace matches thenamefield inplugin.json). - Invoke
/helpto confirm the skill appears under the plugin namespace.