Skip to main content
Glama

purdue-mcp

Один MCP-сервер для всех публичных и актуальных данных Purdue University — меню столовых, загрузка спортзалов в реальном времени, каталог курсов, расписания автобусов, события кампуса, студенческие организации, часы работы библиотек, спорт, новости и погода. Подключите любой MCP-клиент (Claude Code, Claude Desktop, Cursor, …) и спросите «что на ужин в Wiley», «насколько загружен CoRec» или «когда следующий автобус от PMU».

24 инструмента из 10 публичных источников.

Все, что он читает, публично и не требует аутентификации. Он никогда не касается студенческого аккаунта, оценок, расписаний, финансовых записей или чего-либо, что находится за входом в Purdue.

Неофициальный проект, поддерживаемый сообществом. Не связан с Purdue University, не одобрен им и не управляется им.

Установка

npm install -g purdue-mcp

Или запустите прямо из репозитория:

git clone https://github.com/sharziki/purdue-mcp && cd purdue-mcp
npm install && npm run build

Related MCP server: SG Gov MCP Server

Подключение

Claude Code

claude mcp add purdue -- npx -y purdue-mcp

Claude Desktop / Cursor — добавьте в ваш конфигурационный файл MCP:

{
  "mcpServers": {
    "purdue": {
      "command": "npx",
      "args": ["-y", "purdue-mcp"]
    }
  }
}

Инструменты

Питание — Purdue HFS dining API

Инструмент

Что отвечает

dining_locations

Все столовые / Quick Bites / On-the-GO!, открытые сейчас или к следующему приёму пищи

dining_menu

Полное меню для заведения и даты, по приёмам пищи и станциям, с фильтрами по веган/вегетариан/аллергенам

dining_find_item

«Кто сегодня подаёт куриные стрипсы?» — ищет по всем столовым одновременно

dining_item_nutrition

Полная таблица пищевой ценности для любого блюда

dining_line_length

Краудсорсинговые отчёты о длине очереди в реальном времени (заполняются в часы пик)

Учебные курсы — каталог курсов Purdue.io

Инструмент

Что отвечает

list_terms

Коды семестров и диапазоны дат, сначала новые

list_subjects

Каждый код предмета (CS, MA, ENGR, …)

search_courses

Курсы по предмету, номеру или ключевому слову в названии — с описаниями и зачётными часами

course_sections

CRNs, типы разделов, дни/время встреч, аудитории и преподаватели для семестра

find_building

Определить код здания, например LWSN → Lawson Computer Science Bldg

Студенческая жизнь

Инструмент

Что отвечает

search_events

Официальный календарь университета — лекции, спорт, ярмарки вакансий, дедлайны

search_student_orgs

~1,200 зарегистрированных студенческих организаций на BoilerLink

search_club_events

Предстоящие мероприятия клубов: открытые встречи, социальные события, собрания

Инфраструктура

Инструмент

Что отвечает

recwell_occupancy

Живой показатель посещаемости и % заполненности для всех 37 учитываемых зон RecWell — «насколько загружен CoRec прямо сейчас»

library_hours

Часы работы на сегодня и статус открыто/закрыто для каждой библиотеки, а также на всю неделю

Спорт

Инструмент

Что отвечает

athletics_sports

Каждая университетская команда и её текущее расписание сезона

athletics_schedule

Полный сезон для одной команды — соперники, рейтинги, дома/в гостях, площадка, результаты

athletics_upcoming

Следующие игры Boilermaker по всем видам спорта, сначала ближайшие

Транспорт

Инструмент

Что отвечает

bus_routes

Каждый маршрут CityBus, обслуживающий кампус и Greater Lafayette

bus_stops

Поиск остановок по названию или ближайших к координатам (широта/долгота)

bus_next_departures

Ближайшие отправления от остановки с количеством минут до отправления

Новости и дедлайны

Инструмент

Что отвечает

purdue_news

Официальные статьи из пресс-службы, доступные для поиска

academic_calendar

Первый день занятий, каникулы, экзаменационная неделя, сроки добавления/удаления курсов, расписание экзаменов

Погода

Инструмент

Что отвечает

campus_weather

Текущие условия, прогноз и активные предупреждения NWS для West Lafayette

Даты по умолчанию соответствуют сегодняшнему дню в часовом поясе кампуса (America/Indiana/Indianapolis), поэтому сервер даёт правильный ответ независимо от того, где он запущен.

Источники данных

Источник

Конечная точка

Примечания

Purdue Dining (HFS)

api.hfs.purdue.edu/menus/v2

Официальный, публичный, без аутентификации

Purdue.io

api.purdue.io/odata

Зеркало каталога с открытым исходным кодом под управлением сообщества (Purdue-io/PurdueApi)

Purdue Events

events.purdue.edu/api/2

Публичный API Localist

BoilerLink

purdue.campuslabs.com/engage/api/discovery

Публичный API обнаружения Anthology Engage

Purdue RecWell

goboardapi.azurewebsites.net (Connect2)

Живые счётчики посещаемости; ключ аккаунта — тот же, что использует официальный публичный виджет Purdue

