Skip to content
Gemini CLI

doc2json for Gemini CLI

io.github.pufferfishllc3548-cmd/doc2json

Convert a PDF or DOCX text layer into JSON, Markdown, and tables. $0.02 USDC/call via x402 on Base.

client:Gemini CLI transport:streamable-http tools:2

Install doc2json in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "doc2json": {
      "httpUrl": "https://mcp.paidtoolindex.com/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

What Gemini CLI can do once it is connected

doc2json in other clients