Skip to content
Agentmart
Submit a tool

PinRAG

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

Connector by ndjordjevic · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 2
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/ndjordjevic-pinrag

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
3 read · 2 write · 1 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 6

Read from the source code; the running server may list different tools.

Read 3 · Look things up without changing anything.

  • list_collections_tool
  • list_documents_tool
  • query_tool

Write 2 · Create, change, send or run things.

  • add_document_tool
  • set_document_tag_tool

Delete 1 · Delete, drop, revoke or wipe things.

  • remove_document_tool

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • OPENROUTER_API_KEY

Other settings (environment variables or headers).

  • PINRAG_PERSIST_DIR

Files it touches

  • Any path the agent passes to its tools

Tools (6)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • add_document_tool

    Add files, directories, YouTube videos, GitHub repos, or web docs sites to the index. Automatically detects format per path and indexes: - GitHub (URL, e.g. https://github.com/owner/repo or github.com/owner/repo/tree/branch) - YouTube (URL or video ID, e.g. https://youtu.be/xyz) - Web docs (any other http(s) URL, e.g. https://docs.langchain.com/) — discovery via llms.txt → sitemap.xml → scoped BFS, same-host + path-prefix only - PDF (.pdf) - Discord export (.txt with DiscordChatExporter Guild:/Channel: header) Pass one or more paths. Single path: paths=[\"/path/to/file.pdf\"]. Uses server …

  • list_collections_tool

    List Chroma collection names in the configured (or overridden) persist directory.

  • list_documents_tool

    List all indexed documents in the PinRAG index. Returns unique document IDs (PDF file names, video IDs, discord-alicia-1200-pcb, owner/repo/path for GitHub, etc.) currently in the vector store, plus total chunk count. Uses server config for vector store location and collection. Args: tag: Optional tag to filter: only list documents that have this tag. ctx: MCP request context (injected by the server; unused). Returns: Dictionary containing documents, total_chunks, persist_directory, collection_name, document_details.

  • query_tool

    Query indexed documents and return an answer with citations. Searches through all indexed documents (PDF, Discord, GitHub, YouTube, web docs, etc.) and uses RAG to provide an answer based on retrieved context, with source citations. Args: query: Natural language question to ask. document_id: Optional document selector (ref, title, or unique PDF stem). page_min: Optional start of page range (inclusive). PDF only. page_max: Optional end of page range (inclusive). PDF only. tag: Optional tag to filter retrieval (from list_documents). document_type: Optional type to filte…

  • remove_document_tool

    Remove a document and all its chunks from the PinRAG index. Deletes all chunks and embeddings for the given document. Use list_documents_tool to see document_ids (e.g. "mybook.pdf", "bwgLXEQdq20", "discord-alicia-1200-pcb", "owner/repo/path" for GitHub). Uses server config for vector store location and collection. Args: document_id: Document identifier to remove (from list_documents_tool). ctx: MCP request context (injected by the server; unused). Returns: Dictionary containing deleted_chunks, document_id (canonical ref after any title match), persist_directory, collection_n…

  • set_document_tag_tool

    Set or replace the tag on every indexed chunk for one document.

Signals

Stars
2
Forks
0
Open issues
0
Weekly downloads
108
Last commit
Apr 10, 2026 (6 months ago)
Last release
Apr 9, 2026 (6 months ago)
Last package publish
Apr 9, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.ndjordjevic/pinrag
Version
0.9.27
Auth
API key
Packages
pypi pinrag
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

PinRAG MCP server. Agent Mart. https://agentmart.dev/connectors/ndjordjevic-pinrag (last updated 2026-10-24)