About AllTrails
Find your next hike
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
Endpoint
https://www.alltrails.com/mcpCopy install command
Claude CodeTerminal
claude mcp add --transport http alltrails https://www.alltrails.com/mcpCursor.cursor/mcp.json
{"mcpServers":{"alltrails":{"type":"http","url":"https://www.alltrails.com/mcp"}}}Open in CursorVS Code.vscode/mcp.json
{"servers":{"alltrails":{"type":"http","url":"https://www.alltrails.com/mcp"}}}Open in VS CodeClaude Desktopclaude_desktop_config.json
{"mcpServers":{"alltrails":{"type":"http","url":"https://www.alltrails.com/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"alltrails":{"serverUrl":"https://www.alltrails.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
5| Parameter | Type | Required | Description |
|---|---|---|---|
| input | object | Yes | |
| input.filters | any | No | Search filters to apply |
| input.limit | integer | No | Maximum number of results |
| input.sort | any | No | Ability to specify a sorting option. The default is NONE. CRITICAL: Only extract sort if the query contains EXPLICIT sort keywords: - "best trails", "top trails" → most_popular - "closest trails", "nearest trails" → closest - "new trails", "recently added" → newly_added Only include a sort option if the user's query explicitly indicates a particular sort order. If no sort preference is indicated, omit the `sort` property entirely. Available sort options: - `closest`: Sort by distance from the user's location. Use when the query asks for "closest trails" or "trails nearest to" a location. - `most_popular`: Sort by overall popularity. - `newly_added`: Sort by date added. Use for queries like "new hiking trails". - `seasonal`: Sort by popularity at the current time of year. Use when the query asks for trails "at this time of year", "this season", "right now", or similar seasonal phrasing. - `month_1` through `month_12`: Sort by popularity in a specific month. Use when the query mentions a specific month, e.g., "hiking trails in July" → `month_7`. |
| input.locale | any | No | A BCP 47 locale string (e.g. 'en-US', 'es-ES', 'de-DE'). Should be set to the user's device/browser locale or the language of the current conversation. Used for localizing trail names and descriptions, difficulty labels, and URLs. Falls back to request metadata if not provided. |
| input.latitude | number | Yes | Latitude in decimal degrees |
| input.longitude | number | Yes | Longitude in decimal degrees |
| input.max_radius_meters | any | No | Maximum search radius in meters. Specify this value if the user: * Indicates they are looking for nearby trails within a specific distance. * Mentions a specific distance around a named location * Mentions a time constraint to reach a location. If the user mentions a time constraint, but does not mention the mode of transport, assume they are traveling by car. Generate the maximum radius based on a typical travel speed for the mode of transport. * Requests a point of interest or landmark. Generate an appropriate maximum radius between 1000 and 5000 meters. * If a bounding box is unknown for a named location. (If a bounding box is known, use the "search within bounding box" tool instead.) Supply this value to ensure the search is performed within a reasonable area for the kind of location the user is referring to. Example values: * country: 500000m radius * state/province/official region: 200000m radius * county/administrative area/unofficial region: 25000m radius * city/town: 10000m radius * neighborhood/district: 2000m radius |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
Markdown supported
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.