grubhub-mcp
Allows searching restaurants, browsing menus, building carts, inspecting checkout state, attaching payment, and placing orders. Also supports retrieval of campus card balances for USC/CarolinaCard when available.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@grubhub-mcpsearch for vegan restaurants near me"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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_mcpon windows:
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e .
python -m grubhub_mcpby 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-balancesreverse engineering is EPIC!
Maintenance
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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