73
/ 100
10 days ago
glama

pdf-rag

Convert PDF documents to Markdown and query them using AI with source attribution and confidence scoring, supporting multiple LLM providers.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 5 credentials: JWT_SECRET_KEY, PDF_RAG_API_KEY, PDF_RAG_PASSWORD, OPENAI_API_KEY, ANTHROPIC_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretJWT_SECRET_KEYexport ="$(openssl rand -base64 32)"
configADMIN_USERNAMEexport ="admin"
configADMIN_PASSWORD_HASHexport ="$2b$12$..."
configAPI_KEYSexport ="prod-key-1:production:5000,dev-key-1:development:1000"
🔐 secretPDF_RAG_API_KEY
configPDF_RAG_USERNAME
🔐 secretPDF_RAG_PASSWORD
configALLOWED_DOCUMENTS_DIR
configLLM_TYPE// "": "anthropic",
configLLM_MODEL// "": "claude-3-5-sonnet-20241022",
configEMBEDDING_MODEL// "": "sentence-transformers/all-MiniLM-L6-v2"
configMCP_LOG_LEVELexport ="INFO"
configMCP_LOG_DIRexport ="/path/to/logs"
configMCP_LOG_MAX_BYTESexport ="10485760"
configMCP_LOG_BACKUP_COUNTexport ="5"
🔐 secretOPENAI_API_KEYdefaults for other settings. For OpenAI, use and set
🔐 secretANTHROPIC_API_KEY"": "your-api-key"
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 3 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/prototype-cafe-llc-pdf-extractor-de6pka)](https://m8ven.ai/mcp/prototype-cafe-llc-pdf-extractor-de6pka)
commit: 49a18abc94c123e04da9ae114bbfbaa12e210579
code hash: 9daaa01f1ab925c3bc7cdc7dbeb6572a805f188d8b1b3babbc4d425035f6147a
verified: 7/21/2026, 9:38:38 AM
view raw JSON →