Skip to main content
Glama
xraywu

PDF Extraction MCP Server

by xraywu

Сервер MCP для извлечения PDF-файлов

MCP-сервер для извлечения содержимого из PDF-файла

Компоненты

Инструменты

На сервере реализован один инструмент:

  • extract-pdf-contents: Извлечение содержимого из локального PDF-файла

    • Принимает «pdf_path» в качестве обязательного строкового аргумента, представляющего локальный путь к файлу PDF.

    • Принимает "pages" как необязательный строковый аргумент, представляющий номера страниц для извлечения содержимого из файла PDF. Номера страниц разделяются запятыми, поддерживаются отрицательные номера страниц (например, '-1' означает последнюю страницу)

    • Поддерживает чтение PDF-файлов и OCR

Related MCP server: mcp-pdf-tools

Быстрый старт

Установить

Клод Десктоп

В MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json В Windows: %APPDATA%/Claude/claude_desktop_config.json

Available Tools

1 tool
extract-pdf-contentsC

Extract contents from a local PDF file, given page numbers separated in comma. Negative page index number supported.

ParametersJSON Schema
NameRequiredDescriptionDefault
pdf_pathYes
pagesNo

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the tool extracts contents but doesn't disclose behavioral traits such as what format the extracted contents are in (e.g., text, images), error handling, permissions needed for local file access, or performance considerations. The mention of negative page indices adds some context but is insufficient for a mutation-like operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief and to the point with two sentences, front-loading the main action. It avoids unnecessary words, though it could be slightly more structured (e.g., separating parameter explanations).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, 0% schema coverage, and no output schema, the description is incomplete. It lacks details on return values, error cases, file format support, and operational constraints, making it inadequate for a tool that interacts with local files and performs extraction.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains that 'pages' accepts 'page numbers separated in comma' and supports 'negative page index number', which adds meaning for one parameter. However, it doesn't clarify 'pdf_path' (e.g., file path format, supported locations) or other details, leaving gaps for the 2 parameters overall.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'extract' and the resource 'contents from a local PDF file', making the purpose understandable. It specifies the scope of extraction (by page numbers) but doesn't distinguish from siblings since none exist, so it cannot achieve a perfect score of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or exclusions. It mentions 'negative page index number supported' which hints at a feature but doesn't clarify usage context or limitations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • Addedextract-pdf-contents

TDQS

C2.9/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap with other tools. The tool's purpose is clearly defined as extracting contents from PDF files, making it impossible for an agent to confuse it with another tool.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'extract-pdf-contents' follows a clear verb-noun pattern, and there are no other tools to deviate from or conflict with this pattern.

Tool Count2/5

A single tool for a PDF extraction server is too minimal for the apparent scope. While the tool handles content extraction, typical PDF operations like metadata retrieval, text analysis, or format conversion are missing, making the server feel incomplete and underpowered for its domain.

Completeness2/5

The server is severely incomplete for PDF extraction. It only provides content extraction with page selection, lacking essential operations such as getting metadata, extracting images, converting to other formats, or searching within PDFs. This will likely cause agent failures when broader PDF tasks are required.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides comprehensive PDF processing capabilities including text extraction, image extraction, table detection, annotation extraction, metadata retrieval, page rendering, and document structure analysis.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides tools for reading, writing, and manipulating PDF files, including text extraction, metadata retrieval, and merging or splitting documents. It also enables users to create PDFs from plain text and convert specific pages or entire documents into images.
    89 npm
    ISC
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server for extracting text from PDF files, supporting local files and URLs.
    -