Docling MCP Server
Converts folders of financial and investment documents into structured markdown, JSON, and CSV files with a metadata index, enabling AI assistants to efficiently navigate and analyze large research libraries.
README
Docling MCP Server
AI Optimised Document Conversion for Financial Research Libraries
This MCP server converts complete folders of investment and financial documents into structured formats that Claude and other AI assistants can efficiently navigate.
It transforms:
- Annual reports
- 10-K / 20-F filings
- Investor presentations
- Earnings call transcripts
- Financial statements
- Excel financial models
- Research documents
into:
- Markdown files for AI reasoning
- JSON files for structured extraction
- CSV files for financial tables
- Metadata indexes for fast AI navigation
Why this exists
The standard Docling MCP workflow works well for individual documents.
However, when Claude is connected directly to a general Docling MCP server and asked to process:
- Large annual reports
- Multiple financial documents
- Entire research folders
- Complex investor presentations
- Large Excel workbooks
several issues appear:
- Large files consume excessive context and tokens.
- Multiple files can overload the MCP connection.
- Claude repeatedly processes the same source documents.
- Financial tables are difficult for AI models to locate efficiently.
- Older Excel formats require special handling.
- The AI must search through entire documents before finding relevant information.
This MCP server was created to solve those problems.
Instead of Claude repeatedly opening raw files, this server creates an AI readable research database.
The workflow becomes:
Raw documents
|
v
Docling MCP conversion
|
v
Structured research database
|
v
Claude navigates metadata
|
v
Claude reads only relevant files
Key Features
1. Convert an entire folder automatically
Instead of processing one document at a time, point Claude to a project folder.
Example:
Tesla_Project/
├── Annual Report.pdf
├── Investor Presentation.pptx
├── Financial Statements.xlsx
├── Earnings Call Transcript.pdf
└── Research Notes.docx
The server automatically processes the folder.
2. Automatic output selection
The server chooses the best output format depending on the document type.
Example:
| Input File | Output |
|---|---|
| Annual Report PDF | Markdown + extracted tables |
| Investor Presentation PPTX | Markdown |
| Financial Statements XLSX | JSON + CSV tables |
| Legacy Excel XLS/XLSB/XLSM | Converted automatically |
| Text documents | Markdown |
3. Metadata driven AI navigation
Every project creates:
metadata.json
This acts as a map for Claude.
Instead of:
Claude
|
opens every PDF
|
searches thousands of pages
The workflow becomes:
Claude
|
reads metadata.json
|
identifies relevant document
|
opens required Markdown/JSON/table
|
performs analysis
This reduces:
- Context usage
- Token consumption
- Processing time
4. Financial report optimisation
Financial reports contain important structures:
- Income statements
- Balance sheets
- Cash flow statements
- Segment reporting
- Revenue breakdowns
- Debt schedules
- Financial tables
This server preserves these structures in formats designed for AI analysis.
Project Structure
Every research project is stored separately.
MCP/
├── converter.py
├── server.py
├── requirements.txt
│
└── projects/
└── Tesla_Project/
├── source/
│ ├── Annual Report.pdf
│ ├── Investor Presentation.pptx
│ └── Financial Statements.xlsx
└── processed/
├── markdown/
│ ├── Annual Report.md
│ └── Investor Presentation.md
├── json/
│ └── Financial Statements.json
├── tables/
│ └── Financial Statements__table_01.csv
└── metadata.json
The source folder is never modified.
Files remain in their original location.
The server only creates processed outputs.
Incremental Processing
The server tracks converted documents using:
metadata.json
When conversion runs again:
- New files are converted.
- Modified files are reconverted.
- Existing unchanged files are reused.
Large research libraries do not need full reconversion.
Installation
Requirements
Recommended:
- Windows
- Python 3.10+
- Excel installed (required for legacy Excel conversion)
Create virtual environment
Navigate to the MCP folder:
cd C:\Documents\PersonalProjects\Claude\Docling\MCP
Create environment:
python -m venv venv
Activate:
venv\Scripts\activate
Install packages:
pip install -r requirements.txt
Claude Desktop Configuration
Open:
Claude Desktop
→ Settings
→ Developer
→ Edit Config
Add:
{
"mcpServers": {
"docling": {
"command": "C:\\Documents\\PersonalProjects\\Claude\\Docling\\MCP\\venv\\Scripts\\python.exe",
"args": [
"C:\\Documents\\PersonalProjects\\Claude\\Docling\\MCP\\server.py"
]
}
}
}
Important:
Use the full path to:
venv\Scripts\python.exe
Do not use:
python
Claude Desktop runs with a limited system PATH.
Restart Claude Desktop completely.
Check:
Settings
→ Developer
The Docling server should appear as connected.
Recommended Folder Naming
Use clear project names.
Recommended:
Tesla_2025
Microsoft_Annual_Report_2024
Nvidia_Investment_Research
Avoid:
New Folder
Tesla stuff
Documents
Final version
The project name becomes the identifier Claude uses when navigating your research library.
Using the MCP Server
The server provides four MCP tools.
list_projects
Shows:
- Available projects
- Conversion status
- Existing metadata
Example:
List available projects
convert_project
Converts:
projects/<ProjectName>/source/
into:
projects/<ProjectName>/processed/
Example:
Convert Tesla_Project
Optional:
wait_seconds
controls how long Claude waits before returning.
Recommended:
wait_seconds=220
check_conversion_status
Checks:
- Current progress
- Completion status
- Errors
read_project_metadata
Reads:
metadata.json
without modifying files.
This allows Claude to understand the project structure before opening documents.
Avoiding Excess Token Usage
Large conversions can take several minutes.
Avoid repeatedly asking Claude:
Is it finished?
Is it finished?
Is it finished?
Each MCP call consumes tokens.
Instead:
Convert Tesla_Project and wait up to 220 seconds.
If the conversion is still running:
Check status and wait another 220 seconds.
This reduces unnecessary MCP calls.
Example Workflow
Example prompt:
Convert the Tesla_Project folder.
After conversion:
1. Read the annual report.
2. Summarise the business model.
3. Extract financial trends.
4. Analyse valuation risks.
Claude will:
- Start conversion.
- Wait for completion.
- Read metadata.
- Locate relevant documents.
- Analyse processed files.
Known Limitations
Legacy Excel files
Support for:
.xls
.xlsb
.xlsm
requires:
- Windows
- Microsoft Excel installed
Excel must not already be locked by another process.
If conversion appears frozen:
Open Task Manager.
Check:
EXCEL.EXE
Terminate hidden Excel processes if required.
Large files
Very large documents may be split into chunks.
Chunked documents produce:
- Markdown output
but may not produce:
- Combined JSON
- Combined table exports
This is expected because the original document object no longer exists as a single structure after chunking.
Project names
Project names must be simple folder names.
Allowed:
Tesla_2025
Not allowed:
C:\Research\Tesla
../Tesla
This prevents accidental access outside the project directory.
Conversion status
Active conversion progress exists only while the MCP server is running.
Restarting Claude Desktop during conversion will stop the active job.
Completed conversions remain safe because outputs are stored in:
metadata.json
License
MIT License
Free to use, modify, and distribute.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。