Uber Eats MCP Server
Allows AI assistants to browse menus, manage carts, and place orders on Uber Eats through natural language commands.
README
Claude, I’m hungry. 🍜
Order food from Uber Eats through natural language in Cursor or Claude Code — with an assistant that can browse menus, prep checkout, and (when you say so) place the order.
This project is an MCP server (Model Context Protocol): a small program your AI client starts over stdio so it can call tools like uber_eats_search and uber_eats_checkout_preview.
It is not a Cursor extension / VS Code plugin.
Under the hood: Uber web JSON APIs for search, menus, cart (add/remove via addItemsToDraftOrderV2 / removeItemsFromDraftOrderV2), checkout, and orders. Playwright is used for login, optional address picker UI, and place order fallback when API submit is unavailable or fails.
What you can do
- Browse & decide fast
- Search and browse nearby stores
- Pull full menus with categories and item prices
- Get item detail payloads (including customization metadata where available)
- Cart & checkout prep
- View cart via API (draft order + carts view)
- Checkout preview with totals, fees, tip options, and delivery address
- List eligible payment methods (when cart is non-empty)
- Set checkout tip / select payment / apply promo / view savings
- Orders
- Track active orders (and past orders)
- “Reorder helper” that resolves the store + previous items (then add with
uber_eats_add_to_cartAPI)
- Reverse-engineering mode
- Run an API discovery browser that logs full request/response bodies to
~/.ubereats-api-log.jsonl
- Run an API discovery browser that logs full request/response bodies to
Quick start (after git clone)
From inside uber-eats-mcp/ (this folder):
macOS / Linux
chmod +x scripts/setup.sh
./scripts/setup.sh
Windows (PowerShell)
powershell -ExecutionPolicy Bypass -File scripts\setup.ps1
Manual (same as the scripts)
uv sync
uv run playwright install chromium
The setup script prints a ready-to-paste JSON block with the correct path to this clone.
Connect Cursor
- Open Cursor → Settings → MCP (or edit the MCP config file your Cursor version uses).
- Merge the
uber-eatsentry into your existingmcpServersobject (do not delete other servers). - Restart Cursor or reload MCP.
If you prefer a project-local config, add .cursor/mcp.json in a project and paste the same mcpServers snippet.
Example shape (use the exact output from ./scripts/setup.sh so paths match your machine):
{
"mcpServers": {
"uber-eats": {
"command": "uv",
"args": ["run", "--directory", "/path/to/uber-eats-mcp", "uber-eats-mcp"]
}
}
}
Requires uv on your PATH: install uv.
Optional: “I’m hungry” Cursor rule
This repo includes .cursor/rules/uber-eats-hungry.mdc, which nudges the agent to call the Uber Eats tools when you sound hungry or want to order.
- It is not part of the
pip/ wheel install —pyproject.tomlonly packages the Python server (server.py,api.py, …). Cloning the repo (or copying the file) is what brings the rule in. - For Cursor to load it, open
uber-eats-mcpas the project root, or copyuber-eats-hungry.mdcinto your own app’s.cursor/rules/.
Connect Claude Code
Add an .mcp.json at the root of the project you open in Claude Code (or use the global location your version documents). Use the same mcpServers JSON as above.
Typical flow (what the assistant should do)
uber_eats_loginuber_eats_get_preferences(optional personalization)uber_eats_get_address(confirm delivery address)uber_eats_searchoruber_eats_nearby_restaurantsuber_eats_restaurant_menu→ decide items- If needed:
uber_eats_menu_item_detail/uber_eats_get_item_options uber_eats_add_to_cart(API — requiresrestaurant_url)uber_eats_view_cartuber_eats_checkout_preview- Optional:
uber_eats_list_payment_methods,uber_eats_set_checkout_payment,uber_eats_set_checkout_tip,uber_eats_apply_promo - Only after explicit confirmation:
uber_eats_place_order(API submit first, browser fallback if needed)
Run without MCP (debug)
uv run uber-eats-mcp
or
uv run python server.py
Environment (optional)
| Variable | Meaning |
|---|---|
UBEREATS_WEB_LOCALE |
Country-language path for the website (login, address UI, discovery). Default cl-en (Chile, English), matching https://www.ubereats.com/cl-en. Set to us-en, mx-en, etc. for other regions, or empty to open https://www.ubereats.com/ only. |
UBEREATS_QUIET |
If 1 / true, hides the MCP startup banner on stderr. |
UBEREATS_LOGIN_TRACE |
Default on: each uber_eats_login clears then appends JSON lines to ~/.ubereats-mcp-login-trace.jsonl (no cookie values). In another terminal: tail -f ~/.ubereats-mcp-login-trace.jsonl. Set to 0 to disable. After a successful save, look for storage_audit_after_save: session_file_exists, positive session_cookie_entries, session_includes_sid_cookie, config_file_exists, config_has_sid_field — that pattern means disk storage looks healthy. |
UBEREATS_DISCOVERY_LOG |
Path to the browser discovery JSONL (full API request/response bodies). Default ~/.ubereats-api-log.jsonl. Set to e.g. …/uber-eats-mcp/discovery-api-log.jsonl so logs stay in this repo; scripts/run_discovery_interactive.py sets that automatically. Cursor MCP: add the same path under env for uber_eats_discover_apis. |
Headed browser (login, address, discovery): only one flow runs at a time. If the assistant triggers uber_eats_login twice in parallel, or login runs while another tool opens the same browser, Playwright can error with page or browser has been closed—run one login and wait for it to finish.
What gets stored locally
Session and preferences are under your home directory (e.g. ~/.ubereats-session.json, ~/.ubereats-preferences.json). Do not commit those.
If login fails mid-way, you may see ~/.ubereats-session.json.prelogin.bak (and a matching .ubereats-config.json.prelogin.bak). A successful retry restores them automatically; if *.prelogin.bak exists but the main files do not, you can recover manually: copy each *.prelogin.bak over the non-.bak filename (then remove the .bak files if you like).
Prerequisites
- Python ≥ 3.12
- uv (recommended) or another way to install from
pyproject.toml - Chromium via Playwright (
playwright install chromium— included in the setup scripts)
More tools
See the tool list in Cursor/Claude Code after connecting. The implementation lives in server.py.
Legal
This project is unofficial and not affiliated with, endorsed by, or sponsored by Uber Technologies, Inc. in any way. Uber Eats and the Uber logo are trademarks of Uber Technologies, Inc.
- Reverse-engineered APIs. This tool interacts with Uber Eats through undocumented internal APIs captured from browser network traffic. These APIs are not publicly supported and may change or break without notice.
- Terms of Service. Automating interactions with Uber Eats may violate their Terms of Service. You are solely responsible for ensuring your use complies with Uber's terms. The authors take no responsibility for account suspensions, bans, or any other consequences arising from use of this tool.
- No warranty. This software is provided as-is. Orders placed through this tool are your responsibility — always verify your order, delivery address, and payment method before confirming.
- Use responsibly. Do not use this tool for bulk ordering, scraping, or any activity that places undue load on Uber's infrastructure.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.