Skip to content
LangChain

O'Reilly Media MCP Server for LangChain

io.github.oreillymedia/oreilly-mcp-server

Search O'Reilly for tech books, courses, events, and more. Requires an O'Reilly subscription.

client:LangChain transport:streamable-http

Install O'Reilly Media MCP Server in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "oreilly-mcp-server": {
            "transport": "streamable_http",
            "url": "https://api.oreilly.com/api/search/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 Media MCP Server in other clients