Response JSON
The MCP returns ready-to-render trail cards with ratings, distances, difficulty, and canonical AllTrails links. Length and distance fields include both meters and miles.
trail_head_distance_miles
Quickly rank trails by proximity to the user.
length_miles + length_meters
Show length in the units the user expects while keeping metric precision.
avg_rating + difficulty
Use quality and difficulty to drive ranking and recommendations.
alltrails_web_url
Stable canonical trail URL to link out or store for later.
{
"trails": [
{
"id": 10280443,
"name": "Discovery Park Extended Loop",
"avg_rating": 4.7,
"difficulty": "Moderate",
"length_miles": 4.3,
"length_meters": 6920.162,
"elevation_gain_feet": 479.0,
"trail_head_distance_miles": 5.57,
"route_type": "Loop",
"alltrails_web_url": "https://www.alltrails.com/trail/us/washington/..."
},
{
"id": 10029568,
"name": "Coal Creek Trail",
"avg_rating": 4.5,
"difficulty": "Moderate",
"length_miles": 5.6,
"length_meters": 9012.304,
"elevation_gain_feet": 620.0,
"trail_head_distance_miles": 8.56,
"route_type": "Out & back",
"alltrails_web_url": "https://www.alltrails.com/trail/us/washington/..."
}
]
}