⨠What is Blinkit MCP?
Blinkit MCP is a plug-and-play MCP server that allows Claude Desktop to automate your grocery shopping on Blinkit.
Your AI can:
- š Search for products (groceries, electronics, etc.)
- š Add items to your cart
- š Manage delivery locations
- š³ Automate checkout and UPI payments
- š Login securely with phone and OTP
- š Review past orders and recurring buying patterns
No manual clicking required. Just ask Claude to buy milk.
š¬ Quick Demo
https://github.com/user-attachments/assets/531f09ad-648a-4ee2-9271-5993ce637093
š” Ask Claude: "Buy milk from Blinkit"
š Quick Start (30 seconds)
-
Install
uv(if you don't have it):macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | shWindows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" -
(Optional) Pre-install Browsers
If you want to speed up the first run:uvx playwright install chromium # OR if you have Node.js: # npx playwright install chromium -
Download the MCP bundle
š blinkit-mcp.mcpb -
Double-click the
.mcpbfile ā Claude Desktop installs it automatically. -
Open Claude Desktop and start shopping.
š„ Key Features
š¦ One-Click Installation (Recommended)
Download and install directly in Claude Desktop: Supports: macOS ⢠Windows ⢠Linux
š ļø Manual Installation
If you prefer to run from source:
-
Clone and Run:
git clone https://github.com/hereisSwapnil/blinkit-mcp.git cd blinkit-mcp # Install uv (if needed) curl -LsSf https://astral.sh/uv/install.sh | sh # Install Python dependencies uv sync # Install Playwright browsers uv run playwright install chromium # Run the server uv run main.py -
Configure Claude Desktop:
Add this to your
claude_desktop_config.json:{ "mcpServers": { "blinkit-mcp": { "command": "/usr/local/bin/uv", "args": ["run", "main.py"], "cwd": "/absolute/path/to/blinkit-mcp", "env": { "HEADLESS": "false" } } } }(Set
HEADLESStofalseto see the browser action, ortruefor background mode)
š§° Available MCP Tools
š¬ Example Queries
- "Buy milk from Blinkit to my home and use my UPI for payment"
- "Order 2 packets of Maggi and pay via UPI"
- "Get me some chips, deliver to office, and checkout"
š Project Structure
blinkit-mcp/
āāā main.py # MCP server entry point
āāā src/
ā āāā auth/ # Authentication module
ā ā āāā service.py # Auth service implementation
ā āāā order/ # Order management module
ā ā āāā blinkit_order.py # Main order controller
ā ā āāā services/ # Domain services
ā ā āāā base.py # Base service class
ā ā āāā search.py # Search logic
ā ā āāā location.py # Location logic
ā ā āāā cart.py # Cart logic
ā ā āāā checkout.py # Checkout & Payment logic
ā ā āāā history.py # Order history logic
ā āāā server.py # MCP Tool definitions
āāā test/
ā āāā cli.py # CLI for testing independent of Claude
āāā README.md
š License
Licensed under the MIT License.
Blinkit MCP turns Claude into your personal grocery assistant.
ā ļø Disclaimer
This project is an experimental proof of concept and is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Blinkit (Grofers India Private Limited), or any of its subsidiaries or its affiliates. The official Blinkit website can be found at blinkit.com.