はじめに
クイックスタート
3 ステップでエージェントを接続し、リアルタイムの待ち時間を取得します。試すだけならキーは不要です:キーなしの呼び出しは 1 日 100 回まで。
Waity を接続する
MCP クライアントでは
find_waits、get_wait、get_history の 3 つのツールが使えます。REST API は設定不要で、ベース URL はhttps://api.waity.aiです。{ "mcpServers": { "waity": { "url": "https://api.waity.ai/mcp" } } }待ち時間を聞く
MCP クライアントでは普通の言葉で聞きます:「El Paso の国境検問所の待ち時間はどれくらい?」 REST では、場所の名前、都市、または位置情報を指定して
GET /v1/placesを呼び出します。curl "https://api.waity.ai/v1/places?q=El+Paso&category=border&view=minimal"回答を読む
summaryはそのまま伝え、warningsを最初にユーザーへ読み上げ、attributionの行を表示します。200レスポンス
{ "query": { "q": "El Paso", "category": ["border"], "view": "minimal", … }, "coverage": "live", "places": [ { "place": { "id": "pl_…", "name": "Ysleta Standard", "category": "border", … }, "summary": "About 7 min, posted by CBP, updated 9 min ago.", "now": { "status": "live", "usable": true, "value": 7, "unit": "min", … }, "links": { "details": "https://api.waity.ai/v1/places/pl_…?view=full", … } } ], "notes": [ … ],1 日 100 回では足りませんか?無料キーなら 1,000 回です:キーとプランをご覧ください。