OCR Text Extraction API

io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Oct 24, 2026

Extract text from images using OCR. Tesseract-powered. x402 micropayment.

VerifiedSSEWeb executableFinanceMedia & Design

Overview

AI-generated overview

A remote OCR service that lets an assistant extract text from images, with each call paid in USDC via the x402 micropayment protocol.

What you can do
Extract text from an image supplied as a URL or base64 data, with an optional language hint (default English). Return the extracted text along with word count, confidence score and detected language. The service is Tesseract-powered and is intended only for image text, not web pages, PDFs or screenshots.
When to use it
Useful when an assistant needs to read text out of a photo, scan or screenshot and you are willing to pay a small per-call fee in USDC rather than manage an API key or account.
Requirements
A remote MCP endpoint (SSE) that the client connects to; no local package. An x402-aware client or wallet able to sign USDC payments on the Base L2 network, since each call costs about $0.012. Network access to the provider's endpoint.
Before you install
Every call spends real money in USDC from a connected wallet, so set spending limits and expect a 402 payment challenge before results. Images sent as URLs or base64 are transmitted to a third-party service. No API key or signup is involved, so payment authorization rests entirely on the wallet.

Installation

In SourceWeft

  1. Open OCR Text Extraction API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Br0ski777%2Focr-extract/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "ocr-text-extraction-api": {
      "type": "sse",
      "url": "https://ocr-extract.api.klymax402.com/mcp"
    }
  }
}

README

OCR Text Extraction API

[MCP Server] [x402] [License: MIT]

Extract text from images using OCR. Supports URLs and base64 images. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

json
{  "mcpServers": {    "ocr-extract": {      "url": "https://ocr-extract.api.klymax402.com/mcp"    }  }}

Quickstart -- HTTP (x402)

bash
curl -X POST "https://ocr-extract.api.klymax402.com/api/ocr" \  -H "Content-Type: application/json" \  -d '{}'# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
media_extract_text_from_imagePOST/api/ocr$0.012Extract text from an image via OCR

media_extract_text_from_image

Use this when you need to extract text from an image. Accepts an image URL or base64-encoded image data. Returns the extracted text, word count, confidence score, and detected language. Do NOT use for web page text extraction — use web_scrape_to_markdown instead. Do NOT use for PDF text extraction — use document_generate_pdf instead. Do NOT use for taking screenshots — use capture_screenshot instead.

Parameters

NameTypeRequiredDescription
image_urlstringnoURL of the image to extract text from
image_base64stringnoBase64-encoded image data (alternative to image_url)
languagestringnoLanguage hint for OCR: eng, fra, deu, spa, etc. (default: eng)

Example agent prompts

  • "Extract text from an image"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Source: README.md at commit 258d4da

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts