AllTrails integrates with AI assistants to help you discover and learn about trails directly within your conversations.
The official MCP SDK for TypeScript lets Node and edge services call MCP servers directly, with an API key for headless auth.
This guide connects AllTrails MCP to TypeScript through MewCP, so TypeScript can use AllTrails MCP's 5 tools, like find_trails_near_location, find_trails_within_bounds and search_trails_by_name.
AllTrails MCP needs no credentials, but every call still runs through MewCP: scoped, checked and logged like any other.
More apps
Search for affordable premium and luxury cruise fares
Tripadvisor helps travelers find and compare hotels using traveler reviews, ratings, photos, pricing, and availability. Search accommodations by destination, retrieve detailed property information, compare hotel options, and discover nearby attractions and points of interest to make informed booking decisions.
lastminute helps travelers search and compare flights, hotels, and bundled flight-and-hotel packages using real-time prices, flexible filters, and personalized recommendations. Compare airlines, departure times, stops, hotel amenities, star ratings, and prices, then proceed to booking through direct links.
Find attraction and day-trip guides with sources and fact-check dates, read published travel advice, and create TicketGlide search links.
Other clients
AllTrails MCP works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact AllTrails MCP tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
SDK clients sign in with an API key. Create one in your dashboard and replace API_KEY in the code below.
SDK clients run without a browser, so they sign in with your API key. Needs Node 18+ as an ES module (for example npx tsx script.ts).
Find hiking, running, biking, backpacking or other trails for outdoor activities near a set of coordinates within an optional specified maximum radius (meters). Use this tool when the user: * Requests trails near a specific point of interest or landmark. * Requests trails near a named location within a specified radius or accessible within a specified time constraint. * Provides specific latitude and longitude coordinates. For most named places, use the "search within bounding box" tool if possible. Use this tool as a fallback when the bounding box of the named place is unknown. Users can specify filters related to appropriate activities, attractions, suitability, and more. Numeric range filters related to distance, elevation, and length are also available. These filter values MUST be specified in meters. In the response, length and distance values are returned both in meters and imperial units. These MUST be displayed to the user in the units most appropriate for the user's locale, e.g. feet or miles for US English users.
Find hiking, running, biking, backpacking or other trails for outdoor activities within a specified bounding box defined by southwest and northeast coordinates. Use this tool when the user: * Requests trails within specific geographic boundaries or coordinates. * Requests trails near a named geographic or political place, such as a continent, country, state, province, region, city, town, or neighborhood and you know the bounding box for that place. * Requests trails within a national, state or local park or other protected area and you know the bounding box for that park. If the bounding box for the named place is not known, use the "find trails near a location" tool instead to find trails around a center point. Users can specify filters related to appropriate activities, attractions, suitability, and more. Numeric range filters related to distance, elevation, and length are also available. These filter values MUST be specified in meters. In the response, length and distance values are returned both in meters and imperial units. These MUST be displayed to the user in the units most appropriate for the user's locale, e.g. feet or miles for US English users.
Search for hiking, running, biking, backpacking or other trails by full or partial name match. Use this tool when the user: * Requests a specific trail by name (e.g., "Avalanche Lake Trail", "Half Dome") * Searches for trails with specific keywords in the name The search can biased towards results near the provided coordinates if they are provided explicitly or available from the request metadata. If there is a clear match to the user's query, the model should automatically make a subsequent call to the `get_trail_details` tool to present the user with complete details for the matching trail. In the response, length and distance values are returned both in meters and imperial units. These MUST be displayed to the user in the units most appropriate for the user's locale, e.g. feet or miles for US English users.
Find detailed information about a trail from AllTrails. Get descriptive overviews and specific accessibility information. Includes structured data about suitable activities, and feature highlights along the trail. Get stats about the trail geography and length, and stats about associated user-generated content. In the response, length and distance values are returned both in meters and imperial units. These MUST be displayed to the user in the units most appropriate for the user's locale, e.g. feet or miles for US English users. Recent reviews are summarized in the `review_summary` field. If the user wants information that might be found in specific reviews, direct the user to the AllTrails web URL for the trail.
Get 7-day forecast for a trail at its trailhead, including high/low temperatures. For more detailed weather information, including current conditions, sunrise/sunset times, and weather alerts, direct the user to the AllTrails web URL for the trail (available in the `get_trail_details` tool response).