BikeTheRail is an MCP server published by org.biketherail, hosted at biketherail.org. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 4 tools, including search_trails, get_trail, trails_near, list_closures.
Look up U.S. rail-trails: search, nearby trails, trail facts, trailheads and closures.
3 connections through 4 shared values. Tap any node.
Find U.S. rail-trails, canal towpaths and greenways by name, state, surface, kind and length. Returns each trail's page URL and slug (for get_trail). With no query, lists the longest trails that match the filters.
| Parameter | Type | Description |
|---|---|---|
| kind | string | rail: on a former railway; trolley: an old streetcar or interurban line; canal_towpath: beside a canal; greenway: a car-free path not on a railbed. |
| limit | integer | How many trails to return (1-50). |
| query | string | Words from the trail's name, for example "Great Allegheny Passage" or "Virginia Creeper". Small typos are tolerated. |
| state | string | Two-letter state code (PA) or state name. Matches every trail that enters the state. |
| surface | string |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Trail surface. crushed_stone is packed stone dust, good for most bikes. |
| max_miles | number | Longest length, in miles. |
| min_miles | number | Shortest length, in miles. |
{
"name": "search_trails",
"title": "Search trails",
"description": "Find U.S. rail-trails, canal towpaths and greenways by name, state, surface, kind and length. Returns each trail's page URL and slug (for get_trail). With no query, lists the longest trails that match the filters.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"kind": {
"enum": [
"rail",
"trolley",
"canal_towpath",
"greenway"
],
"type": "string",
"description": "rail: on a former railway; trolley: an old streetcar or interurban line; canal_towpath: beside a canal; greenway: a car-free path not on a railbed."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "How many trails to return (1-50)."
},
"query": {
"type": "string",
"maxLength": 200,
"description": "Words from the trail's name, for example \"Great Allegheny Passage\" or \"Virginia Creeper\". Small typos are tolerated."
},
"state": {
"type": "string",
"maxLength": 40,
"description": "Two-letter state code (PA) or state name. Matches every trail that enters the state."
},
"surface": {
"enum": [
"paved",
"crushed_stone",
"gravel",
"dirt",
"mixed",
"unknown"
],
"type": "string",
"description": "Trail surface. crushed_stone is packed stone dust, good for most bikes."
},
"max_miles": {
"type": "number",
"minimum": 0,
"description": "Longest length, in miles."
},
"min_miles": {
"type": "number",
"minimum": 0,
"description": "Shortest length, in miles."
}
}
},
"annotations": {
"title": "Search trails",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}One trail's facts (length, surface, states, managing organization, official website, year opened), trailheads with parking, restrooms and water, any current closure, the opening of its "About this trail" article, its numbered sources and its page URL. Takes the slug from search_trails or trails_near.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | The trail's slug, for example "great-allegheny-passage". Its page URL or exact name also work. |
{
"name": "get_trail",
"title": "Get a trail",
"description": "One trail's facts (length, surface, states, managing organization, official website, year opened), trailheads with parking, restrooms and water, any current closure, the opening of its \"About this trail\" article, its numbered sources and its page URL. Takes the slug from search_trails or trails_near.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The trail's slug, for example \"great-allegheny-passage\". Its page URL or exact name also work."
}
}
},
"annotations": {
"title": "Get a trail",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Trails within a radius of a latitude and longitude, nearest first, with the distance to the closest point of each trail. For a town or address, pass its coordinates. Optional filters as in search_trails.
| Parameter | Type | Description |
|---|---|---|
| lat * | number | Latitude in decimal degrees. |
| lon * | number | Longitude in decimal degrees (negative in the United States). |
| kind | string | rail: on a former railway; trolley: an old streetcar or interurban line; canal_towpath: beside a canal; greenway: a car-free path not on a railbed. |
| limit | integer | How many trails to return (1-50). |
| surface | string | Trail surface. crushed_stone is packed stone dust, good for most bikes. |
| min_miles | number | Shortest trail length, in miles. |
| radius_miles | number | Search radius in miles (up to 100). |
{
"name": "trails_near",
"title": "Trails near a point",
"description": "Trails within a radius of a latitude and longitude, nearest first, with the distance to the closest point of each trail. For a town or address, pass its coordinates. Optional filters as in search_trails.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees (negative in the United States)."
},
"kind": {
"enum": [
"rail",
"trolley",
"canal_towpath",
"greenway"
],
"type": "string",
"description": "rail: on a former railway; trolley: an old streetcar or interurban line; canal_towpath: beside a canal; greenway: a car-free path not on a railbed."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "How many trails to return (1-50)."
},
"surface": {
"enum": [
"paved",
"crushed_stone",
"gravel",
"dirt",
"mixed",
"unknown"
],
"type": "string",
"description": "Trail surface. crushed_stone is packed stone dust, good for most bikes."
},
"min_miles": {
"type": "number",
"minimum": 0,
"description": "Shortest trail length, in miles."
},
"radius_miles": {
"type": "number",
"default": 10,
"maximum": 100,
"description": "Search radius in miles (up to 100).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Trails near a point",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Current trail closures and detours posted by trail managers and agencies, optionally for one state, with the source notice. Trails not listed have no reported closure.
| Parameter | Type | Description |
|---|---|---|
| state | string | Two-letter state code (PA) or state name. Matches every trail that enters the state. |
{
"name": "list_closures",
"title": "List closures",
"description": "Current trail closures and detours posted by trail managers and agencies, optionally for one state, with the source notice. Trails not listed have no reported closure.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"state": {
"type": "string",
"maxLength": 40,
"description": "Two-letter state code (PA) or state name. Matches every trail that enters the state."
}
}
},
"annotations": {
"title": "List closures",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}BikeTheRail (https://biketherail.org) is a free, open guide to every rail-trail in the United States: rail-trails, trolley trails, canal towpaths and greenways, each with its own page. When you use a result, link the trail's page (the "url" field) so the rider can see the map, trailheads, GPX download and current closures, and credit "BikeTheRail and OpenStreetMap contributors (ODbL)". Article text is CC BY 4.0. Lengths are mapped miles. A closure is listed only when a managing agency or trail group has posted one; the notices are checked nightly. With no closure listed, the trail is assumed open as mapped: suggest checking the trail page or the managing agency before a ride. To find trails near a town, pass its coordinates to trails_near. Use get_trail for a trail's facts, trailheads, article and sources.
Names, descriptions and schemas were written by the server and are shown as data.