入门
快速开始
三步连接智能体并获取实时等待时间。试用无需密钥:不使用密钥每天可调用 100 次。
连接 Waity
MCP 客户端会获得三个工具:
find_waits、get_wait和 get_history。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": [ … ],每天 100 次不够用?免费密钥每天 1,000 次:见密钥与套餐。