# Image & Scanned PDF to Text (OCR) MCP server

> Extracts text from images, screenshots, and scanned PDFs in 41 languages with line positions and confidence scores.

- Repository: https://github.com/prometheus-maker/apify-tools-examples
- Page: https://hostedmcp.org/servers/prometheus-maker/image-ocr
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http image-ocr https://mcp.apify.com/?tools=prometheus-maker/image-to-text-ocr
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "image-ocr": {
      "url": "https://mcp.apify.com/?tools=prometheus-maker/image-to-text-ocr"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "image-ocr": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=prometheus-maker/image-to-text-ocr"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.image-ocr]
url = "https://mcp.apify.com/?tools=prometheus-maker/image-to-text-ocr"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "image-ocr": {
      "httpUrl": "https://mcp.apify.com/?tools=prometheus-maker/image-to-text-ocr"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `APIFY_TOKEN` | no | no |  |

## FAQ

### How much does the OCR tool cost?

The tool costs $0.004 per image or page processed.

### What languages are supported for OCR?

The service supports text extraction in 41 different languages.

### Can I get the position of the text lines?

Yes, the OCR tool provides line positions and confidence levels for the extracted text.
