Skip to main content
Glama
jayluxferro

pdf-inspector-mcp

by jayluxferro

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
process_pdfA

Full PDF processing: detect type, extract text, and convert to Markdown.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. pages: Optional list of 0-indexed page numbers to process.

detect_pdfA

Fast PDF detection: returns type, page count, and pages needing OCR.

Use this for quick classification without full text extraction.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes.

classify_pdfA

Lightweight PDF classification: type, page count, OCR pages, confidence.

Faster than detect_pdf — returns a PdfClassification without full analysis.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes.

extract_textB

Extract plain text from a PDF file.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes.

extract_text_with_positionsA

Extract text items with position, font, and style metadata.

Returns a list of TextItem objects each with: text, x, y, width, height, font, font_size, page, is_bold, is_italic, is_underline, is_strikeout, item_type.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. pages: Optional list of 0-indexed page numbers to extract.

extract_text_in_regionsB

Extract text from specific bounding-box regions on pages.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. page_regions: List of {"page": int, "regions": [{"x": float, "y": float, "width": float, "height": float}, ...]} dicts.

extract_pages_markdownA

Extract per-page Markdown with layout metadata.

Returns page-by-page Markdown along with tables, columns, and OCR info. Pages are 0-indexed; returned page numbers are 1-indexed.

Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. pages: Optional list of 0-indexed page numbers to extract.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jayluxferro/pdf-inspector-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server