Skip to content
MCP server

BikeTheRail

Look up U.S. rail-trails: search, nearby trails, facts, trailheads and closures

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About BikeTheRail

BikeTheRail is a free MCP server for maps and travel. It runs as a hosted remote server, so there is nothing to install locally.

BikeTheRail maps 5,155 rail-trails and 35,756 miles across all 50 states and DC, built from OpenStreetMap and public data and rebuilt weekly. The data is published under the same licence as OpenStreetMap, and fixes are made by mapping a trail in OpenStreetMap, which then appears the next night.

The remote server at https://biketherail.org/mcp serves lookups for trail search, nearby trails, trail facts, trailheads and closures. The site lists length, surface and state for each trail and reports 35 trails with closures or detours that their managers have flagged. The longest listed trails include Palouse to Cascades State Park Trail in Washington at 244 miles and the Katy Trail in Missouri at 240 miles.

The site notes that states not yet loaded show partial lengths for trails crossing them, and the data is dated October 31, 2026.

Install

Run in a terminal

claude mcp add --transport http trails https://biketherail.org/mcp

Add to Settings → Connectors → Add custom connector

https://biketherail.org/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "trails": {
      "url": "https://biketherail.org/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "trails": {
      "type": "http",
      "url": "https://biketherail.org/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "trails": {
      "serverUrl": "https://biketherail.org/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "trails": {
      "type": "http",
      "url": "https://biketherail.org/mcp"
    }
  }
}

What it does

Trail search
Finds rail-trails by name or place.
Nearby trails
Looks up trails close to a location.
Trail facts
Length, surface, states and trailheads for each trail.
Closure reports
Includes closures and detours reported by trail managers.
Open data
Built from OpenStreetMap and public data, refreshed weekly.

Good for

  • Plan a weekend ride on a nearby rail-trail
  • Find the longest trails in a state
  • Check a trail for closures before leaving
  • List trailheads for a route

Pricing

Free

Free and open

Prices change. Check biketherail.org before you buy.

BikeTheRail FAQ

How many trails are covered?

5,155 trails and 35,756 miles across all 50 states and DC.

How often is it updated?

The site says it is rebuilt weekly.

How can I fix missing data?

Map the trail in OpenStreetMap; it appears the next night.

Is it free?

The site says it is free and open.

Is BikeTheRail free?

Yes. BikeTheRail is free to use.

How do I add BikeTheRail to Claude Code?

Run this command in your terminal: claude mcp add --transport http trails https://biketherail.org/mcp

What are the best alternatives to BikeTheRail?

The closest alternatives to BikeTheRail are Tutu eSIM, Shanghai Streets Travel Guide, Fifty Asks, Gangway AIS and Tickets: tours and event tickets in South America.

Alternatives to BikeTheRail

  1. Tutu eSIM

    MCP server

    Live travel eSIM plans, prices and roaming costs for 190+ countries

    • 5 tools
    • Remote
    • Paid
    • Maps and travel
  2. Curated places, walking routes and areas in Shanghai, Jiangsu and Zhejiang

    • 9 tools
    • Remote
    • Free
    • Maps and travel
  3. Fifty Asks

    MCP server

    Let an agent book a free AI-visibility check or a 15-minute call for a local business

    • 10 tools
    • Remote
    • Free
    • Maps and travel
  4. Gangway AIS

    MCP server

    Vessel positions, port calls and anchorage waiting times from licensed AIS data

    • 21 tools
    • Remote
    • Freemium
    • Freight and logistics
  5. Goyondo

    MCP server

    Agent-native trip planner where your AI builds the itinerary and Goyondo stores it

    • Remote
    • Freemium
    • Maps and travel