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.
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
Metadata
Release files for document-intelligence-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| document_intelligence_mcp-0.1.0.tar.gz | 7.4 kB | Without provenance | Details for document_intelligence_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| document_intelligence_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for document_intelligence_mcp-0.1.0-py3-none-any.whl |
Total release size: 17.3 kB
Release files / document_intelligence_mcp-0.1.0.tar.gz
| Download URL | document_intelligence_mcp-0.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f0dd4394bfcb467d9d25e9fd08db106bd65b90f952dd80e521b926ec3e61354
|
|
BLAKE2b-256 checksum How to use checksums |
01cbd7c843f0cd85b51a2c8e286c2efb3972b2ac7054d2456f16bdf84611a730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / document_intelligence_mcp-0.1.0-py3-none-any.whl
| Download URL | document_intelligence_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
503ccb77761b3a449d58c726dd334cb8103b54644162f7e7e835194204684442
|
|
BLAKE2b-256 checksum How to use checksums |
d24b65ec158e1ab6102e15b0f134c68be896a9b646c4c50e72bafbffa5ca1b39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for document-intelligence-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.