Skip to content
MCP server

Alltrails MCP

Unofficial AllTrails MCP for Claude — search trails, get details, reviews, photos, saved…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.2.1
Listing updated
4 days ago

About Alltrails MCP

Alltrails MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Unofficial AllTrails MCP for Claude — search trails, get details, reviews, photos, saved lists

Install

Run in a terminal

claude mcp add alltrails-mcp -- npx -y alltrails-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "alltrails-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alltrails-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "alltrails-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alltrails-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "alltrails-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "alltrails-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "alltrails-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alltrails-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "alltrails-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alltrails-mcp"
      ]
    }
  }
}

Configuration

  • ALLTRAILS_USER_IDOptional 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_MSPer-request timeout in ms (default 30000).
  • ALLTRAILS_DEBUG_LOG1/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_PORTfetchproxy concentrator port (default 37149, shared by the whole fetchproxy fleet — override only for local dev/tests).
  • ALLTRAILS_LOCALEOverrides the x-language-locale request header (default "en-US").
  • ALLTRAILS_CALLEROverrides the x-at-caller request header (default "Mugen").

Pricing

Open source

Alltrails MCP FAQ

Is Alltrails MCP free?

Yes. Alltrails MCP is open source, so you can use and self-host it for free.

How do I add Alltrails MCP to Claude Code?

Run this command in your terminal: claude mcp add alltrails-mcp -- npx -y alltrails-mcp