सामग्री पर जाएँ

गाइड

MCP से कनेक्ट करें

Waity एक रिमोट MCP सर्वर है, जिसमें सिर्फ़ पढ़ने वाले तीन टूल हैं। इसे किसी भी ऐसे क्लाइंट में जोड़ें जो HTTP पर MCP समझता है।

सर्वर URL

URL

https://api.waity.ai/mcp

यह बिना कुंजी के काम करता है: हर सेशन को रोज़ 100 कॉल मिलती हैं। कुंजी हो तो उसे X-Api-Key या Authorization: Bearer के रूप में भेजें।

जो होस्टेड कनेक्टर सिर्फ़ URL लेता है, वह उसी में कुंजी ले सकता है: https://api.waity.ai/mcp?key=wk_…। Waity कभी query string लॉग नहीं करता, फिर भी उस URL को कुंजी की तरह सँभालें।

इसे अपने क्लाइंट में जोड़ें

Claude

  1. Settings खोलें, फिर Connectors।
  2. "Add custom connector" चुनें।
  3. इसका नाम Waity रखें, नीचे दिया URL पेस्ट करें और "Add" चुनें।
https://api.waity.ai/mcp

ChatGPT

  1. Settings खोलें, फिर "Apps & Connectors"।
  2. "Advanced settings" में "Developer mode" चालू करें।
  3. नीचे दिए URL के साथ Waity नाम का कनेक्टर बनाएँ, बिना ऑथेंटिकेशन के।
  4. चैट में टूल मेन्यू से Waity चुनें।
https://api.waity.ai/mcp

Claude Code

इसे टर्मिनल में चलाएँ:

claude mcp add --transport http waity https://api.waity.ai/mcp

फिर कनेक्शन जाँचने के लिए Claude Code में /mcp चलाएँ।

Cursor

या इसे ~/.cursor/mcp.json में जोड़ें:

{
  "mcpServers": {
    "waity": {
      "url": "https://api.waity.ai/mcp"
    }
  }
}

VS Code

या "MCP: Add Server" चलाएँ, HTTP चुनें और URL पेस्ट करें:

https://api.waity.ai/mcp

या इसे .vscode/mcp.json में जोड़ें:

{
  "servers": {
    "waity": {
      "type": "http",
      "url": "https://api.waity.ai/mcp"
    }
  }
}

दूसरे क्लाइंट

URL जोड़ें, या अगर आपका क्लाइंट कॉन्फ़िग फ़ाइल लेता है तो यह JSON:

{
  "mcpServers": {
    "waity": {
      "url": "https://api.waity.ai/mcp"
    }
  }
}

टूल

तीनों टूल सिर्फ़ पढ़ते हैं और आगे के लिंक तैयार टूल कॉल के रूप में लौटाते हैं; find_waits और get_wait डिफ़ॉल्ट रूप से minimal व्यू देते हैं।

find_waits

जगहें, उनके मौजूदा इंतज़ार के साथ: किसी पॉइंट के पास, नाम या जगह से, या id से।

नामटाइपविवरण
latnumberLatitude in decimal degrees
lngnumberLongitude in decimal degrees
qstringA place name, city, airport code or ZIP (at most 100 characters). With lat/lng, results sort by distance.
idsstring[]Up to 25 place ids, returned in this order.
categoryer | urgent-care | dmv | airport | border[]Only these categories. Omit for all. मौजूदा कवरेज; GET /v1/categories देखें।
openbooleantrue: only places open now.
sortdistance | wait | totaldistance (default with lat/lng), wait, or total (needs lat/lng).
limitinteger1 to 25, default 10.
viewminimal | fullminimal (default) for the essentials, full for sources, timestamps, hours and alternatives.

get_wait

एक जगह: अभी, आम तौर पर, कब घटेगा, और पास के विकल्प। ग्रुप id उसके अंदर की लाइनें लौटाता है।

नामटाइपविवरण
idज़रूरीstringA place id from find_waits, e.g. pl_xaed7pr1f5.
undernumberThreshold in minutes. Defaults: er, urgent-care and border 30, dmv 20, airport 15.
travel_minnumberTravel time in minutes, for a leave-by time.
datestringLocal date YYYY-MM-DD, today to 7 days ahead, to plan a day.
latnumberThe user's latitude, for distances.
lngnumberThe user's longitude, for distances.
forecastbooleanWith view minimal, add a compact hourly forecast [{at, value}].
viewminimal | fullminimal (default) for the essentials, full for sources, timestamps, hours and alternatives.

get_history

किसी जगह के प्रतीक्षा समय कैसे थे: घंटेवार, रोज़ाना या हर रीडिंग। की चाहिए; कभी विज़िट का अनुमान नहीं लगाता।

नामटाइपविवरण
idज़रूरीstringA place id from find_waits (one place, lane or department, not a group), e.g. pl_xaed7pr1f5.
fromstringStart, inclusive: a date YYYY-MM-DD (local to the place) or an ISO 8601 date-time with offset. Default: 7 days before to.
tostringEnd, exclusive: a date YYYY-MM-DD (local to the place) or an ISO 8601 date-time with offset. A date means the end of that day. Default: now.
granularityraw | hour | dayhour (default): hourly avg, median, p90, min, max. day: one row per local day. raw: every posted reading.
tierofficial | place | agentWhich kind of source. Default: the place's displayed source.
cursorstringpage.next_cursor from the previous page; carries the range.
limitintegerRows per page. Caps: raw 1000, hour 336, day 366.

MCP और REST

ज़रूरी कुकी साइट को चालू रखती हैं। वैकल्पिक एनालिटिक्स कुकी इसे बेहतर बनाने में मदद करती हैं। हमारी गोपनीयता नीति और शर्तें देखें।