Skip to content
Gemini CLI

Smart OCR for Gemini CLI

io.github.saneth98/smartocr

Multi-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, and receipts.

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

Install Smart OCR in Gemini CLI

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

{
  "mcpServers": {
    "smartocr": {
      "httpUrl": "https://api.smartocr.dev/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

Smart OCR in other clients