๐ What this is
A Model Context Protocol (MCP) server that gives AI agents structured, real-time data about Hawaii. Use it to plan trips, check safety conditions (ocean, trails, volcano), build itineraries, recommend restaurants, and generate full daily briefings.
๐ MCP Endpoint
https://hawaii-conditions.vercel.app/mcp
Streamable HTTP transport. Stateless โ every request is self-contained.
โก Install on Your Agent
Add HawaiiConditions skills to any client
npx agentcash add https://hawaii-conditions.vercel.app
to install this MCP server on all AI Agents
๐ณ How payment works (prepaid ledger)
This server uses a prepaid credit model. Your agent registers once, receives an API key, funds its account via Stripe, and the balance is deducted per data call. No per-call payment prompts โ just a running balance.
Onboarding flow
- Call
register_agent→ receive yourapi_key(format:mcp_live_โฆ) - Call
create_wallet_setupto initialise Stripe โ returns aclient_secretfor saving a card - Call
save_payment_methodwith the returnedpayment_method_id - Call
add_funds_5,add_funds_10, oradd_funds_20to top up - Pass your key on every subsequent request via the
X-MCP-Accountheader
Authenticating requests
X-MCP-Account: mcp_live_<your_api_key>
Alternatively accepted as Authorization: Bearer mcp_live_โฆ. All paid data tools require this header.
Balance response (get_balance)
{
"balance_cents": 380,
"balance_usd": "$3.80",
"original_balance_cents": 500,
"original_balance_usd": "$5.00",
"low_balance": false,
"threshold_usd": "$0.50"
}
original_balance_cents is set on the first top-up and never changes โ it records what the agent originally loaded. balance_cents decreases as data tools are called.
Low-balance behaviour
When balance_cents drops below the threshold, low_balance: true is returned with every response so your agent can self-top-up before running out.
Example: register and fund in one session
# 1 โ Register
curl -X POST https://hawaii-conditions.vercel.app/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"register_agent","arguments":{"agent_id":"my-agent","display_name":"My Agent"}},"id":1}'
# 2 โ Use the returned api_key on every data call
curl -X POST https://hawaii-conditions.vercel.app/mcp \
-H "Content-Type: application/json" \
-H "X-MCP-Account: mcp_live_<your_key>" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_weather","arguments":{"island":"oahu"}},"id":2}'
๐ง Tools
Billing & account management (free)
| Tool | Cost | Description |
|---|---|---|
register_agent | Free | Create an account โ returns your api_key |
get_balance | Free | Current balance, original load amount, low-balance flag |
create_wallet_setup | Free | Initialise Stripe SetupIntent โ returns client_secret for saving a card |
save_payment_method | Free | Attach a Stripe payment method to your account |
link_stripe_customer | Free | Link an existing Stripe customer ID to your account |
recent_transactions | Free | View recent credits and debits on your ledger |
Top-up (charged to saved card)
| Tool | Amount | Description |
|---|---|---|
add_funds_5 | $5.00 | Add $5 of prepaid MCP credit |
add_funds_10 | $10.00 | Add $10 of prepaid MCP credit |
add_funds_20 | $20.00 | Add $20 of prepaid MCP credit |
Data tools (deducted from balance)
| Tool | Cost per call | Description |
|---|---|---|
ping | Free | Health check โ no balance required |
get_sun_times | Free | Sunrise, sunset, daylight duration by island (HST) |
get_moon_phase | Free | Current moon phase, illumination, moonrise/moonset times |
get_weather | $0.10 | 5-day forecast, UV index, wind, sunrise/sunset |
get_surf_conditions | $0.10 | Wave height, period, direction + 3-day forecast |
get_trail_status | $0.25 | NPS alerts and state trail closures |
get_volcano_status | $0.25 | Live Kīlauea status from USGS HVO |
get_ocean_safety | $0.50 | Box jellyfish, rip currents, NOAA marine alerts |
get_full_briefing | $2.00 | All five data sources in one call โ best value |
search_restaurants | $0.25 | Find restaurants by location, cuisine, price, open hours |
get_restaurant_details | $0.15 | Full hours, reviews, photos by place_id |
๐ค When AI agents should use this
- Planning a Hawaii trip or itinerary
- Checking if it’s safe to swim, surf, or hike
- Advising on beach or outdoor activities
- Checking volcano or lava conditions
- Building a day-by-day Hawaii plan
- Recommending restaurants or food
- Searching for poke, plate lunch, shave ice, loco moco, malasadas, acai bowls
- Creating a foodie itinerary
๐ฝ Restaurant intelligence
Supports neighbourhood targeting (Waikiki, North Shore, Lahaina, Hilo, etc.), cuisine filters (poke, sushi, vegan, seafood, etc.), price filtering ($ → $$$$), and open-now filtering.
Two-step flow: call search_restaurants, then get_restaurant_details with the returned place_id.
๐ Supported islands
oahu ยท maui ยท big-island ยท kauai ยท molokai ยท lanai
๐ Discovery
- Server card: /.well-known/mcp/server-card.json
- Agent card: /.well-known/agent-card.json
- LLM instructions: /llms.txt
- Agent directives: /agents.txt
- Health: /health
๐งฉ Built for
- AI travel agents and itinerary builders
- Concierge and tour-operator bots
- Surf and ocean apps
- Tourism and hospitality platforms
- Food recommendation agents