Purdue Libraries

calendar.lib.purdue.edu

Публичные конечные точки часов работы Springshare LibCal

Purdue Athletics

purduesports.com/website-api

Публичный JSON API официального спортивного сайта

Purdue Newsroom / Registrar

purdue.edu/{newsroom,registrar}/wp-json

WordPress REST API

CityBus

bus.gocitybus.com GTFS

Статическая лента расписания; публичного потока реального времени не существует

NOAA / NWS

api.weather.gov

Публичный федеральный API

Ответы кэшируются в процессе с коротким временем жизни (30 с – 24 ч в зависимости от того, как быстро меняются данные), чтобы оставаться вежливым клиентом. Ничего не сохраняется на диск.

Исключено (проверено, публичного источника нет)

  • Доступность стиральных машин — Purdue перевёл стирку в общежитиях на CSCPay Mobile, у которого нет публичной страницы статуса. Старый хост washalertweb, который использовало приложение сообщества, больше не отвечает.

  • Позиции автобусов в реальном времени — CityBus публикует только статичный GTFS. Ни один GTFS-Realtime поток не указан на Transitland или в Mobility Database, а бэкенд MyRide не является публичным. bus_next_departures возвращает время по расписанию.

  • Доступность парковочных гаражей — Purdue Parking не публикует данные о свободных местах в реальном времени.

  • Доступность мест / листы ожидания — находится за логином myPurdue. Намеренно вне рамок проекта.

Добавление источника

Каждый источник — это один файл в src/sources/, который экспортирует registerX(server) и вызывает server.registerTool(...). Зарегистрируйте его в src/index.ts. Используйте getJSON() из src/lib/http.ts, чтобы унаследовать таймаут, User-Agent и кэш.

Правила работы:

  1. Только публичные данные. Ничего, что требует логина Purdue, и ничего о конкретном человеке.

  2. Проверьте, что конечная точка работает перед публикацией — npm run smoke обращается ко всем реальным источникам и является тестовым набором.

  3. Будьте вежливым клиентом. Разумный TTL кэша, без частого опроса.

npm run build
npm run smoke   # live end-to-end check of all tools

Лицензия

MIT

Available Tools

29 tools
academic_calendarPurdue academic calendar and registrar infoA

The official academic calendar — first day of classes, breaks, finals week, commencement — plus any registrar page (add/drop deadlines, exam scheduling, grade policies) by keyword. Source: purdue.edu/registrar (WordPress REST API, live).

Inputs: limit, query.

athletics_schedulePurdue team scheduleA

Full season schedule for one Purdue team — dates, opponents, home/away, venue, and final scores where played. Source: purduesports.com (official athletics site API).

Inputs: sport (required), upcoming_only.

athletics_sportsList Purdue varsity sportsB

Every Purdue varsity sport and its current schedule id. Source: purduesports.com (official athletics site API).

Inputs: no named parameters.

athletics_upcomingNext Purdue games across all sportsA

The next Boilermaker games across every varsity sport, soonest first — what to go watch this week. Source: purduesports.com (official athletics site API).

Inputs: days, limit, home_only.

bus_next_departuresNext scheduled buses from a stopA

Next scheduled CityBus departures from a stop today, by route and headsign. These are timetable times — CityBus publishes no public real-time feed, so buses may run early or late. Source: CityBus GTFS feed.

Inputs: stop (required), date, limit.

bus_routesList CityBus routesA

Every CityBus route serving Purdue and Greater Lafayette. Source: CityBus GTFS feed (scheduled service; CityBus publishes no public real-time feed).

Inputs: query.

bus_stopsFind CityBus stopsA

Search CityBus stops by name, or find the stops nearest a latitude/longitude on campus. Source: CityBus GTFS feed.

Inputs: lat, lon, limit, query.

campus_weatherPurdue campus weatherA

Current conditions and forecast for the Purdue West Lafayette campus, plus any active severe-weather alerts. Source: NOAA/NWS api.weather.gov (live).

Inputs: hourly, periods.

course_availabilityLive seat and waitlist counts for a courseA

How many seats are actually open in each section of a course right now, with waitlist counts, CRNs, meeting times, and instructors. This is the authoritative registration data — use it over search_courses/course_sections when the question is 'can I get in'. Source: Purdue Banner self-service (public, live).

Inputs: number (required), subject (required), term, limit, +1 more.

course_sectionsGet sections and meeting times for a courseB

CRNs, section types, meeting days/times, rooms, and instructors for a course in a given term. Source: Purdue.io.

Inputs: number (required), subject (required), term.

dining_find_itemFind a food item across dining courtsA

Search every Purdue dining court's menu for a dish on a given date — answers 'who is serving chicken tenders today'. Source: Purdue HFS dining API (live).

Inputs: query (required), date, meal, include_retail.

dining_item_nutritionNutrition facts for a dining itemA

Full nutrition panel for one menu item, by the item id returned from dining_menu or dining_find_item. Source: Purdue HFS dining API (live).

Inputs: item_id (required).

dining_line_lengthLive dining court line lengthsA

