pdf-rag

pdf-rag is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from abdellahiheiballa/pdf-rag. Its token cost is not measured, scanned A, a copy of pdf-rag, MIT.

A local MCP server for searching and answering questions about indexed PDF documents. It uses a stored database of document information and needs one environment setting to run.

In plain words
What is it for?
Use it for questions about PDFs that have already been added to its database. It is configured to start with the `pdfrag` command.
Why use it?
It can help you find relevant information in PDFs without manually searching each document. The input does not describe how the search or answers work in detail.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it. Also seen: listed in a Claude config.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/wgriffin/.dotfiles/files/mcps/pdfrag/chroma_db.

Good fit Use it for questions about PDFs that have already been added to its database. It is configured to start with the pdfrag command.

Compare 6 mcp servers from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pdf-rag

README.md
[![agentmods](https://agentmods.dev/badge/mcp/abdellahiheiballa/pdf-rag/pdf-rag/github.svg)](https://agentmods.dev/mcp/abdellahiheiballa/pdf-rag/pdf-rag)
Your own site
<a href="https://agentmods.dev/mcp/abdellahiheiballa/pdf-rag/pdf-rag"><img src="https://agentmods.dev/badge/mcp/abdellahiheiballa/pdf-rag/pdf-rag/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pdf-rag

Your own site · 80×15
<a href="https://agentmods.dev/mcp/abdellahiheiballa/pdf-rag/pdf-rag"><img src="https://agentmods.dev/badge/mcp/abdellahiheiballa/pdf-rag/pdf-rag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Security

Grade A, and why

pdf-rag scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to pdf-rag — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

examples/claude_desktop_config.json · 12 lines

What it actually says

{
  "pdf-rag": {
    "command": "pdfrag",
    "args": [
      "--db-path",
      "/Users/wgriffin/.dotfiles/files/mcps/pdfrag/chroma_db"
    ],
    "env": {
      "PYTHONUNBUFFERED": "1"
    }
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 12 lines scan A 469588fb68df

Subscribe to this mod's changes

pdf-rag is an MCP server published in the GitHub repository abdellahiheiballa/pdf-rag (0 stars, last pushed 7mo ago), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. It is 100% identical to pdf-rag, differing in 0 lines, and is treated as a copy.