TokenToSeaMCP Hub
中文 Console

MinerU MCP

OpenDataLabOfficialChina

Lets agents use MinerU to parse PDFs, Word, PPT and images into LLM-ready Markdown or JSON.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add mineru --env LOCAL_MINERU_API_BASE='<LOCAL_MINERU_API_BASE>' --env MINERU_API_BASE='<MINERU_API_BASE>' --env MINERU_API_KEY='<MINERU_API_KEY>' --env OUTPUT_DIR='<OUTPUT_DIR>' --env USE_LOCAL_API='<USE_LOCAL_API>' -- uvx mineru-mcp

Environment variables

  • LOCAL_MINERU_API_BASE
  • MINERU_API_BASE
  • MINERU_API_KEY
  • OUTPUT_DIR
  • USE_LOCAL_API

Replace the placeholders with your own credentials and keep them out of version control.