Skip to content
LangChain

O'Reilly Expert MCP Server for LangChain

io.github.oreillymedia/oreilly-expert

Grounded, citable answers to tech questions from O'Reilly's library. Requires Expert MCP access.

client:LangChain transport:streamable-http

Install O'Reilly Expert MCP Server in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "oreilly-expert": {
            "transport": "streamable_http",
            "url": "https://api.oreilly.com/api/expert/v1/mcp",
        }
})

tools = await client.get_tools()

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

O'Reilly Expert MCP Server in other clients