Skip to main content
Glama

purdue-dining

A personalized Purdue dining assistant that pulls live menus and tells you what to eat. Works on your phone with ChatGPT or Claude.

Quick Setup

ChatGPT (easiest — works on phone)

  1. Open ChatGPT → Explore GPTs

  2. Search "Purdue Dining" by David Gao

  3. Start chatting — say "I'm hungry"

Has memory — it remembers your food preferences across conversations.

Claude (works on phone)

  1. Go to claude.ai → Settings → Connectors

  2. Add a custom connector with this URL:

    https://purdue-dining-mcp-production.up.railway.app/mcp
  3. Open Claude on your phone — the connector syncs automatically

  4. Say "I'm hungry"

Claude Code / Claude Desktop (local MCP — full features)

The local MCP server adds persistent preference tracking, meal history, ratings, and a recommendation engine.

{
  "mcpServers": {
    "purdue-dining": {
      "command": "uvx",
      "args": ["purdue-dining"]
    }
  }
}

Related MCP server: Yale Dining MCP

What You Get

Setup

Live Menus

Preferences

Works on Phone

ChatGPT GPT

Yes

ChatGPT memory (persistent)

Yes

Claude Connector

Yes

In conversation

Yes

Local MCP Server

Yes

SQLite (persistent)

No (desktop)

How it works

Say things like:

  • "I'm hungry"

  • "What's open right now?"

  • "What's at Wiley for dinner?"

  • "The Korean pork at Earhart was great" (saves to memory on ChatGPT)

It checks the live Purdue dining API, filters by what's actually open, and recommends real menu items with station names. Never guesses or makes up food.

Supported locations

All Purdue dining locations:

  • Dining Courts: Earhart, Ford, Hillenbrand, Wiley, Windsor

  • On-the-GO: Earhart, Ford, Windsor, Lawson

  • Quick Bites: 1bowl at Meredith, Pete's Za at Tarkington, Sushi Boss at Meredith

Architecture

The remote server (src/purdue_menu/remote.py) is a lightweight proxy deployed on Railway. It serves:

  • MCP protocol at /mcp — for Claude connectors

  • REST API at /api/whats-open and /api/menu/{location} — for ChatGPT GPT Actions

No database, no user data stored. Preferences live in the AI client. The server just proxies the Purdue HFS dining API (public, no auth).

Privacy

  • Zero user data stored on the server

  • No API keys or authentication required

  • No logging of requests

  • Preferences are stored by ChatGPT/Claude on their side, not ours

  • Open source — read every line of code

License

MIT

Available Tools

12 tools
check_timeA

Get current time context for dining decisions.

Returns the current time, day, meal period, and any urgency notes. Use this to factor time into food recommendations — it matters whether it's 7 AM on a Monday or 8 PM on a Saturday.

Inputs: no named parameters. Returns: result

get_historyB

View your recent meal history and ratings.

Args:
    limit: Number of recent entries to show (default 10)

Inputs: limit. Returns: result

get_menuA

Get today's menu for a specific dining location.

Args:
    location: Dining location name (e.g. "wiley", "ford", "earhart", "hillenbrand",
              "windsor", "1bowl", "petes za", "sushi boss", or full names)
    meal: Optional meal filter — "breakfast", "lunch", or "dinner"

Use this when someone asks "what's at Wiley?" or "show me the Ford menu".

Inputs: location (required), meal. Returns: result

get_preferencesA

View your current food preference profile.

Shows allergies, dislikes, favorites, dietary preferences, etc.

Inputs: no named parameters. Returns: result

get_startedA

Check if the user is new and needs onboarding setup.

ALWAYS call this on the first interaction in a conversation.
Returns the user's current profile status — if they're new (no preferences,
no ratings), the assistant should walk them through a friendly setup chat.

The setup should feel conversational, not like a form. Ask about:
1. Any food allergies or dietary restrictions
2. Foods they love (favorites)
3. Foods they hate (dislikes)
4. Which dining courts they usually go to
5. Any diet goals (high protein, vegetarian, etc.)

Then use set_preference to save each answer.

Inputs: no named parameters. Returns: result

log_mealA

Log a meal you ate. This builds your taste profile over time.

Use this when someone says "I had the chicken at Wiley" or "just ate at Ford, it was great".

