Skip to content
LangChain

Image to Text — OCR Lines, Word Boxes & Confidence Scores for LangChain

io.github.kriton-dev/image-to-text

Extract text from images with OCR: plain text plus every line or word with its box

client:LangChain transport:streamable-http

Install Image to Text — OCR Lines, Word Boxes & Confidence Scores in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "image-to-text": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=hermeskd/image-to-text",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Image to Text — OCR Lines, Word Boxes & Confidence Scores in other clients