Crowdsourced real-time line-length reports for Purdue dining courts. Often empty outside peak hours. Source: Purdue HFS dining API (live).

Inputs: no named parameters.

dining_locationsList Purdue dining locationsA

List every Purdue dining location (dining courts, quick bites, On-the-GO!) with whether it is open right now and the next meal period. Source: Purdue HFS dining API (live).

Inputs: type, open_now.

dining_menuGet a dining court menuC

Full menu for one Purdue dining location on a date, by meal period and station, with dietary tags. Source: Purdue HFS dining API (live).

Inputs: location (required), date, meal, vegan_only, +2 more.

find_buildingLook up a campus buildingA

Resolve a Purdue building short code or name (e.g. 'LWSN' -> Lawson Computer Science Building). Source: Purdue.io.

Inputs: query.

library_hoursPurdue library hoursA

Today's hours and open/closed status for every Purdue library and study space (WALC, Hicks, HSSE, Parrish, Archives, …), or a full week's grid. Source: Purdue Libraries LibCal (live).

Inputs: week, query, open_now.

list_subjectsList course subjectsA

All course subject codes at Purdue (CS, MA, ENGR, …), optionally filtered by name. Source: Purdue.io.

Inputs: query.

list_termsList Purdue academic termsA

Every term in the Purdue course catalog, newest first, with codes and date ranges. Use the code with the other course tools. Source: Purdue.io (community catalog mirror).

Inputs: limit.

purdue_exponentPurdue Exponent student newspaperB

Articles from the Purdue Exponent, the independent student newspaper — campus reporting, student government, local news, sports coverage. Editorially independent of the university. Source: purdueexponent.org public feed.

Inputs: limit, section.

purdue_newsPurdue University newsA

Official Purdue newsroom articles — research announcements, university decisions, campus news — searchable by keyword. Source: purdue.edu/newsroom (WordPress REST API, live).

Inputs: limit, query, full_text.

recwell_occupancyLive gym / CoRec occupancyA

Real-time headcount and percent-of-capacity for every counted Purdue RecWell space — CoRec fitness floors, tracks, courts, climbing walls, pools. Answers 'how busy is the gym right now'. Source: Purdue RecWell live facility counts (updates ~every 30s).

Inputs: sort, query, open_only.

reddit_purdueWhat Purdue students are talking aboutA

Current posts from r/Purdue — the unofficial student pulse: housing and sublease chatter, campus gripes, events, advice threads, what is actually happening this week. Unofficial and unmoderated by the university; treat as opinion, not fact. Source: reddit.com/r/Purdue public feed.

Inputs: sort, limit.

search_club_eventsSearch student-org events on BoilerLinkA

Upcoming student organization events (club meetings, socials, callouts) with time, room, and host org. Distinct from the official university calendar. Source: BoilerLink / Anthology Engage (live).

Inputs: limit, query.

search_coursesSearch the Purdue course catalogB

Find courses by subject code, course number, and/or title keyword — returns titles, credit hours, and descriptions. Source: Purdue.io.

Inputs: limit, number, subject, title_contains.

search_eventsSearch official Purdue campus eventsB

Official university event calendar (lectures, athletics, concerts, deadlines, career fairs) with times, locations, and links. Source: events.purdue.edu (Localist, live).

Inputs: days, limit, query, start.

search_student_orgsSearch Purdue student organizationsB

Search BoilerLink's directory of ~1,200 registered student organizations by name or keyword. Source: BoilerLink / Anthology Engage (live).

Inputs: limit, query.

section_detailsFull registration detail for one CRNA

Everything Banner knows about one section: seats, waitlist, prerequisites, and major/level restrictions. Answers 'why can't I register for this'. Meeting times come from course_availability or course_sections. Source: Purdue Banner self-service (public, live).

Inputs: crn (required), term.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 29 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action, such as bus stops versus departures, dining locations versus menus, and course search versus availability. The descriptions clearly differentiate overlapping domains like official events and club events.

    Naming Consistency5/5

    All 29 tools follow a consistent snake_case pattern with a domain-specific prefix (bus_, dining_, list_, search_, etc.) and a descriptive verb or noun. The naming is predictable and easy to interpret.

    Tool Count3/5

    With 29 tools, the set is on the high side, exceeding the typical 3-15 range for a well-scoped server. However, the server covers a broad range of university functions (dining, transportation, courses, events, athletics, etc.), and each tool serves a specific purpose, making the count borderline reasonable.

    Completeness4/5

    The server covers most common Purdue queries: dining, bus, courses, registration, events, athletics, news, calendar, library, weather, recwell, and student organizations. Minor gaps like parking or a campus map exist, but the surface is extensive and cohesive.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      An MCP server that connects AI assistants to university D2L Brightspace and Piazza, enabling query of courses, grades, assignments, deadlines, files, and Piazza posts.
      7
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      MCP server for St. Louis transit developer tooling, providing 45 tools for GTFS and GTFS-Realtime inspection, feed surveillance, schedule and arrival queries, assertions, drift detection, and golden-fixture generation for the Light Phone 3 Kotlin transit app, all backed by public unauthenticated sources.
      45
      -