BikeTheRail for LangChain
org.biketherail/trails
Look up U.S. rail-trails: search, nearby trails, trail facts, trailheads and closures.
client:LangChain
transport:streamable-http
tools:4
Install BikeTheRail in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"trails": {
"transport": "streamable_http",
"url": "https://biketherail.org/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs