document-intelligence-mcp

document-intelligence-mcp

Local document intelligence for AI agents — extract text, detect tables, read metadata, analyze structure, search keywords, and detect language from PDF and DOCX files. No cloud API required, no API key needed.

Category
Visit Server

README

document-intelligence-mcp

PyPI version License: MIT Python 3.10+

Local document intelligence for AI agents — extract text, detect tables, read metadata, analyze structure, search keywords, and detect language from PDF and DOCX files. No cloud API required, no API key needed.

Features

  • 10 MCP Tools for PDF and DOCX processing
  • Local processing — no data leaves your machine
  • No API key required
  • Supports PDF (via PyMuPDF + pdfplumber) and Microsoft Word DOCX (via python-docx)
  • Language detection via langdetect (55+ languages)

Tools

Tool Description
tool_extract_text_from_pdf Extract all text from a PDF, page by page
tool_extract_tables_from_pdf Detect and extract tables from PDF
tool_get_pdf_metadata Read PDF metadata: title, author, dates, outline
tool_analyze_document_structure Detect headings, font sizes, section structure
tool_search_in_pdf Search for keywords with context in PDF
tool_extract_text_from_docx Extract all text from a Word DOCX file
tool_extract_tables_from_docx Extract all tables from a DOCX file
tool_analyze_docx_structure Analyze headings, styles, and structure of DOCX
tool_count_words_and_stats Word count, sentence count, reading time, top words
tool_detect_document_language Detect language of PDF or DOCX (55+ languages)

Installation

pip install document-intelligence-mcp

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "document-intelligence": {
      "command": "document-intelligence-mcp"
    }
  }
}

Usage Examples

Extract text from a PDF:

Extract the text from /path/to/report.pdf

Find tables in a PDF:

Find all tables in /path/to/financial_report.pdf

Search for a keyword:

Search for "revenue" in /path/to/annual_report.pdf

Get document stats:

Count the words and estimate reading time for /path/to/document.docx

Detect language:

What language is /path/to/document.pdf written in?

Requirements

  • Python 3.10+
  • PyMuPDF >= 1.24.0
  • pdfplumber >= 0.11.0
  • python-docx >= 1.1.0
  • langdetect >= 1.0.9

License

MIT License — free to use, modify, and distribute.


Built by AiAgentKarl | Part of the AI Agent Economy toolkit

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured