extract_text

Pack: ocrspace · Endpoint: https://gateway.pipeworx.io/ocrspace/mcp

Extract text from an image or PDF via OCR — pass an image/PDF URL, get the recognized text. Useful for reading screenshots, scanned documents, receipts, signs. Engine 2 is best for most cases.

Parameters

NameTypeRequiredDescription
image_urlstringyesURL of an image or PDF to run OCR on.
languagestringnoLanguage code for OCR (default ‘eng’). Examples: ‘eng’, ‘fre’, ‘ger’, ‘spa’.
enginenumbernoOCR engine to use: 1, 2, or 3 (default 2). Engine 2 is best for most cases.
is_tablebooleannoSet true to improve layout detection for tables/receipts (default false).
_apiKeystringnoOptional — your own OCR.space API key for higher limits; omit to use the shared Pipeworx key.

Example call

curl -X POST https://gateway.pipeworx.io/ocrspace/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"extract_text","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "ocrspace": {
      "url": "https://gateway.pipeworx.io/ocrspace/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 4, 2026