Parses PDFs, images, DOCX and PPTX through the MinerU document parsing API, with multilingual OCR, batch jobs, page ranges and local file upload.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add mineru-linxule --env MINERU_API_KEY='<MINERU_API_KEY>' -- npx -y mineru-mcp~/.codex/config.toml
[mcp_servers.mineru-linxule]
command = "npx"
args = ["-y", "mineru-mcp"]
env = { MINERU_API_KEY = "<MINERU_API_KEY>" }
# codex mcp add mineru-linxule --env MINERU_API_KEY='<MINERU_API_KEY>' -- npx -y mineru-mcp~/.cursor/mcp.json
{
"mcpServers": {
"mineru-linxule": {
"command": "npx",
"args": [
"-y",
"mineru-mcp"
],
"env": {
"MINERU_API_KEY": "<MINERU_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"mineru-linxule": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mineru-mcp"
],
"env": {
"MINERU_API_KEY": "<MINERU_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mineru-linxule": {
"command": "npx",
"args": [
"-y",
"mineru-mcp"
],
"env": {
"MINERU_API_KEY": "<MINERU_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mineru-linxule": {
"command": "npx",
"args": [
"-y",
"mineru-mcp"
],
"env": {
"MINERU_API_KEY": "<MINERU_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"mineru-linxule": {
"command": "npx",
"args": [
"-y",
"mineru-mcp"
],
"env": {
"MINERU_API_KEY": "<MINERU_API_KEY>"
}
}
}
}Environment variables
MINERU_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.