BikeTheRail

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

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
95%
命名品質
95%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,076Token(工具定義)
~2.0 KB典型回應大小
中等的注意力影響(128k 上下文的 0.84%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具