Skip to content
LangChain

PDF to Text MCP: OCR, DOCX & RAG Chunks for LangChain

io.github.geminigeorge22/pdf-docx-to-markdown-mcp

Turn PDF and Word files into clean Markdown, with OCR for scans and RAG-ready chunks.

client:LangChain transport:streamable-http

Install PDF to Text MCP: OCR, DOCX & RAG Chunks in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pdf-docx-to-markdown-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-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 Text MCP: OCR, DOCX & RAG Chunks in other clients