Skip to content
LangChain

libdocs remote for LangChain

io.github.cloudcorprecords/libdocs-remote

Forward Context7 library documentation lookups to the hosted remote MCP endpoint.

client:LangChain transport:stdio runtime:npm

Install libdocs remote in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "libdocs-remote": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/libdocs-remote"],
        }
})

tools = await client.get_tools()

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

libdocs remote in other clients