Args:
    item_name: What you ate (e.g. "Grilled Chicken", "Pasta Primavera")
    location: Where you ate (e.g. "wiley", "ford")
    meal_type: "breakfast", "lunch", or "dinner" (auto-detected if not given)
    mood: How you're feeling (e.g. "tired", "great", "stressed")
    hunger_level: 1 (snack) to 5 (starving)
    rating: 1-5 rating of the food
    notes: Any additional notes

Inputs: item_name (required), mood, notes, rating, +3 more. Returns: result

rate_itemA

Rate a food item from 1-5. Quick way to build your taste profile.

Use this when someone says "the chicken was great" or "that pasta was a 2".

Args:
    item_name: Name of the food item
    rating: 1 (terrible) to 5 (amazing)
    location: Optional — where you had it

Inputs: rating (required), item_name (required), location. Returns: result

remove_preferenceB

Remove a preference.

Args:
    key: Preference type to remove
    value: Specific value to remove. If not given, removes ALL preferences with this key.

Inputs: key (required), value. Returns: result

set_campus_statusA

Toggle whether the user is currently on/near Purdue campus.

Use this when someone says "I'm leaving campus", "going on break",
"I'm back at Purdue", etc. When off-campus, the assistant won't
proactively suggest dining tools.

Args:
    on_campus: True if at/near Purdue, False if away (vacation, break, etc.)

Inputs: on_campus (required). Returns: result

set_preferenceA

Set a dietary preference, allergy, or food preference.

Use this to set up the user's profile. Examples:
- set_preference("allergy", "peanuts")
- set_preference("dislike", "tofu")
- set_preference("favorite", "grilled chicken")
- set_preference("favorite_location", "wiley")
- set_preference("vegetarian", "true")
- set_preference("diet", "high protein")

Args:
    key: Preference type — "allergy", "dislike", "favorite", "favorite_location",
         "vegetarian", "diet", or any custom key
    value: The preference value

Inputs: key (required), value (required). Returns: result

what_should_i_eatA

Get personalized food recommendations based on your preferences and what's available.

This is THE main tool. Use it when someone says "I'm hungry", "what should I eat?",
"I'm at Wiley", or anything about deciding what to eat.

Args:
    location: Optional — specific dining location. If not given, checks all open locations.
    mood: Optional — how the user feels (e.g. "tired", "stressed", "great", "lazy")
    hunger_level: Optional — 1 (snack) to 5 (starving)

Inputs: mood, location, hunger_level. Returns: result

whats_openA

Check what Purdue dining locations are currently open.

Returns a list of open locations with their current meal period and hours. Use this when someone asks "what's open?" or "where can I eat right now?"

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: menu lookup, open-status, recommendations, preferences CRUD, and history are all separable. The one real overlap is log_meal vs rate_item, since log_meal already accepts a rating and both build the taste profile, which could cause an agent to pick the wrong one. get_started also brushes against get_preferences as a profile-status check.

    Naming Consistency4/5

    The set is overwhelmingly snake_case with a verb_noun shape (set_preference, get_menu, log_meal, rate_item, remove_preference, get_history). The two question-style names (whats_open, what_should_i_eat) break the pattern but remain readable and self-explanatory.

    Tool Count5/5

    Twelve tools is well-scoped for a dining assistant: one per core capability (status, time, open, menu, recommend, log, rate, prefs, history). No obvious filler or redundancy that would warrant consolidation.

    Completeness4/5

    The surface covers the full dining lifecycle: onboarding, context (time/campus), discovery (open/menu/recommend), logging/rating, and preference management with add/get/remove. Minor gaps exist: no way to edit or delete a mistaken meal log, and no tool to list all dining locations independent of open status.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time access to menus from all six MIT Bon Appétit dining halls. It enables users to query daily or weekly schedules and filter options by specific dietary requirements such as vegan, halal, or gluten-free.
      53 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying Yale Hospitality dining menus, listing residential colleges, fetching meal offerings, and searching dishes across colleges via MCP tools.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides a local-first Chinese dietary coaching server that reviews meals, recomputes nutrition from bundled food data, and manages user profiles and meal history in a private local SQLite database.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables natural-language questions about the University of Michigan Ann Arbor dining halls' live menus, dish traits, allergens, nutrition panels, and opening hours pulled from dining.umich.edu. Supports searching and filtering dishes by name, allergen exclusions, required traits, calorie, sodium and carbon-footprint limits, plus checking which halls are serving right now.
      8
      78 npm
      MIT