# document-parser [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/agenson-tools/document-parser-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 272  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/document-parser

## Description
Parse and extract structured data from various document formats (PDF, Word, HTML).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "document-parser": {
    "command": "npx",
    "args": ["@agenson-horrowitz/document-parser-mcp"]
  }
}
```

## Documentation

## What document-parser MCP server does

The document-parser MCP server exposes document-processing functions through MCP for agent workflows. It accepts file paths or HTML content and produces structured responses containing extracted content and, depending on the operation, metadata, confidence information, word counts, and processing timing.

Supported inputs described in the project documentation include PDF files, images, HTML, and plain text. The available functions cover both extraction and transformation tasks: reading PDF text and metadata, recognizing text in images, converting HTML to Markdown, finding tables, and generating summaries with keywords or topic information.

## How it works

Agents call one of five MCP tools with a path, document content, and optional settings. `parse_pdf` can preserve layout, include PDF metadata, extract tables, and restrict processing to a page range. `parse_image_text` performs OCR with language selection, preprocessing, confidence filtering, and optional word-level coordinates.

`html_to_markdown` receives HTML directly and can retain links, headings, lists, and tables while removing scripts and normalizing whitespace. `extract_tables` works across PDF, HTML, and text inputs, with options for header detection, cell cleanup, minimum column counts, validation, and nearby context. `summarize_document` accepts supported document types and offers brief, detailed, or comprehensive output, a word limit, keyword extraction, and focus areas.

The document-parser MCP server returns success or error objects in a consistent JSON-style shape. Successful results can include the source path, extracted or generated content, and metadata; failures identify the affected tool and include an error message.

## Setup and configuration

Install the package globally with npm or run it through `npx`. A standard stdio configuration uses the package name as the command argument:

```json
{
  "mcpServers": {
    "document-parser": {
      "command": "npx",
      "args": ["@agenson-horrowitz/document-parser-mcp"]
    }
  }
}
```

The README provides this configuration for Claude Desktop and Cline. It also documents an alternative installed command, `document-parser-mcp`, for Claude Desktop. For local development, the documented sequence is to clone the repository, install dependencies, build the project, and run its test suite.

## Tools and capabilities

- `parse_pdf`: extracts text, tables, metadata, page counts, reading-time estimates, and word counts. Layout preservation and page ranges are configurable.
- `parse_image_text`: runs OCR on major image formats, supports more than 100 languages, reports confidence, and can return words with bounding boxes.
- `html_to_markdown`: converts HTML into Markdown while retaining selected structure such as links, tables, headings, and lists.
- `extract_tables`: identifies and normalizes table data from PDF, HTML, and text documents.
- `summarize_document`: creates summaries with adjustable detail, word limits, keywords, topics, and focus areas.

## Limitations and notes

The documented file-size limit is 100 MB per document. The stated rate limit is five operations per second and can be configured. Typical processing is reported as taking less than three seconds, but actual duration depends on the document and operation.

The project lists free and paid usage tiers, with operation quotas and overage pricing. The 99.5% uptime SLA is specified for the Scale tier rather than presented as a general server guarantee. The package is released under the MIT License.

_Full upstream README: https://allmcps.com/mcp/document-parser/readme_

