Skip to content
LangChain

PDF to Text for LLMs for LangChain

io.github.tidyware-app/pdf-to-text-mcp

Extract text of public PDFs by URL, page by page, as JSON for LLM and RAG. $1.50 per 1,000 PDFs.

client:LangChain transport:streamable-http

Install PDF to Text for LLMs in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

PDF to Text for LLMs in other clients