About Doc MCP Server
Doc MCP Server is an MCP server published by jiahuidegit in the Developer Tools category: 让AI读懂任何复杂文档 - 解决AI上下文限制问题的通用MCP服务器 | Universal MCP server for AI to understand complex documents.
The repository has 1 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/jiahuidegit/doc-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (8)
analyze_documentAnalyze document structure and generate metadata
Parameters not published.
export_structureExport document structure
Parameters not published.
get_structureGet cached document structure
Parameters not published.
list_fieldsList all fields
Parameters not published.
list_sectionsList all sections
Parameters not published.
read_fieldRead specific field value
Parameters not published.
read_sectionRead entire section data
Parameters not published.
write_fieldWrite field value (Excel only)
Parameters not published.
Ask AI
Ask AI about Doc MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
📄 Document Analyzer MCP Server
Make AI understand complex documents - MCP server solving AI context limitations
🎯 Key Features
- ✅ Smart Document Analysis - Auto-detect sections, handle merged cells
- ✅ Multi-format Support - Excel (.xlsx, .xls) | PDF/Word in development
- ✅ Precise Field Mapping - Field mapping table + section-level reading
- ✅ High Performance - Structured caching + lazy loading
🚀 Quick Start
Installation
macOS / Linux (Recommended with pipx)
# Install pipx
brew install pipx # macOS
# or sudo apt install pipx # Ubuntu/Debian
# Install doc-mcp-server
pipx install doc-mcp-server
Windows
pip install doc-mcp-server
For more installation options, see Full Installation Guide
Configure Claude Code
Add to ~/.claude.json or your project's config file:
{
"mcpServers": {
"document-analyzer": {
"command": "doc-mcp-server"
}
}
}
For detailed configuration, see Quick Start Guide
📚 Full Documentation
- Installation Guide - Platform-specific installation steps
- Update Guide - How to upgrade to the latest version
- Quick Start - Configuration and basic usage
- Usage Guide - Complete API and examples
- Troubleshooting - Common issues and solutions
💡 Usage Example
# 1. Analyze document structure
analyze_document(file_path="/path/to/document.xlsx")
# 2. Read specific section
read_section(file_path="/path/to/document.xlsx", section_name="Section 1")
# 3. Read single field
read_field(file_path="/path/to/document.xlsx", field_key="Section1_CompanyName")
🛠️ Available Tools
| Tool | Description |
|---|---|
analyze_document |
Analyze document structure and generate metadata |
get_structure |
Get cached document structure |
read_field |
Read specific field value |
read_section |
Read entire section data |
write_field |
Write field value (Excel only) |
list_sections |
List all sections |
list_fields |
List all fields |
export_structure |
Export document structure |
🎯 Why Use This?
Problem: Large Excel files consume massive tokens when directly read by AI
- ❌ Traditional: Read entire 323-row Excel → 15000+ tokens → Often fails
- ✅ Using MCP: Structured reading → 2000 tokens → 90%+ success rate
Performance Improvements:
- 🚀 Token consumption reduced by 87% (15000 → 2000)
- ✅ Success rate improved from 30% to 90%+
- ⚡ Handles 323 rows × 24 columns with 4249 merged cells
🤝 Contributing & Feedback
- Report Issues: GitHub Issues
- Contribute Code: CONTRIBUTING.md
📄 License
MIT License - see LICENSE for details
Made with ❤️ by Yang Jiahui
README fetched from the repository 6 days ago. The original is authoritative.