Skip to content
LangChain

PDF to Markdown / PDF to Text — PDF Text Extractor + OCR for LangChain

io.github.kriton-dev/pdf-to-markdown

PDF to Markdown and PDF to text from PDF URLs, page by page, with OCR for scanned pages

client:LangChain transport:streamable-http

Install PDF to Markdown / PDF to Text — PDF Text Extractor + OCR in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

PDF to Markdown / PDF to Text — PDF Text Extractor + OCR in other clients