{
  "markdown": "# PinRAG — Claude Code plugin\n\nA [Claude Code](https://code.claude.com/docs/en/plugins.md) plugin for [PinRAG](https://github.com/ndjordjevic/pinrag): local RAG over PDFs, YouTube, GitHub repos, and Discord exports, with citations.\n\nThe Python package (`pinrag` on PyPI) lives in [ndjordjevic/pinrag](https://github.com/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.\n\n## Contents\n\n| Path | Purpose |\n|------|---------|\n| [`.claude-plugin/plugin.json`](.claude-plugin/plugin.json) | Plugin manifest ([schema](https://code.claude.com/docs/en/plugins-reference.md#plugin-manifest-schema)) |\n| [`.mcp.json`](.mcp.json) | MCP server: `uvx --refresh pinrag` |\n| [`skills/use-pinrag/SKILL.md`](skills/use-pinrag/SKILL.md) | Agent skill — maps user requests to PinRAG MCP tools |\n| [`assets/pinrag-icon.svg`](assets/pinrag-icon.svg) | Icon for marketplace / docs |\n| [`LICENSE`](LICENSE) | MIT (matches `plugin.json` `license`) |\n\n## Prerequisites\n\n- **[uv](https://docs.astral.sh/uv/)** on your PATH (used by `uvx` to run `pinrag`).\n- **API keys:** Set `OPENAI_API_KEY` in the MCP `env` block (default: OpenAI embeddings and chat). For Anthropic as the query LLM, set `PINRAG_LLM_PROVIDER=anthropic` and `ANTHROPIC_API_KEY` — see the [PinRAG README](https://github.com/ndjordjevic/pinrag#quick-start).\n- **Stable index:** Set `PINRAG_PERSIST_DIR` to an absolute path (e.g. `~/.pinrag/chroma_db`) so the vector store is not tied to the working directory.\n\n## Install in Claude Code\n\n### From a local clone (development)\n\n```bash\ngit clone https://github.com/ndjordjevic/pinrag-plugin.git\ncd pinrag-plugin\nclaude --plugin-dir .\n```\n\nAfter changes, run `/reload-plugins` in Claude Code to pick up updates.\n\n### From the official marketplace\n\nSubmit or list plugins via:\n\n- [claude.ai/settings/plugins/submit](https://claude.ai/settings/plugins/submit)\n- [platform.claude.com/plugins/submit](https://platform.claude.com/plugins/submit)\n\nSee [Create plugins](https://code.claude.com/docs/en/plugins.md) and [Discover and install plugins](https://code.claude.com/docs/en/discover-plugins.md).\n\n## Usage\n\n- With the plugin enabled, the MCP server starts from `.mcp.json` and the skill is available as **`/pinrag:use-pinrag`** (namespace matches the `name` field in `plugin.json`).\n- Invoke `/help` to confirm the skill appears under the plugin namespace.\n\n## License\n\nMIT — see [LICENSE](LICENSE); aligns with [PinRAG](https://github.com/ndjordjevic/pinrag/blob/main/LICENSE).\n",
  "bytes": 2585,
  "sha": "c6bf7954a8380c5d72688164997c74c379f1df004cbc5f68450ae0bfb9f31a6c",
  "repo_slug": "ndjordjevic/pinrag-plugin",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_ndjordjevic_pinrag_plugin_pinrag_0d936e1c/readme"
}