
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@fabriqa.ai/pdf-reader-mcp
Advanced tools
MCP server for efficient PDF text extraction, search, and metadata retrieval for Claude Code
A Model Context Protocol (MCP) server that provides efficient PDF text extraction capabilities for Claude Code. This server allows you to read, search, and extract metadata from PDF files without loading the entire content into Claude's context window.
npm package: @fabriqa.ai/pdf-reader-mcp Author: Cengiz Han Blog Post: How I Built This Tool to Save My Context
npm install -g @fabriqa.ai/pdf-reader-mcp
After installation, the server will be available globally. You can configure it by running:
# The package will be installed in your global node_modules
# Typically: /usr/local/lib/node_modules/@fabriqa.ai/pdf-reader-mcp
git clone https://github.com/hancengiz/read_pdf_as_text_mcp.git
cd read_pdf_as_text_mcp
npm install
# Add the MCP server
claude mcp add pdf-reader npx @fabriqa.ai/pdf-reader-mcp
# Or use the convenience script
npx @fabriqa.ai/pdf-reader-mcp/update-config.js
Add to your ~/.claude.json:
{
"mcpServers": {
"pdf-reader": {
"command": "npx",
"args": [
"@fabriqa.ai/pdf-reader-mcp"
]
}
}
}
This uses npx to automatically run the globally installed package without needing to specify paths.
After installing via npm, you can use the included configuration script to automatically update your ~/.claude.json:
npx @fabriqa.ai/pdf-reader-mcp/update-config.js
Or if installed from source:
node update-config.js
This will automatically add the MCP server using npx, making it available machine-wide across all your projects.
For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"pdf-reader": {
"command": "npx",
"args": [
"@fabriqa.ai/pdf-reader-mcp"
]
}
}
}
Once configured, restart Claude Code. The following tools will be available:
Extract text content from a PDF file.
Parameters:
file (required): Path to the PDF filepages (optional): Page range (e.g., '1-5', '1,3,5', 'all'). Default: 'all'clean_text (optional): Clean and normalize extracted text. Default: falseinclude_metadata (optional): Include PDF metadata in output. Default: trueExample:
Can you read the PDF at /path/to/document.pdf?
Search for specific text within a PDF file.
Parameters:
file (required): Path to the PDF filequery (required): Text to search forcase_sensitive (optional): Case sensitive search. Default: falsewhole_word (optional): Match whole words only. Default: falseExample:
Search for "machine learning" in /path/to/document.pdf
Extract metadata from a PDF file.
Parameters:
file (required): Path to the PDF fileExample:
Get metadata from /path/to/document.pdf
Here's how you might use this MCP server with Claude Code:
Extract metadata first to understand the document:
What's the metadata for ~/Documents/research-paper.pdf?
Search for specific topics without reading the entire file:
Search for "neural networks" in ~/Documents/research-paper.pdf
Read specific sections when you know what you're looking for:
Read pages 10-15 from ~/Documents/research-paper.pdf with cleaned text
npm installclean_text option for better formattingTo modify or extend the server:
index.js to add new tools or modify existing onesListToolsRequestSchema handler to register new toolsCallToolRequestSchema handlerMIT
Created by Cengiz Han
Feel free to submit issues or pull requests to improve this MCP server.
FAQs
MCP server for efficient PDF text extraction, search, and metadata retrieval for Claude Code
The npm package @fabriqa.ai/pdf-reader-mcp receives a total of 29 weekly downloads. As such, @fabriqa.ai/pdf-reader-mcp popularity was classified as not popular.
We found that @fabriqa.ai/pdf-reader-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.