# BikeTheRail

> BikeTheRail is a free MCP server for maps and travel. Look up U.S. rail-trails: search, nearby trails, facts, trailheads and closures. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://biketherail.org
- **MCP Registry name:** org.biketherail/trails
- **Categories:** maps and travel
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://biketherail.org/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "trails": {
      "url": "https://biketherail.org/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [Tutu eSIM](https://ai-powered.com/mcp/tutu-esim): Tutu eSIM is a paid MCP server for maps and travel.
- [Shanghai Streets Travel Guide](https://ai-powered.com/mcp/shanghai-streets-travel-guide): Shanghai Streets Travel Guide is a free MCP server for maps and travel.
- [Fifty Asks](https://ai-powered.com/mcp/fifty-asks): Fifty Asks is a free MCP server for maps and travel.
- [Gangway AIS](https://ai-powered.com/mcp/gangway-ais): Gangway AIS is a freemium MCP server for freight and logistics.
- [Tickets: tours and event tickets in South America](https://ai-powered.com/mcp/tickets-tours-and-event-tickets-in-south-america): Tickets: tours and event tickets in South America is a free MCP server for maps and travel.
- [Goyondo](https://ai-powered.com/mcp/goyondo-2): Goyondo is a freemium MCP server for maps and travel.
- [DalVivo](https://ai-powered.com/mcp/dalvivo): DalVivo is a free MCP server for maps and travel.
- [Big Data Insights for Regional Inflow in Korea](https://ai-powered.com/mcp/big-data-insights-for-regional-inflow-in-korea): Big Data Insights for Regional Inflow in Korea is a free MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/biketherail
