Canal Nav
Plan canal routes on Great Britain's waterways: lock-aware timing, live closures, boat-fit checks.
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- MEDIUM在 search_directory 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"canal-nav": {
"url": "https://mcp.canalnav.com/mcp"
}
}
}遠端端點
https://mcp.canalnav.com/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢plan_route(from, to, boat_length, boat_beam, boat_draught, ...)
Plan a boat journey between two points on the inland waterways of Great Britain (canals and navigable rivers). The route follows the water itself, not roads. It counts every lock and estimates cruising time from realistic boat speed plus time per lock. Live closures and stoppages from every GB navigation authority (Canal & River Trust, Environment Agency, Scottish Canals, Broads Authority and others) are routed around automatically, and when a dated closure blocks the natural line the result compares waiting for it to reopen against taking the detour. Give boat dimensions to get per-waterway fit warnings (too long, too wide, too deep, too tall for a waterway on the route). Routes that cross tidal water carry a tidal safety warning. Places can be names (resolved on the waterway network) or "lat,lon" coordinates. If a name matches several distinct locations the tool returns the candidates instead of guessing; call again with the chosen one.
輸入結構描述
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Start point: a place name on the waterways (e.g. \"Braunston Marina\") or \"lat,lon\" coordinates."
},
"to": {
"type": "string",
"description": "Destination: a place name or \"lat,lon\" coordinates."
},
"boat_length": {
"type": [
"number",
"string"
],
"description": "Boat length. Metres by default (e.g. 17.4), or a feet/inches string (e.g. \"57ft\")."
},
"boat_beam": {
"type": [
"number",
"string"
],
"description": "Boat beam (width). Metres by default (e.g. 2.08), or feet/inches (e.g. \"6'10\\\"\")."
},
"boat_draught": {
"type": [
"number",
"string"
],
"description": "Boat draught (depth below the waterline). Metres or feet/inches."
},
"boat_air_draught": {
"type": [
"number",
"string"
],
"description": "Boat air draught (height above the waterline, for bridges and tunnels). Metres or feet/inches."
},
"lock_minutes": {
"type": "number",
"minimum": 1,
"maximum": 90,
"description": "Minutes to work through one lock. Default 15. Experienced crews may use 10, single-handers 20 or more."
},
"cruising_hours_per_day": {
"type": "number",
"minimum": 1,
"maximum": 16,
"description": "Cruising hours per day, used to split the journey into days with suggested overnight moorings. Default 6."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Departure date (YYYY-MM-DD) for closure checking. Defaults to today."
}
},
"required": [
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢plan_round_trip(start, days, boat_length, boat_beam, boat_draught, ...)
Plan return-to-start cruises from a point on the inland waterways of Great Britain, sized to fit a number of days. Returns several options: circular loops where the canal network offers one (canal "rings"), plus out-and-back and fewest-locks alternatives, each with distance, lock count, day-by-day plan and suggested overnight moorings. Timing is lock-aware and closures from every GB navigation authority are flagged on each option. Give boat dimensions to get fit warnings, and routes touching tidal water carry a tidal safety warning. The start can be a place name or "lat,lon" coordinates.
輸入結構描述
{
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "Start (and finish) point: a place name on the waterways or \"lat,lon\" coordinates."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 28,
"description": "Number of days the round trip should fit in."
},
"boat_length": {
"type": [
"number",
"string"
],
"description": "Boat length. Metres by default (e.g. 17.4), or a feet/inches string (e.g. \"57ft\")."
},
"boat_beam": {
"type": [
"number",
"string"
],
"description": "Boat beam (width). Metres by default (e.g. 2.08), or feet/inches (e.g. \"6'10\\\"\")."
},
"boat_draught": {
"type": [
"number",
"string"
],
"description": "Boat draught (depth below the waterline). Metres or feet/inches."
},
"boat_air_draught": {
"type": [
"number",
"string"
],
"description": "Boat air draught (height above the waterline, for bridges and tunnels). Metres or feet/inches."
},
"lock_minutes": {
"type": "number",
"minimum": 1,
"maximum": 90,
"description": "Minutes to work through one lock. Default 15."
},
"cruising_hours_per_day": {
"type": "number",
"minimum": 1,
"maximum": 16,
"description": "Cruising hours per day. Default 6."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date (YYYY-MM-DD) for closure checking. Defaults to today."
}
},
"required": [
"start",
"days"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_closures(place, waterway, radius_km)
Live closure, stoppage and restriction notices for the inland waterways of Great Britain, covering every GB navigation authority: Canal & River Trust, Environment Agency, Scottish Canals, Broads Authority, Bridgewater, Middle Level, River Wey, Basingstoke and more, not just CRT. Search near a place (name or "lat,lon", with an optional radius) or by waterway name (e.g. "Oxford Canal"). Returns active and upcoming notices with dates, the responsible authority, whether each one blocks navigation, and links for detail. Data refreshes from the authorities' published notices, so reopen dates reflect the latest updates.
輸入結構描述
{
"type": "object",
"properties": {
"place": {
"type": "string",
"description": "A place name or \"lat,lon\" coordinates to search around. Give this or waterway."
},
"waterway": {
"type": "string",
"description": "A waterway name to match notices against (e.g. \"Grand Union Canal\"). Give this or place."
},
"radius_km": {
"type": "number",
"minimum": 1,
"maximum": 150,
"description": "Search radius around the place in km. Default 25."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢will_my_boat_fit(waterway, boat_length, boat_beam, boat_draught, boat_air_draught)
Check boat dimensions against the published maximum craft dimensions for a named British waterway (length, beam, draught and air draught, from Canal & River Trust published figures covering the full CRT network). Returns a per-dimension verdict quoting the limit. Draught and headroom vary with water level and silting, so treat the answer as advisory. For a whole journey, use plan_route with boat dimensions instead: it checks every waterway along the route.
輸入結構描述
{
"type": "object",
"properties": {
"waterway": {
"type": "string",
"description": "Waterway name, e.g. \"Ashby Canal\" or \"Llangollen Canal\"."
},
"boat_length": {
"type": [
"number",
"string"
],
"description": "Boat length. Metres by default (e.g. 17.4), or a feet/inches string (e.g. \"57ft\")."
},
"boat_beam": {
"type": [
"number",
"string"
],
"description": "Boat beam (width). Metres by default (e.g. 2.08), or feet/inches (e.g. \"6'10\\\"\")."
},
"boat_draught": {
"type": [
"number",
"string"
],
"description": "Boat draught (depth below the waterline). Metres or feet/inches."
},
"boat_air_draught": {
"type": [
"number",
"string"
],
"description": "Boat air draught (height above the waterline, for bridges and tunnels). Metres or feet/inches."
}
},
"required": [
"waterway"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_place(name)
Look up a place name on the British inland waterway network and return matching locations with coordinates (marinas, moorings, water points and other waterside facilities). Use it to disambiguate a place before calling plan_route or plan_round_trip, or to get coordinates for a known spot. Results are waterway locations only; it is not a general geocoder.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 2,
"description": "Place or facility name to search for, e.g. \"Braunston\" or \"Aston Marina\"."
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_directory(query, category, near)
Search Canal Nav's directory of waterside businesses on the British inland waterways: marinas, chandleries, boat hire, boatyards, pump-out and services, fuel, moorings, surveyors, brokerage, and canalside food and pubs. Filter by free text, category, or proximity to a place. Listings marked unclaimed can be claimed for free by the business owner at https://canalnav.com/.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search over business names and descriptions."
},
"category": {
"type": "string",
"enum": [
"marina",
"chandlery",
"hire",
"boatyard",
"services",
"fuel",
"moorings",
"surveyor",
"brokerage",
"food",
"trade",
"other"
],
"description": "Directory category to filter by."
},
"near": {
"type": "string",
"description": "A place name or \"lat,lon\" to search around (approx. 15 km)."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據