Alltrails MCP logo

Alltrails MCP

Unofficial MCP access to AllTrails for trail discovery, details, reviews, photos, weather, GPX, and personal hiking data.

Install Alltrails MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "alltrails-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alltrails-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The alltrails-mcp MCP server connects an MCP host to AllTrails for trail search, location resolution, trail details, reviews, photos, weather, GPX routes, and account activity. It sends requests through a browser bridge from a signed-in AllTrails tab because the service relies on an internal API protected by DataDome. Read-only tools can inspect saved lists, completed trails, profiles, and activity feeds without modifying AllTrails data. Use it for personal trail research and account lookups when you can accept unofficial API access and the required browser-based authentication setup.

Use cases

  • Find trails near a named place
  • Compare trail ratings, distances, and difficulty
  • Summarize reviews and inspect trail photos
  • Export a trail route as GPX
  • Review saved and completed hikes

Key features

  • Trail and location search
  • Trail details, reviews, photos, and weather
  • GPX 1.1 route export
  • Saved lists and completed-trail lookup
  • Activity feeds with cursor pagination
  • Browser-bridge health checks

Tools13

What Alltrails MCP lets your agent do. Expand a tool for its parameters.

Self-reported~362 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 60d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · alltrails-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.3kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed13Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Alltrails MCP works

What alltrails-mcp does

alltrails-mcp exposes AllTrails data through MCP tools intended for use with Claude Desktop or another MCP host. It supports trail and place searches, location disambiguation, trail metadata, user reviews, photos, weather, and GPX 1.1 route exports. Account-oriented tools retrieve the signed-in profile, saved lists, list contents, completed trails, and activity feeds.

Every tool is read-only. The server can retrieve records and route data, but it does not create, edit, save, or delete AllTrails content.

How it works

AllTrails does not provide a public API for this use case. The server works with the internal API used by alltrails.com and routes requests through the fetchproxy bridge as same-origin browser fetches. This lets requests reuse the session in an open, signed-in AllTrails tab while preserving the browser context expected by DataDome.

Authentication requires the ContextMint Bridge browser extension, a signed-in AllTrails tab, and a one-time pair-code approval. The server captures the live x-at-key value from the tab when needed and retains it only in memory. It can capture the value again if AllTrails rotates it.

Search, trail, review, photo, list-item, and activity-feed responses accept a view option. compact is the default projection for the fields callers generally use; full returns AllTrails' complete record. Per-user tools use the signed-in account by default, or can accept a userId for a public profile.

Setup and configuration

Use Node.js 22.5 or later. Clone the repository, install dependencies, and build it with npm install followed by npm run build. Configure the MCP host to launch dist/index.js with Node, then restart the host.

Install the ContextMint Bridge extension and use Chrome with an authenticated AllTrails tab. The first request requires pair-code approval. There is no stored-cookie authentication mode.

Optional environment variables include ALLTRAILS_USER_ID for selecting a numeric user ID, ALLTRAILS_WS_PORT for changing the fetchproxy concentrator port, ALLTRAILS_LOCALE and ALLTRAILS_CALLER for request-header overrides, ALLTRAILS_REQUEST_TIMEOUT_MS for request timeouts, and ALLTRAILS_DEBUG_LOG for redacted request logging. The default timeout is 30 seconds and the default WebSocket port is 37149.

Tools and capabilities

  • Search AllTrails by trail or place name, with an option to restrict suggestions to trails.
  • Resolve countries, states, cities, areas, and points of interest into coordinates, slugs, and labels.
  • Retrieve trail descriptions, distance, elevation gain, difficulty, ratings, route type, location, reviews, photos, weather, and GPX track points with elevation.
  • Inspect the signed-in profile, saved lists, list items, completed trails, and local, timeline, or personal activity feeds.
  • Paginate activity results with a cursor and run a bridge health check that reports connection details and likely failure points.

Limitations and notes

This is an unofficial integration that reverse-engineers an internal AllTrails API. AllTrails may change that API without notice, and automated access may conflict with its Terms of Service or trigger rate limits, CAPTCHA challenges, or account action.

Use it only for personal access through your own signed-in session. It is not affiliated with or endorsed by AllTrails, and it should not be used for bulk extraction, a competing product, or activity that burdens the service. Review the code and tool permissions before use; the project is AI-developed and has not been audited by a human maintainer.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Alltrails MCP

alltrails-mcp is an MCP server that connects an MCP host to AllTrails through a signed-in browser session. Its main tools search trails and places, retrieve trail details, reviews, photos, weather, and GPX routes, and inspect profiles, saved lists, completed trails, and activity feeds. All tools are read-only.

Install Node.js 22.5 or later, clone the repository, run `npm install` and `npm run build`, then configure your MCP host to launch `dist/index.js` with Node. Restart the host after saving its configuration.

Authenticate by installing ContextMint Bridge, opening a signed-in AllTrails tab in Chrome, and approving the one-time pair code. Requests run through that tab using the fetchproxy bridge; copied cookies and stored-cookie mode are not used.

Yes, alltrails-mcp supports Claude Desktop when configured as a Node-launched MCP server. Add its built `dist/index.js` path to the Claude Desktop MCP configuration, then fully quit and relaunch Claude Desktop.

No, alltrails-mcp is read-only. It can list saved lists, retrieve their trail items, and inspect completed trails, but its tools do not write changes to AllTrails.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAlltrails MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/alltrails-mcp?style=directory)](https://allmcps.com/mcp/alltrails-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/alltrails-mcp"><img src="https://allmcps.com/api/badge/alltrails-mcp?style=directory" alt="Alltrails MCP on AllMCPs" /></a>