mineru-docparse-mcp
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., "@mineru-docparse-mcpConvert this PDF to Markdown"
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.
mineru-docparse-mcp
把 Word / PDF / PPT / Excel 转成 Markdown 的 MCP Server,基于 MinerU DocParse API。
本项目只是协议封装层,本身不解析文档。使用前需要有一个可访问的 MinerU DocParse 服务,默认地址
http://localhost:8000。部署方式见 MinerU 官方仓库。
安装
pip install mineru-docparse-mcpRelated MCP server: MCP Document Parse Tool
配置到 Claude Code
{
"mcpServers": {
"mineru": {
"command": "mineru-docparse-mcp",
"env": {
"MINERU_API_URL": "http://localhost:8000"
}
}
}
}配好之后就能用了,Claude 会自动调用下面这些工具。
工具
工具 | 用途 |
| 解析文档,等待完成并直接返回结果(默认用这个) |
| 提交大文件到后台解析,立即返回 |
| 查询后台任务进度 |
| 后台任务完成后取结果 |
| 检查 MinerU 服务是否正常 |
普通文件直接说"帮我解析这个 PDF"就行,Claude 会用 mineru_parse_document。文件很大(上百页)时会自动改用后台任务的三个工具轮询。
常用环境变量
变量 | 默认值 | 作用 |
|
| MinerU 服务地址 |
| 无 | 解析结果默认保存目录,设置后不用每次都指定路径 |
|
| 请求超时秒数,大文件超时可调大 |
设置 MINERU_OUTPUT_DIR 后,配置就变成这样,之后所有结果都存这里,除非你临时指定别的路径:
{
"mcpServers": {
"mineru": {
"command": "mineru-docparse-mcp",
"env": {
"MINERU_API_URL": "http://localhost:8000",
"MINERU_OUTPUT_DIR": "/Users/yourname/Documents/mineru-output"
}
}
}
}远程部署(可选)
如果想把 MCP 服务架在一台机器上,让多个客户端远程连接,用 HTTP 模式启动:
MCP_TRANSPORT=streamable-http MCP_PORT=8001 mineru-docparse-mcp客户端这边改成连 URL:
{
"mcpServers": {
"mineru": {
"type": "streamableHttp",
"url": "http://<服务器地址>:8001/mcp"
}
}
}不写 MCP_TRANSPORT 时默认是本地 stdio 模式(上面"配置到 Claude Code"那种),日常个人使用用默认模式就够了,不需要额外配置。
常见问题
提示"无法连接 MinerU 服务" — 确认 MINERU_API_URL 能访问:curl $MINERU_API_URL/health。stdio 模式下环境变量要写在 MCP 配置的 env 里,写在自己终端的 export 里不生效。
提示"未指定 output_dir" — 要么对话里说清楚存哪,要么按上面配置 MINERU_OUTPUT_DIR。
大文件一直超时 — 换 mineru_submit_task 走后台任务,或调大 MINERU_API_TIMEOUT。
License
MIT
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/zhengjie9510/mineru-docparse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server