alltrails-mcp
v3.2.1Unofficial AllTrails MCP for Claude — search trails, get details, reviews, photos, saved lists
Values you need
| Variable | What it is | |
|---|---|---|
ALLTRAILS_USER_ID | optional | Optional numeric AllTrails user id for the per-user tools (saved lists, completed trails, feed). If omitted, those tools resolve the signed-in user via /api/alltrails/me. |
ALLTRAILS_REQUEST_TIMEOUT_MS | optional | Per-request timeout in ms (default 30000). |
ALLTRAILS_DEBUG_LOG | optional | 1/true/yes/on logs each request/response to stderr — method, path, status, response size, and a redacted 200-char request-body prefix (response bodies are never logged). |
ALLTRAILS_WS_PORT | optional | fetchproxy concentrator port (default 37149, shared by the whole fetchproxy fleet — override only for local dev/tests). |
ALLTRAILS_LOCALE | optional | Overrides the x-language-locale request header (default "en-US"). |
ALLTRAILS_CALLER | optional | Overrides the x-at-caller request header (default "Mugen"). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add alltrails-mcp -- npx -y alltrails-mcp@3.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"alltrails-mcp": {
"args": [
"-y",
"alltrails-mcp@3.2.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"alltrails-mcp": {
"args": [
"-y",
"alltrails-mcp@3.2.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"alltrails-mcp": {
"args": [
"-y",
"alltrails-mcp@3.2.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.alltrails-mcp]
command = "npx"
args = ["-y", "alltrails-mcp@3.2.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: alltrails_get_trail, alltrails_get_trail_reviews, alltrails_get_trail_photos, alltrails_get_trail_gpx, alltrails_get_trail_weather, alltrails_search, alltrails_resolve_location, alltrails_get_profile, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json