npm install -g swiggy-cli
swiggy # full-screen app: search, arrow keys, Enter, cart, checkout — one screen

swiggy-cli is a direct client for Swiggy's public API, covering all four services Swiggy opens to builders: Food, Instamart, Dineout and Scenes. People get a full-screen app where every result is a row you can select. Agents get one stable JSON envelope per command, fixed exit codes, and a confirmation gate on anything that spends money.
Powered by Swiggy. This is an independent, community-built CLI, not an official Swiggy product. The Swiggy name and mark are trademarks of Swiggy Limited, shown unmodified per Swiggy's brand guidelines to identify the service this tool integrates with. Listings, prices and availability come from Swiggy and are shown as received.
Links · Builder docs · Tool reference · Skills on skills.sh · Wiki · AGENTS.md · Changelog
Contents
Is this a wrapper over an MCP?
No. Swiggy's only public API for builders is JSON-RPC over HTTPS: one POST per call to mcp.swiggy.com/{food,im,dineout,scenes} with a Bearer token. That wire format is the Model Context Protocol, which is why Swiggy's docs call the endpoints "MCP servers". swiggy-cli speaks it directly with fetch, the way gh speaks GitHub's GraphQL. There is no MCP SDK, no MCP client process and no model in between; npm ls shows three dependencies and none of them is one.
What that buys you:
- Sanctioned. It uses the documented OAuth flow and the documented tools, so it keeps working when Swiggy ships changes, and it never touches the private app endpoints Swiggy tells third parties not to call.
- Nothing to run. No server to start, no client to configure. Sign in once and type commands.
- Everything Swiggy publishes, on the day it ships. Named commands cover the catalog;
swiggy call <server> <tool> reaches any tool, including ones newer than this release.
CLI or direct connection?
Swiggy's servers can be reached two ways: connect them to a chat app (Claude, ChatGPT, Cursor) and let the model call the tools, or use this CLI. They are good at different things.
For people