Grubhub

io.github.markswendsen-code由 GitHub 账号 markswendsen-code 发布v0.1.3更新于 Oct 28, 2026

MCP server for GrubHub - let AI agents order food and manage restaurant delivery autonomously

已验证STDIO仅桌面位置与生活浏览器自动化

概览

AI 生成的概览

Grubhub 连接器,让 AI 助手登录账号、搜索餐厅、加入购物车、下单外卖并跟踪配送。

可以做什么
  • 登录、查看登录状态并清除已保存的会话
  • 设置配送地址,按名称、菜系或食物类型搜索餐厅
  • 查看餐厅详情和完整菜单及菜品价格
  • 将菜品加入购物车、查看购物车并清空购物车
  • 在结账时预览或提交订单
  • 跟踪进行中的订单并查看历史订单
适用场景
适合希望由助手端到端处理 Grubhub 外卖的场景:按地址查找餐厅、从菜单组建订单、下单并跟踪配送状态,无需自己切换到应用。
运行要求
以 npm 包形式在本地通过 stdio 运行(npx @striderlabs/mcp-grubhub),仅支持桌面端。需要 Grubhub 账号并设置 GRUBHUB_EMAIL 与 GRUBHUB_PASSWORD,且需要网络访问;登录使用 Playwright 浏览器自动化,并将会话 Cookie 保存到本地配置文件。
安装前请注意
该服务器需要以 GRUBHUB_PASSWORD 提供 Grubhub 账号密码,并把会话 Cookie 保存在磁盘上,能访问该机器或配置文件的人即可冒用你的账号。结账会提交真实订单并产生费用,确认前请先查看预览。购物车与订单操作会改变账号状态。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Grubhub,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@striderlabs/mcp-grubhub

Order food delivery via Grubhub using AI agents

[npm] [MCP Registry] [License: MIT]

Part of Strider Labs — action execution for personal AI agents.

For Agents

This connector is designed for personal AI agents to autonomously order food on behalf of their human. Agents can:

  • Understand context: "My user usually orders from Thai places in the morning and Italian restaurants in the evening"
  • Optimize for preferences: Search restaurants that match dietary restrictions, price range, or past favorites
  • Execute autonomously: Place complete orders (search → menu → cart → checkout) in a single agent turn
  • Track delivery: Monitor orders and notify the user when food is arriving

Example agent workflow:

Agent: "The user said they're hungry. Search for Thai restaurants near 123 Main St, find Pad Thai, add a large order to the cart, and place it with default payment method."

The agent calls:

  1. grubhub_set_address → "123 Main St"
  2. grubhub_search_restaurants → { query: "Thai", cuisine: "Thai" }
  3. grubhub_get_restaurant → Browse menus
  4. grubhub_add_to_cart → Add Pad Thai
  5. grubhub_checkout → { confirm: true } to place order
  6. grubhub_track_order → Monitor delivery status

All in seconds, without human intervention.

Features

  • 🔐 Login with email/password via browser automation
  • 🔍 Search restaurants by name, cuisine, or food type
  • 📜 Browse menus with full item details and prices
  • 🛒 Manage cart — add items, view, and clear
  • 💳 Place orders with a confirmation step
  • 📍 Track orders with real-time status
  • 📋 Order history — browse past orders
  • 💾 Persistent sessions — stay logged in across restarts

Quick Start

Install

bash
npm install @striderlabs/mcp-grubhub

Or with npx:

bash
npx @striderlabs/mcp-grubhub

Claude Desktop Configuration

Add to your ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "grubhub": {      "command": "npx",      "args": ["-y", "@striderlabs/mcp-grubhub"]    }  }}

Your Agent Can Now

"Order Thai food from nearby restaurants with delivery in under 30 minutes"→ Agent searches → Browses menus → Places order → Confirms delivery

Metrics

  • Weekly downloads: 123 (Apr 10-17, 2026) — Growing Strider Labs connector
  • Status: ✅ Live in production
  • Reliability: 85%+ task completion rate
  • Discovery: npm, mcpservers.org, ClawHub, PulseMCP, Glama

Authentication

On first use, call grubhub_login with your email and password. The server uses Playwright browser automation to log in and saves session cookies to ~/.config/striderlabs-mcp-grubhub/cookies.json for future use.

To log out:

grubhub_logout

Available Tools

Authentication

ToolDescription
grubhub_statusCheck login status
grubhub_loginLog in with email and password
grubhub_logoutClear stored session

Ordering

ToolDescription
grubhub_set_addressSet delivery address
grubhub_search_restaurantsSearch by query or cuisine
grubhub_get_restaurantGet restaurant details and full menu
grubhub_add_to_cartAdd item to cart
grubhub_view_cartView current cart
grubhub_clear_cartClear all cart items
grubhub_checkoutPreview or place order

Tracking

ToolDescription
grubhub_track_orderTrack active order status
grubhub_get_ordersGet order history

Example Usage

1. grubhub_login — log in with your credentials2. grubhub_set_address — set your delivery address3. grubhub_search_restaurants — find a restaurant4. grubhub_get_restaurant — browse the menu5. grubhub_add_to_cart — add items6. grubhub_checkout (confirm=false) — review order7. grubhub_checkout (confirm=true) — place order8. grubhub_track_order — track delivery

Available Elsewhere

License

MIT — Strider Labs

来源:README.md,提交 c014fb1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。