Doc2X MCP: Claude Code
Back: Doc2X MCP Guide
What You Need
- Node.js (LTS recommended) and
npx DOC2X_API_KEY- (Optional) proxy env (
HTTPS_PROXY/HTTP_PROXY)
Add MCP Configuration
Run in your terminal:
shell
claude mcp add --transport stdio doc2x -e DOC2X_API_KEY=sk-xxx -- npx -y @noedgeai-org/doc2x-mcp@0.1.0Check MCP
Open the MCP list and confirm the doc2x server is loaded and available (you can expand it to see the tool list).

Use doc2x-mcp
Start with a small PDF to validate the end-to-end flow:
- Ensure the file is in the current directory (or provide an accessible path)
- In chat, explicitly ask the model to call the
doc2xMCP server to parse/export
Example prompts:
Use doc2x-mcp to parse ./paper.pdf and export the result.Use doc2x-mcp to parse ./paper.pdf, and paste the exported file path when done.


Troubleshooting
- If the server fails to start, try running
npx -y @noedgeai-org/doc2x-mcp@0.1.0directly in your terminal to isolate network/registry issues. - If the API key doesn’t take effect, double-check
DOC2X_API_KEYinjection and client logs.