Skip to content
LangChain

ContexteTech for LangChain

io.github.contexte-tech/contexte

Search and load AI datasets, prompts and few-shot contexts from the ContexteTech catalogue.

client:LangChain transport:stdio runtime:pypi

Install ContexteTech in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "contexte": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["contexte"],
        }
})

tools = await client.get_tools()

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

ContexteTech in other clients