Skip to main content
Glama

grubhub-mcp

an mcp server for grubhub. it can search restaurants, browse menus, build carts, inspect checkout state, attach payment, and place orders.

this also has campus dining helpers for usc/carolinacard. it can pull the same campus-card balances the grubhub mobile app shows, including meals, retail meals, meal plan dollars, and carolina cash when grubhub returns them.

python 3.11+ is required. dependencies: mcp, httpx, pydantic

setup

python -m venv .venv
source .venv/bin/activate
pip install -e .
python -m grubhub_mcp

on windows:

python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e .
python -m grubhub_mcp

by default the server runs over stdio, which is what most local mcp clients want.

{
  "mcpServers": {
    "grubhub": {
      "command": "/path/to/grubhub-mcp/.venv/bin/python",
      "args": ["-m", "grubhub_mcp"]
    }
  }
}

Related MCP server: FoodDash

env vars

MCP_TRANSPORT=stdio | http | streamable-http | sse
HOST=127.0.0.1
PORT=8001
MCP_PATH=/mcp
MCP_ALLOWED_HOSTS=comma,separated,hosts
MCP_ALLOWED_ORIGINS=comma,separated,origins
MCP_JSON_RESPONSE=1
GRUBHUB_SESSION_DIR=~/.grubhub-mcp
GRUBHUB_USER_AGENT="Grubhub/2026.24.2 (Android; Android 15)"

GRUBHUB_SESSION_DIR is where login state is stored. keep that directory private. the session file contains grubhub auth tokens.

undocumented endpoints (yay genymotion!)

this talks to grubhub's private/mobile api. some endpoints were mapped from the android app, including the campus-card balance call:

/tapingo/payments/{diner_udid}/campus-cards/v2/cards-balances

reverse engineering is EPIC!

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sawyershoemaker/grubhub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server