CookUnity MCP
The CookUnity MCP server enables comprehensive management of a CookUnity meal delivery account — from browsing menus to placing orders — directly through an AI assistant.
Menu & Discovery
Browse the menu: Explore available meals for a delivery date with filters for category, diet, price, and rating
Search meals: Find meals by keyword across name, description, cuisine, chef, ingredients, and diet tags
Get meal details: View full nutritional info, allergens, ingredients, chef info, and diet tags for a specific meal
Cart & Orders
View/manage cart: See, add, remove, or clear cart items for a specific delivery date
Confirm order: Lock in cart selections as a confirmed order before the cutoff deadline
Price breakdown: Get an estimated total including subtotal, taxes, delivery fee, discounts, credits, and promo savings
Deliveries & Scheduling
Next delivery: Quickly see your nearest upcoming delivery and its meals
List deliveries: View all upcoming delivery weeks with status, cutoff deadlines, and skip state
Skip/unskip a delivery: Skip or restore a specific upcoming delivery week
Account & History
User info: View your profile, subscription plan, delivery schedule, addresses, and available credits
Order history: Browse past orders with pagination and full invoice details (meal names, prices, reviews, billing breakdowns)
cookunity-mcp-server
⚠️ Unofficial. This project is not affiliated with, endorsed by, or associated with CookUnity in any way. It was built by reverse-engineering their internal APIs for personal use.
MCP server for CookUnity meal delivery service. Browse menus, manage carts, confirm orders, skip/unskip deliveries, and view order history.
Installation
npm install -g cookunity-mcp-serverOr run directly with npx:
npx cookunity-mcp-serverRelated MCP server: DoorDash MCP Server
Tools (15)
Menu & Discovery
Tool | Description |
| Browse meals with filters (category, diet, price, rating) & pagination |
| Search by keyword across name, description, cuisine, chef, ingredients, diet tags |
| Full nutritional info, allergens, and ingredients for a specific meal |
Cart & Orders
Tool | Description |
| View cart contents for a specific delivery date |
| Add meal to cart by inventory_id and date |
| Remove meal from cart by inventory_id |
| Clear all cart items for a delivery date |
| Confirm/place order — locks in cart items for delivery |
Deliveries & Scheduling
Tool | Description |
| Get nearest delivery with meals (order, cart, or auto-picks) — use for "what's my next delivery?" |
| All upcoming weeks with status, meals, cutoffs, skip state |
| Skip a delivery week |
| Unskip a previously skipped week |
Account & Pricing
Tool | Description |
| User profile, plan, delivery days, addresses, credits |
| Order history with pagination |
| Price estimate with taxes, fees, credits, and promo discounts |
Typical Workflow
1. cookunity_list_deliveries → Find next editable delivery date + cutoff
2. cookunity_get_menu → Browse available meals for that date
3. cookunity_search_meals → Search for specific cuisines/proteins
4. cookunity_get_meal_details → Check nutrition/allergens
5. cookunity_add_to_cart → Add meals (repeat until plan is full)
6. cookunity_get_price_breakdown→ Verify total before confirming
7. cookunity_confirm_order → Lock in the order ✅Important: Without confirming, cart items are NOT locked in. CookUnity auto-fills with its own recommendations at the cutoff deadline.
Setup
Environment Variables
Variable | Required | Description |
| Yes | CookUnity account email |
| Yes | CookUnity account password |
| No |
|
| No | HTTP port when using |
Configuration
Claude Desktop / Cursor / OpenClaw (stdio)
{
"mcpServers": {
"cookunity": {
"command": "npx",
"args": ["cookunity-mcp-server"],
"env": {
"COOKUNITY_EMAIL": "your@email.com",
"COOKUNITY_PASSWORD": "your-password"
}
}
}
}Streamable HTTP (remote)
COOKUNITY_EMAIL=your@email.com COOKUNITY_PASSWORD=your-password TRANSPORT=http PORT=3000 npx cookunity-mcp-serverFrom Source (development)
git clone https://github.com/ggonzalezaleman/cookunity-mcp.git
cd cookunity-mcp
npm install
npm run build
node dist/index.jsAPI Details
This server reverse-engineers CookUnity's internal GraphQL APIs:
Menu Service (
https://menu-service.cookunity.com/graphql) — meal browsing and searchSubscription Service (
https://subscription-back.cookunity.com/graphql) — cart, orders, deliveries, user info
Authentication uses Auth0 with the cookunity realm. Tokens are cached and refreshed automatically.
Known Limitations
GraphQL introspection is disabled — schemas were reverse-engineered from frontend JS bundles and error probing
createOrderrequires the exact number of meals matching the user's plan (e.g., 6 for a 6-meal plan)Delivery window is currently hardcoded to 11:00–20:00 (matches most US plans)
License
MIT
Available Tools
16 toolscookunity_add_to_cartAdd Meal to CookUnity CartA
Add a meal to the cart for a specific delivery date.
Args:
date (string, required): YYYY-MM-DD delivery date
inventory_id (string, required): Inventory ID from menu/search results
quantity (number): Portions to add, default 1 (max 10)
batch_id (number, optional): Batch ID from menu results
Returns: Confirmation with updated quantity
Examples:
Add one meal: { date: "2025-02-24", inventory_id: "ABC123" }
Add 2 portions: { date: "2025-02-24", inventory_id: "ABC123", quantity: 2 }
Error Handling:
Invalid inventory_id: API returns error
Past cutoff: API returns error — check cutoff with cookunity_list_deliveries first
Inputs: date (required), inventory_id (required), quantity, batch_id.
cookunity_clear_cartClear CookUnity CartADestructiveIdempotent
Clear all items from the cart for a specific delivery date. This removes ALL meals.
Args:
date (string, required): YYYY-MM-DD delivery date
Returns: Confirmation message
Error Handling:
Past cutoff: API returns error
Inputs: date (required).
cookunity_confirm_orderConfirm CookUnity OrderA
Confirm/place the order for a delivery date. Takes the current cart contents and submits them as an order.
Prerequisites:
Meals must be in the cart (use cookunity_add_to_cart first)
Must be before the cutoff (check with cookunity_list_deliveries)
Cart should have enough meals to meet the plan minimum (typically 6)
Args:
date (string, required): YYYY-MM-DD delivery date
comment (string, optional): Delivery instructions
tip (number, optional): Tip amount in dollars
Returns: Order confirmation with ID and payment status, or error with out-of-stock meal IDs
Important: Without confirming, cart items are NOT locked in. CookUnity will auto-fill with recommendations at cutoff instead.
Inputs: date (required), comment, tip.
cookunity_get_cartGet CookUnity CartARead-onlyIdempotent
Get cart contents for a specific delivery date. Always call fresh — NEVER use cached results.
Args:
date (string, optional): YYYY-MM-DD. Defaults to next Monday.
response_format ('markdown'|'json')
Returns (JSON): { date, can_edit, is_skipped, cutoff, items[{ name, inventory_id, quantity, price, chef }], total_items, total_price }
Note: If the order is already confirmed, cart may be empty — use cookunity_list_deliveries or cookunity_next_delivery instead to see confirmed order items.
Error Handling:
Returns "Date not found" if date is not in upcoming deliveries
Inputs: date, response_format.
cookunity_get_meal_detailsGet CookUnity Meal DetailsARead-onlyIdempotent
Get full details for a specific meal including allergens, complete ingredients list, nutrition facts, diet tags, and chef info.
Args:
meal_id (number, optional): Numeric meal ID (e.g. 12272)
inventory_id (string, optional): Inventory ID (e.g. "ii-135055242")
date (string, optional): YYYY-MM-DD menu date. Defaults to next Monday.
response_format ('markdown'|'json'): Output format
At least one of meal_id or inventory_id is required.
Returns (JSON): Full meal object with allergens[], ingredients[], nutritionalFacts (incl. protein, sugar), searchBy tags, chef info Returns (Markdown): Formatted card with sections for Description, Nutrition, Ingredients, Allergens, Chef, Tags
Examples:
By ID: { meal_id: 12272 }
By inventory: { inventory_id: "ii-135055242" }
Specific week: { meal_id: 12272, date: "2026-02-23" }
Error Handling:
Meal not found: suggests checking the date or using cookunity_search_meals
Inputs: meal_id, inventory_id, date, response_format.
cookunity_get_price_breakdownGet CookUnity Price BreakdownARead-onlyIdempotent
Get a full price breakdown for a delivery including subtotal, taxes, delivery fee, discounts, and total.
Args:
date (string, optional): YYYY-MM-DD delivery date. Defaults to next Monday.
meals (array, optional): Meals to price, each with entityId, quantity, inventoryId. If omitted, prices the current cart contents.
response_format ('markdown'|'json'): Output format
Returns (JSON): { date, subtotal, taxes, delivery_fee, express_fee, promo_discount, total, total_after_credits, available_credits, qty_plan_meals, qty_items, total_extra_meals }
Returns (Markdown): Formatted order summary with line items and total.
Examples:
Current cart: { date: "2026-02-23" }
Specific meals: { date: "2026-02-23", meals: [{ entityId: 12272, quantity: 1, inventoryId: "ii-135055242" }] }
Error Handling:
If no meals provided and cart is empty, returns error suggesting to add meals first
Invalid meal IDs return API error
Inputs: date, meals, response_format.
cookunity_get_user_infoGet CookUnity User InfoARead-onlyIdempotent
Get user profile, subscription plan, delivery schedule, addresses, and credits.
Args:
response_format ('markdown'|'json'): Output format
Returns (JSON): { id, name, email, plan_id, store_id, status, deliveryDays[], currentCredit, addresses[] }
Examples:
Get profile: {}
Get as JSON: { response_format: "json" }
Inputs: response_format.
cookunity_list_deliveriesList Upcoming CookUnity DeliveriesARead-onlyIdempotent
List upcoming delivery weeks with full details: confirmed order items, cart contents, CookUnity auto-picks, skip/pause status, and cutoff deadlines.
IMPORTANT: Always call this tool to get FRESH data before answering any question about delivery status, meals, or orders. NEVER rely on cached or previously returned data — the user may have made changes on the website or app between calls.
Args:
response_format ('markdown'|'json')
Returns (JSON): { deliveries[{ date, status, can_edit, menu_available, cutoff, cutoff_timezone, cart_items[], cart_count, order, recommendation_items[] }] }
Examples:
See upcoming weeks: {}
Check what's in my carts: {}
Error Handling:
Auth errors suggest checking credentials
Inputs: response_format.
cookunity_list_ordersList CookUnity OrdersARead-onlyIdempotent
Get order history with delivery dates, paginated.
Args:
limit (number): Orders per page, default 20
offset (number): Pagination offset
response_format ('markdown'|'json')
Returns (JSON): { total, count, offset, has_more, orders[{ id, deliveryDate }] }
Inputs: limit, offset, response_format.
cookunity_next_deliveryGet Next CookUnity DeliveryARead-onlyIdempotent
Get the nearest upcoming delivery with full details — including today's delivery if it hasn't been delivered yet.
This is the recommended tool when the user asks about "my next delivery", "upcoming meals", "what's coming", etc. It returns the closest scheduled (non-skipped) delivery with its confirmed order items, cart items, or CookUnity auto-picks.
IMPORTANT:
"Next delivery" includes TODAY's delivery date. A delivery on today's date is still the "next" one unless it's already marked as completed/delivered.
Always call this tool FRESH for every user question. NEVER use previously cached results — the user may have changed their order, skipped/unskipped, or edited their cart on the website between calls.
Args:
response_format ('markdown'|'json')
Returns: The nearest delivery with date, status, meals (from order, cart, or recommendations), and cutoff info.
Inputs: response_format.
cookunity_order_historyGet CookUnity Order History with MealsARead-onlyIdempotent
Get past order invoices with full meal details, prices, reviews, and billing breakdown for a date range. This is the only way to see what meals were in past deliveries.
IMPORTANT: Always call this tool FRESH when the user asks about past orders or meals. NEVER rely on cached or previously returned data.
Args:
from (string, required): Start date YYYY-MM-DD (inclusive)
to (string, required): End date YYYY-MM-DD (inclusive)
limit (number): Invoices per page, default 10 (max 50)
offset (number): Pagination offset
response_format ('markdown'|'json')
Returns (JSON): { total, invoices[{ id, date, total, subtotal, taxes, deliveryFee, tip, discount, orders[{ delivery_date, items[{ name, chef, price, calories, rating, review }] }] }] }
Examples:
Last month: { from: "2026-01-01", to: "2026-01-31" }
Specific week: { from: "2026-02-03", to: "2026-02-09" }
All of 2025: { from: "2025-01-01", to: "2025-12-31", limit: 50 }
Error Handling:
Auth errors suggest checking credentials
Empty results if no invoices in date range
Inputs: from (required), to (required), limit, offset, +1 more.
cookunity_remove_from_cartRemove Meal from CookUnity CartADestructive
Remove a meal from the cart for a specific delivery date.
Args:
date (string, required): YYYY-MM-DD delivery date
inventory_id (string, required): Inventory ID of meal to remove
quantity (number): Portions to remove, default 1
Returns: Confirmation with updated quantity
Error Handling:
Meal not in cart: API returns error
Inputs: date (required), inventory_id (required), quantity.
cookunity_search_mealsSearch CookUnity MealsARead-onlyIdempotent
Search meals by keyword across name, description, cuisine, chef, ingredients, and diet tags.
Args:
query (string, required): Search keyword (min 1 char)
date (string, optional): YYYY-MM-DD. Defaults to next Monday.
limit (number): Results per page, default 20
offset (number): Pagination offset
response_format ('markdown'|'json'): Output format
Returns (JSON): { query, date, total, count, offset, has_more, meals[] }
Examples:
Find salmon dishes: { query: "salmon" }
Vegan meals: { query: "vegan" }
Chef search: { query: "Mario" }
Error Handling:
Empty query returns validation error
Inputs: query (required), date, limit, offset, +1 more.
cookunity_skip_deliverySkip CookUnity DeliveryAIdempotent
Skip a delivery week. IMPORTANT: Always call cookunity_list_deliveries first to get valid delivery dates — do NOT guess or calculate dates manually.
Args:
date (string, required): YYYY-MM-DD delivery date to skip (must match an actual delivery date from cookunity_list_deliveries)
Returns: Confirmation message with skip ID
Error Handling:
Invalid date: returns available delivery dates
Past cutoff: returns error suggesting checking cutoff with list_deliveries
Already skipped: returns API error
Inputs: date (required).
cookunity_unskip_deliveryUnskip CookUnity DeliveryAIdempotent
Unskip a previously skipped delivery week. IMPORTANT: Always call cookunity_list_deliveries first to get valid delivery dates — do NOT guess or calculate dates manually.
Args:
date (string, required): YYYY-MM-DD delivery date to unskip (must match an actual delivery date from cookunity_list_deliveries)
Returns: Confirmation message
Error Handling:
Invalid date: returns available delivery dates
Week not skipped: returns API error
Inputs: date (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool has a clearly distinct purpose with no significant overlap. For example, cookunity_add_to_cart, cookunity_remove_from_cart, and cookunity_clear_cart handle different cart operations, while cookunity_get_menu and cookunity_search_meals serve separate browsing needs. The descriptions reinforce these distinctions, making tool selection straightforward.
All tools follow a consistent 'cookunity_verb_noun' naming pattern with snake_case throughout. Verbs like 'get', 'list', 'add', 'remove', 'confirm', 'skip', and 'search' are used predictably, making the tool set highly readable and organized. There are no deviations in naming conventions.
With 16 tools, this server is well-scoped for managing a meal delivery service. It covers essential operations like browsing, cart management, ordering, delivery scheduling, and user info without being overwhelming. Each tool serves a clear purpose, and the count aligns with the domain's complexity.
The tool set provides complete coverage for the CookUnity domain, including CRUD operations for cart items (add, remove, clear, get), order lifecycle (confirm, list, history), delivery management (skip/unskip, list, next), and informational tools (menu, search, meal details, price breakdown, user info). There are no obvious gaps that would hinder agent workflows.
Maintenance
Related MCP Connectors
MCP server for Meitre restaurant reservations.
MCP server for SkuVault — products, inventory, sales, purchase orders and stock adjustments.
MCP server for customer-io
MCP server for Muovi, Argentina's trust-first local services marketplace: find pros, draft tasks.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA proof-of-concept Model Context Protocol server that enables LLM applications to interact with Uber Eats, allowing AI agents to browse and order food through natural language.241-
- AlicenseAqualityDmaintenanceEnables interaction with the DoorDash Drive API to create, manage, and track delivery requests including quotes, delivery creation, status checks, and cancellations.61MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing recipes, meal plans, shopping lists, and more through a self-hosted Mealie instance.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for MealMastery AI meal planning that enables users to manage meal plans, recipes, and grocery lists through natural language conversation with AI agents like Claude.52 npmMIT