For AI assistants
Developer documentation

HutSnag MCP

Plan multi-day hikes, inspect hut availability and manage cancellation alerts using the same data and account rules as the HutSnag website.

Connect

Transport: Streamable HTTP. Planning and public availability tools are anonymous. Account tools use OAuth 2.1 with PKCE. Add the remote server in your MCP client:

https://www.hutsnag.com/mcp

Discover inputs with tools/list. The server also exposes quick-start resource through resources/list.

Planning tools

Start with list_routes; route IDs and published seasons come from the current catalogue. These tools do not make bookings or change an account.

list_routes

Discover supported trails, seasons and data freshness.

route_overview

Get start and finish points, stages and places to stay.

trail_guide

Read stages, variants, transport options and booking rules.

find_stays

Find a hut, refuge, campsite or lodge by name.

stay

Inspect a stay’s facilities, booking links and observed nights.

availability

Check dated availability for your whole group, including departure passes.

plan_itinerary

Compare itineraries and start dates against effort, time and accommodation preferences.

Example: compare TMB starts within one week

{
  "name": "plan_itinerary",
  "arguments": {
    "route_id": "tmb",
    "start_date": "2027-07-15",
    "latest_start_date": "2027-07-21",
    "days": 8,
    "party": 2,
    "fitness": "fit",
    "allow_transport": true,
    "allow_unknown_availability": false
  }
}

Example dates are inputs, not a claim of availability. Results include overnight stops, distance, ascent, descent, walking time, fit, warnings, observation times and an optimality flag. Keep the returned limitations when presenting a plan.

Cancellation-alert tools

Alert coverage differs from planner coverage. Discover supported routes first, then read the connected account’s limits. Ask the user to agree the trip details before creating or changing an alert.

list_alert_routes

Public

Discover routes that support cancellation alerts and their booking rules.

get_alert_account

alerts:read

Check your plan limits, available alert slots and delivery channels.

list_alerts

alerts:read

Read the alerts belonging to your connected account.

create_alert

alerts:write

Create an alert for an agreed route, date window and group size.

update_alert

alerts:write

Change an existing alert’s trip details.

set_alert_active

alerts:write

Pause or resume an alert without changing its dates.

set_alert_channel

alerts:write

Choose email and SMS separately for an alert.

delete_alert

alerts:write

Delete an alert after the user requests it.

  • Free: one active alert, up to seven inclusive dates. Hiker: three active alerts, up to 90 dates. Use the returned account entitlements for existing grants and purchases.
  • For Overland, the date window contains possible departure dates. For hut routes, it covers the overnight dates to monitor.
  • Reuse the create request’s ID after a network failure. A retry must not create a second alert.
  • Email and SMS are separate choices. Account verification, opt-outs, SMS consent and delivery budgets still apply.
  • The MCP cannot make a purchase, book accommodation or hold a pass.

Authentication

Follow the authorization challenge from an account tool. Sign in on HutSnag and review the requesting app and permissions. Passwords, phone verification codes and payment details stay out of the conversation.

ScopeAccess
alerts:readRead your alerts, plan limits and delivery eligibility.
alerts:writeCreate, edit, pause, resume and delete your alerts.
openidIdentify the account you connected.
emailRead your verified email for the assistant’s account-linking policies.

The authorization-code flow requires S256 PKCE and tokens bound to the MCP resource. Refresh tokens rotate. Revoke a connection from your HutSnag account to stop its future access; alerts you already created keep their saved settings.

Read availability as an observation

Return the observation time and original booking link. A plan does not reserve its nights. Unknown availability is never zero, and it is never a confirmed place.

Available

Enough published places for the group when checked.

Full

The source reported insufficient places for this group.

Closed

The provider explicitly says this date cannot be booked.

Unknown

Contact-only booking, an unread source, an unpublished date or a failed refresh. Read the supplied reason.

Walk-in

A bunk is not reserved. Follow the trail’s tent and camping requirements.

Departure pass

A separate starting-date requirement. On Overland it does not constrain later overnight dates.

Fit is a preference score, not a probability of booking or a safety assessment. Only completed exact searches report an optimum on the mapped data. Weather, trail conditions and technical ability need separate checks.

Read-only REST API

No API key is needed for public trail guides, huts and dated availability. Use MCP for customized itinerary searches and account actions.

curl https://www.hutsnag.com/api/v1/trails

Trail pages and agent docs support Accept: text/markdown. Prefer the scoped API or MCP tool to downloading an entire planner dataset.