ocr-software.com OCR

v0.3.1
io.github.ocr-software/ocr-software-mcp Checked 23 hours ago Published 19 days ago

Read PDFs and images with ocr-software.com: page count, job, text, Markdown, JSON, hOCR.

Values you need

VariableWhat it is
OCR_KEYrequired secret API key, starts with ocr_. Never shown to the model.
OCR_BASE_URLoptional Address of the service; for your own server e.g. http://127.0.0.1:8080. Default: https://api.ocr-software.com
OCR_OUT_DIRoptional Folder where results are written. Default: ocr-results next to the document, else ~/Documents/ocr-results.
OCR_ALLOWED_DIRoptional Optional: read documents only from below this folder.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add ocr-software-mcp -e 'OCR_KEY=<OCR_KEY>' -- uvx ocr-software-mcp==0.3.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ocr-software-mcp": {
      "args": [
        "ocr-software-mcp==0.3.1"
      ],
      "command": "uvx",
      "env": {
        "OCR_KEY": "<OCR_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ocr-software-mcp": {
      "args": [
        "ocr-software-mcp==0.3.1"
      ],
      "command": "uvx",
      "env": {
        "OCR_KEY": "<OCR_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "OCR_KEY",
      "id": "ocr-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "ocr-software-mcp": {
      "args": [
        "ocr-software-mcp==0.3.1"
      ],
      "command": "uvx",
      "env": {
        "OCR_KEY": "${input:ocr-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ocr-software-mcp]
command = "uvx"
args = ["ocr-software-mcp==0.3.1"]
env = { "OCR_KEY" = "<OCR_KEY>" }

For AI agents

  1. Ask the user for: OCR_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_pipelines, quote, submit_job, job_status, get_result, cancel_job, uncertain_words.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json