doc-analysis-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | No | Only needed when running via `python -m doc_analysis_mcp` without installing the console script; set to the absolute path to the doc-analysis-mcp src directory (e.g. /absolute/path/to/doc-analysis-mcp/src). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use doc_prepare before analyzing a document, then doc_extract for exact evidence. Read doc_guide when the host does not expose resources or prompts.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| doc_prepareB | Build a structural map and return the required evidence-first workflow. Use this first for any document analysis task. |
| doc_mapB | Map headings, paragraph ranges, character counts, tables, images, and structural warnings. Supports .docx, .pptx, .xlsx, .md, .markdown, and .txt. |
| doc_extractA | Extract exact source text by paragraph/page range or keyword, or dump tables. Supports .docx, .pptx, .md, .markdown, and .txt. Paragraph numbers match doc_map. |
| doc_guideA | Return the bundled Skill guide or a specific reference for agents that do not support MCP resources or prompts. |
| doc_healthA | Report Python, parser dependencies, bundled scripts, and supported formats. Run this when a document tool fails. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| doc_analysis | Start the evidence-first document analysis workflow. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| doc-analysis skill | Complete document-analysis workflow and anti-patterns. |
| Analysis lenses | What to inspect for papers, policy documents, technical reports, contracts, and presentations. |
| Evidence extraction | How to quote, locate, and grade evidence. |
| Output templates | Templates for memos, reviews, reading reports, comparisons, and evidence tables. |
TDQS
Scored across 5 tools
Most tools have distinct roles, but doc_prepare and doc_map overlap because both appear to build structural maps, and doc_guide and doc_prepare both provide workflow guidance. The descriptions clarify intended order and usage, but an agent could still hesitate between prepare and map for initial structural discovery.
All names use the same doc_ prefix and snake_case convention, with concise action-oriented suffixes. doc_health is slightly less verb-like than the others, but the pattern remains predictable overall.
Five tools is well-scoped for a document-analysis server, with each covering a clear phase: preparation, guidance, mapping, extraction, and diagnostics. There is no obvious bloat or missing role.
The surface covers the core analysis workflow from preparation through structural mapping and exact extraction, plus diagnostics. However, doc_map claims xlsx support while doc_extract does not, leaving a possible extraction gap for spreadsheet content.