purdue-mcp
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 buildRelated MCP server: SG Gov MCP Server
Подключение
Claude Code
claude mcp add purdue -- npx -y purdue-mcpClaude Desktop / Cursor — добавьте в ваш конфигурационный файл MCP:
{
"mcpServers": {
"purdue": {
"command": "npx",
"args": ["-y", "purdue-mcp"]
}
}
}Инструменты
Питание — Purdue HFS dining API
Инструмент | Что отвечает |
| Все столовые / Quick Bites / On-the-GO!, открытые сейчас или к следующему приёму пищи |
| Полное меню для заведения и даты, по приёмам пищи и станциям, с фильтрами по веган/вегетариан/аллергенам |
| «Кто сегодня подаёт куриные стрипсы?» — ищет по всем столовым одновременно |
| Полная таблица пищевой ценности для любого блюда |
| Краудсорсинговые отчёты о длине очереди в реальном времени (заполняются в часы пик) |
Учебные курсы — каталог курсов Purdue.io
Инструмент | Что отвечает |
| Коды семестров и диапазоны дат, сначала новые |
| Каждый код предмета (CS, MA, ENGR, …) |
| Курсы по предмету, номеру или ключевому слову в названии — с описаниями и зачётными часами |
| CRNs, типы разделов, дни/время встреч, аудитории и преподаватели для семестра |
| Определить код здания, например |
Студенческая жизнь
Инструмент | Что отвечает |
| Официальный календарь университета — лекции, спорт, ярмарки вакансий, дедлайны |
| ~1,200 зарегистрированных студенческих организаций на BoilerLink |
| Предстоящие мероприятия клубов: открытые встречи, социальные события, собрания |
Инфраструктура
Инструмент | Что отвечает |
| Живой показатель посещаемости и % заполненности для всех 37 учитываемых зон RecWell — «насколько загружен CoRec прямо сейчас» |
| Часы работы на сегодня и статус открыто/закрыто для каждой библиотеки, а также на всю неделю |
Спорт
Инструмент | Что отвечает |
| Каждая университетская команда и её текущее расписание сезона |
| Полный сезон для одной команды — соперники, рейтинги, дома/в гостях, площадка, результаты |
| Следующие игры Boilermaker по всем видам спорта, сначала ближайшие |
Транспорт
Инструмент | Что отвечает |
| Каждый маршрут CityBus, обслуживающий кампус и Greater Lafayette |
| Поиск остановок по названию или ближайших к координатам (широта/долгота) |
| Ближайшие отправления от остановки с количеством минут до отправления |
Новости и дедлайны
Инструмент | Что отвечает |
| Официальные статьи из пресс-службы, доступные для поиска |
| Первый день занятий, каникулы, экзаменационная неделя, сроки добавления/удаления курсов, расписание экзаменов |
Погода
Инструмент | Что отвечает |
| Текущие условия, прогноз и активные предупреждения NWS для West Lafayette |
Даты по умолчанию соответствуют сегодняшнему дню в часовом поясе кампуса (America/Indiana/Indianapolis), поэтому сервер даёт правильный ответ независимо от того, где он запущен.
Источники данных
Источник | Конечная точка | Примечания |
Purdue Dining (HFS) |
| Официальный, публичный, без аутентификации |
Purdue.io |
| Зеркало каталога с открытым исходным кодом под управлением сообщества (Purdue-io/PurdueApi) |
Purdue Events |
| Публичный API Localist |
BoilerLink |
| Публичный API обнаружения Anthology Engage |
Purdue RecWell |
| Живые счётчики посещаемости; ключ аккаунта — тот же, что использует официальный публичный виджет Purdue |
Purdue Libraries |
| Публичные конечные точки часов работы Springshare LibCal |
Purdue Athletics |
| Публичный JSON API официального спортивного сайта |
Purdue Newsroom / Registrar |
| WordPress REST API |
CityBus |
| Статическая лента расписания; публичного потока реального времени не существует |
NOAA / NWS |
| Публичный федеральный 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 и кэш.
Правила работы:
Только публичные данные. Ничего, что требует логина Purdue, и ничего о конкретном человеке.
Проверьте, что конечная точка работает перед публикацией —
npm run smokeобращается ко всем реальным источникам и является тестовым набором.Будьте вежливым клиентом. Разумный TTL кэша, без частого опроса.
npm run build
npm run smoke # live end-to-end check of all toolsЛицензия
MIT
Available Tools
29 toolsacademic_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.
banner_termsList Banner registration termsA
Terms available in Purdue's live registration system, newest first. Terms marked 'View only' are closed to registration. Source: Purdue Banner self-service.
Inputs: no named parameters.
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.
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
Scored across 29 tools
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.
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.
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.
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
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Public MCP server for discovering open jobs. Search, filter, and get application links.
One MCP server for 180+ live web-data APIs returning clean JSON from sites that block scrapers.
The official Planning Center MCP server for interacting with your ministry's data.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that connects AI assistants to university D2L Brightspace and Piazza, enabling query of courses, grades, assignments, deadlines, files, and Piazza posts.7MIT
- AlicenseAqualityDmaintenanceUnified MCP server offering 30 tools for Singapore government and public data including weather, transport, education, and property, with many tools working immediately without API keys.34MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that aggregates department notices and provides structured answers to queries about courses, schedules, and academic dates via tool calling.-
- FlicenseAqualityDmaintenanceMCP 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-