Skip to content
LangChain

AFD Knowledge for LangChain

com.afdinstitute/afd-knowledge

Adaptive Flow Delivery: phases, gates, lexicon (free, sign in with your AFD Institute account).

client:LangChain transport:streamable-http

Install AFD Knowledge in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "afd-knowledge": {
            "transport": "streamable_http",
            "url": "https://mcp.afdinstitute.com/api/mcp",
        }
})

tools = await client.get_tools()

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

AFD Knowledge in other clients