doc-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@doc-mcp-serveranalyze the document at /path/to/sales_report.xlsx"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
đ 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-serverWindows
pip install doc-mcp-serverFor 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 structure and generate metadata |
| Get cached document structure |
| Read specific field value |
| Read entire section data |
| Write field value (Excel only) |
| List all sections |
| List all fields |
| 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jiahuidegit/doc-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server