Skip to content
LangChain

uk livestock for LangChain

io.github.ansvar-systems/uk-livestock

UK livestock welfare, feed, health, and movement rules — 8 species, DEFRA codes

client:LangChain transport:streamable-http

Install uk livestock in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "uk-livestock": {
            "transport": "streamable_http",
            "url": "https://mcp.ansvar.eu/uk-livestock/mcp",
        }
})

tools = await client.get_tools()

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

uk livestock in other clients