BikeTheRail
Look up U.S. rail-trails: search, nearby trails, trail facts, trailheads and closures.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"trails": {
"url": "https://biketherail.org/mcp"
}
}
}원격 엔드포인트
https://biketherail.org/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
🟢search_trails(query, state, surface, kind, min_miles, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"description": "Words from the trail's name, for example \"Great Allegheny Passage\" or \"Virginia Creeper\". Small typos are tolerated.",
"type": "string",
"maxLength": 200
},
"state": {
"type": "string",
"maxLength": 40,
"description": "Two-letter state code (PA) or state name. Matches every trail that enters the state."
},
"surface": {
"type": "string",
"enum": [
"paved",
"crushed_stone",
"gravel",
"dirt",
"mixed",
"unknown"
],
"description": "Trail surface. crushed_stone is packed stone dust, good for most bikes."
},
"kind": {
"type": "string",
"enum": [
"rail",
"trolley",
"canal_towpath",
"greenway"
],
"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."
},
"min_miles": {
"description": "Shortest length, in miles.",
"type": "number",
"minimum": 0
},
"max_miles": {
"description": "Longest length, in miles.",
"type": "number",
"minimum": 0
},
"limit": {
"default": 10,
"description": "How many trails to return (1-50).",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_trail(slug)
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.
입력 스키마
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The trail's slug, for example \"great-allegheny-passage\". Its page URL or exact name also work."
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢trails_near(lat, lon, radius_miles, surface, kind, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees (negative in the United States)."
},
"radius_miles": {
"default": 10,
"description": "Search radius in miles (up to 100).",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100
},
"surface": {
"type": "string",
"enum": [
"paved",
"crushed_stone",
"gravel",
"dirt",
"mixed",
"unknown"
],
"description": "Trail surface. crushed_stone is packed stone dust, good for most bikes."
},
"kind": {
"type": "string",
"enum": [
"rail",
"trolley",
"canal_towpath",
"greenway"
],
"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."
},
"min_miles": {
"description": "Shortest trail length, in miles.",
"type": "number",
"minimum": 0
},
"limit": {
"default": 10,
"description": "How many trails to return (1-50).",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_closures(state)
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.
입력 스키마
{
"type": "object",
"properties": {
"state": {
"type": "string",
"maxLength": 40,
"description": "Two-letter state code (PA) or state name. Matches every trail that enters the state."
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거