Skip to content
LangChain

any2llm for LangChain

io.github.ahmetemreapo/any2llm

Read local PDF, Office, and EPUB files with page numbers, and check cited quotes against them.

client:LangChain transport:stdio runtime:pypi

Install any2llm in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "any2llm": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["any2llm"],
        }
})

tools = await client.get_tools()

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

any2llm in other clients