Skip to content
LangChain

Thoth for LangChain

io.github.ahmedeid1/thoth

Read-only MCP over an agentic SLR workspace with per-claim citation verification

client:LangChain transport:streamable-http

Install Thoth in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "thoth": {
            "transport": "streamable_http",
            "url": "https://thoth-slr.vercel.app/api/mcp/mcp",
        }
})

tools = await client.get_tools()

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

Thoth in other clients