UK public services for LangChain
si.fourzerotwo/uk-public-services
NHS organisations, schools, care quality ratings, food hygiene and policing for any UK area.
client:LangChain
transport:streamable-http
tools:33
Install UK public services in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"uk-public-services": {
"transport": "streamable_http",
"url": "https://fourzerotwo.si/mcp/v/uk-public-services",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- nhs-organisations__organisation
- nhs-organisations__search
- nhs-organisations__roles
- schools__school
- schools__search
- schools__near
- uk-food-hygiene__search
- uk-food-hygiene__near
- uk-food-hygiene__business
- uk-food-hygiene__authorities
- uk-food-hygiene__business-types
- uk-food-hygiene__ratings
- uk-food-hygiene__regions
- uk-food-hygiene__score-descriptors
- uk-police__street-crime
- uk-police__crimes-at-location
- uk-police__crimes-no-location
- uk-police__categories
- uk-police__last-updated
- uk-police__outcomes-at-location
- uk-police__crime-outcomes
- uk-police__stop-search-force
- uk-police__forces
- uk-police__force