Skip to content
LangChain

groundtruth for LangChain

io.github.rm-rf-prod/groundtruth

Live docs MCP server. 598+ libraries, evidence-verified answers, code audit, snippets, dispatch.

client:LangChain transport:stdio runtime:npm

Install groundtruth in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "groundtruth": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@groundtruth-mcp/gt-mcp"],
        }
})

tools = await client.get_tools()

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

groundtruth in other clients