Skip to main content
Glama

PDF Reader MCP Server

by pablontiv

extract_pdf_text

Extract text from PDF documents, including optional metadata and formatting preservation. Specify page ranges to refine extraction and retain document structure as needed.

Instructions

Extract text content from PDF documents with optional metadata and formatting preservation

Input Schema

NameRequiredDescriptionDefault
file_pathYesPath to the PDF file to extract text from
include_metadataNoWhether to include document metadata in the response
pagesNoPage range to extract (e.g., "1-5", "1,3,5", or "all")all
preserve_formattingNoWhether to preserve text formatting and structure

Input Schema (JSON Schema)

{ "properties": { "file_path": { "description": "Path to the PDF file to extract text from", "type": "string" }, "include_metadata": { "default": false, "description": "Whether to include document metadata in the response", "type": "boolean" }, "pages": { "default": "all", "description": "Page range to extract (e.g., \"1-5\", \"1,3,5\", or \"all\")", "type": "string" }, "preserve_formatting": { "default": true, "description": "Whether to preserve text formatting and structure", "type": "boolean" } }, "required": [ "file_path" ], "type": "object" }

Other Tools from PDF Reader MCP Server

Related Tools

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/pablontiv/pdf-reader-mcp'

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