Swiggy
by @regalstreak
Order food, groceries, and book restaurants in India via Swiggy's MCP servers. Food delivery, Instamart groceries, and Dineout restaurant bookings with safety-first confirmation workflow.
clawhub install swiggyπ About This Skill
name: swiggy description: "Order food, groceries, and book restaurants in India via Swiggy's MCP servers. Food delivery, Instamart groceries, and Dineout restaurant bookings with safety-first confirmation workflow."
Swiggy Skill
Order food, groceries, and book restaurants in India via Swiggy's MCP servers.
Installation
The skill includes a swiggy CLI binary. After installing the skill:
cd skills/swiggy
npm link
This creates a global swiggy command. Verify with: which swiggy
When to Use
Available Commands
Food Delivery
# Search restaurants
swiggy food search "biryani" --location "Koramangala, Bengaluru"Get menu
swiggy food menu Cart management
swiggy food cart add --quantity 2
swiggy food cart show
swiggy food cart clearOrder (requires confirmation)
swiggy food order --address "home" --confirm
Instamart (Groceries)
# Search products
swiggy im search "eggs" --location "HSR Layout, Bengaluru"Cart operations
swiggy im cart add --quantity 3
swiggy im cart show
swiggy im cart clearCheckout (requires confirmation)
swiggy im order --address "home" --confirm
Dineout (Restaurant Bookings)
# Search restaurants
swiggy dineout search "Italian Indiranagar"Get details
swiggy dineout details Check availability
swiggy dineout slots --date 2026-01-30Book table (free bookings only, requires confirmation)
swiggy dineout book --date 2026-01-30 --time 20:00 --guests 2 --confirm
CRITICAL: Safety Rules
β οΈ NEVER Auto-Order
ALWAYS get explicit confirmation before placing orders.1. Show cart preview first: - All items with quantities and prices - Total amount - Delivery address - Estimated delivery time (food/groceries)
2. Ask for confirmation:
Ready to order:
- 2x Chicken Biryani (βΉ500)
- 1x Raita (βΉ60)
Total: βΉ560 + delivery
Deliver to: Home (HSR Layout)
ETA: 30-40 mins
Confirm order? (yes/no)
3. Only after user says YES:
- Run the order command with --confirm flag
- Log to memory/swiggy-orders.json
COD Warning
Swiggy MCP currently supports Cash on Delivery only. Orders cannot be cancelled once placed. Always double-check before confirming.Address Handling
Workflow Examples
Food Order Flow
# 1. Search
swiggy food search "biryani near Koramangala"2. Browse menu (use restaurant ID from search)
swiggy food menu rest_123453. Add to cart
swiggy food cart add item_67890 --quantity 14. Preview cart
swiggy food cart show5. Show preview to user, ask confirmation
6. If confirmed, order
swiggy food order --address "HSR Layout, Sector 2, Bengaluru" --confirm
Grocery Shopping Flow
# 1. Search items
swiggy im search "eggs" --location "Koramangala"
swiggy im search "milk" --location "Koramangala"2. Add to cart
swiggy im cart add item_11111 --quantity 2
swiggy im cart add item_22222 --quantity 13. Preview
swiggy im cart show4. Confirm with user
5. Checkout
swiggy im order --address "Koramangala, Bengaluru" --confirm
Restaurant Booking Flow
# 1. Search
swiggy dineout search "Italian Indiranagar"2. Check details
swiggy dineout details rest_999993. Check slots
swiggy dineout slots rest_99999 --date 2026-01-304. Show options to user, confirm choice
5. Book
swiggy dineout book rest_99999 --date 2026-01-30 --time 20:00 --guests 2 --confirm
Error Handling
Tips
Order Logging
After successful order, append to memory/swiggy-orders.json:
{
"timestamp": "2026-01-28T21:16:00+05:30",
"type": "food",
"items": [...],
"total": "βΉ560",
"address": "HSR Layout",
"orderId": "..."
}
Authentication
Swiggy MCP uses OAuth. First use will trigger auth flow. The swiggy CLI handles this via mcporter.
Dependencies
mcporter skill (uses it under the hood)Known Limitations
Remember: Confirmation BEFORE ordering. Every. Single. Time. πΎ