Skip to main content
Glama

purdue-mcp

Un servidor MCP para todos los datos públicos y en tiempo real de Purdue University — menús de comedor, ocupación del gimnasio en vivo, el catálogo de cursos, horarios de autobús, eventos del campus, organizaciones estudiantiles, horarios de bibliotecas, deportes, noticias y clima. Apunta cualquier cliente MCP (Claude Code, Claude Desktop, Cursor, …) a él y pregunta "¿qué hay de cena en Wiley?", "¿cómo está de ocupado el CoRec?" o "¿cuándo sale el próximo autobús del PMU?".

24 herramientas en 10 fuentes públicas.

Todo lo que lee es público y sin autenticación. Nunca toca una cuenta de estudiante, calificaciones, horarios, registros de tesorería ni nada detrás de un inicio de sesión de Purdue.

No oficial y gestionado por la comunidad. No está afiliado, respaldado ni operado por Purdue University.

Instalación

npm install -g purdue-mcp

O ejecútalo directamente desde el repositorio:

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

Related MCP server: SG Gov MCP Server

Conéctalo

Claude Code

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

Claude Desktop / Cursor — añádelo a tu configuración de MCP:

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

Herramientas

Restauración — API de restauración de Purdue HFS

Herramienta

Qué responde

dining_locations

Todos los comedores / Quick Bites / On-the-GO!, abiertos ahora o en la próxima comida

dining_menu

Menú completo de una ubicación y fecha, por comida y estación, con filtros veganos/vegetarianos/alérgenos

dining_find_item

"¿Quién sirve tiras de pollo hoy?" — busca en todos los comedores a la vez

dining_item_nutrition

Panel de nutrición completo para cualquier elemento del menú

dining_line_length

Informes en vivo de longitud de cola generados por la comunidad (disponibles en las horas punta de comidas)

Académico — catálogo de cursos de Purdue.io

Herramienta

Qué responde

list_terms

Códigos de término y rangos de fechas, los más recientes primero

list_subjects

Todos los códigos de asignatura (CS, MA, ENGR, …)

search_courses

Cursos por asignatura, número o palabra clave del título — con descripciones y horas de crédito

course_sections

CRNs, tipos de sección, días/horas de reunión, aulas e instructores para un término

find_building

Resuelve un código de edificio, p. ej. LWSN → Lawson Computer Science Bldg

Vida en el campus

Herramienta

Qué responde

search_events

Calendario oficial de la universidad — conferencias, deportes, ferias de empleo, fechas límite

search_student_orgs

~1,200 organizaciones estudiantiles registradas en BoilerLink

search_club_events

Próximos eventos de clubes: convocatorias, encuentros, reuniones

Instalaciones

Herramienta

Qué responde

recwell_occupancy

Recuento en vivo y % de capacidad de los 37 espacios contados de RecWell — "¿cómo está de ocupado el CoRec ahora?"

library_hours

Horario de hoy y estado abierto/cerrado de cada biblioteca, o la semana completa

Deportes

Herramienta

Qué responde

athletics_sports

Todos los equipos universitarios y el calendario de su temporada actual

athletics_schedule

Temporada completa de un equipo: rivales, clasificaciones, local/visitante, sede, resultados

athletics_upcoming

Próximos partidos de los Boilermakers en todos los deportes, de más próximos a más lejanos

Cómo moverse

Herramienta

Qué responde

bus_routes

Todas las rutas de CityBus que dan servicio al campus y a Greater Lafayette

bus_stops

Busca paradas por nombre, o las paradas más cercanas a una lat/lon

bus_next_departures

Próximas salidas programadas desde una parada, con los minutos restantes

Noticias y fechas límite

Herramienta

Qué responde

purdue_news

Artículos oficiales de la sala de prensa, con búsqueda

academic_calendar

Primer día de clases, vacaciones, semana de exámenes finales, fechas límite de alta/baja, programación de exámenes

Entorno

Herramienta

Qué responde

campus_weather

Condiciones actuales, previsión y alertas activas del NWS para West Lafayette

Las fechas se fijan por defecto en hoy en la zona horaria del campus (America/Indiana/Indianapolis), por lo que el servidor da la respuesta correcta sin importar dónde se ejecute.

Fuentes de datos

Fuente

Endpoint

Notas

Purdue Dining (HFS)

api.hfs.purdue.edu/menus/v2

Oficial, público, sin autenticación

Purdue.io

api.purdue.io/odata

Espejo de catálogo de código abierto gestionado por la comunidad (Purdue-io/PurdueApi)

Purdue Events

events.purdue.edu/api/2

API pública de Localist

BoilerLink

purdue.campuslabs.com/engage/api/discovery

API pública de descubrimiento de Anthology Engage

Purdue RecWell

goboardapi.azurewebsites.net (Connect2)

Contadores de ocupación en vivo; la clave de cuenta es la que incorpora el propio widget público de Purdue

Purdue Libraries

calendar.lib.purdue.edu

Endpoints públicos de horarios de Springshare LibCal

Purdue Athletics

purduesports.com/website-api

API JSON pública del sitio oficial de deportes

Purdue Newsroom / Registrar

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

API REST de WordPress

CityBus

bus.gocitybus.com GTFS

Fuente de horarios estática; no existe una fuente pública en tiempo real

NOAA / NWS

api.weather.gov

API pública federal

Las respuestas se almacenan en caché dentro del proceso con TTL cortos (30 s–24 h según la velocidad a la que se muevan los datos) para ser un cliente educado. Nada se persiste en disco.

Descartado (investigado, sin fuente pública)

  • Disponibilidad de lavadoras — Purdue trasladó las lavanderías de las residencias a CSCPay Mobile, que no tiene una página web pública de estado. El antiguo host washalertweb que la aplicación comunitaria usaba ya no resuelve.

  • Posiciones de autobús en tiempo real — CityBus publica solo GTFS estático. Ninguna fuente GTFS-Realtime aparece en Transitland ni en Mobility Database, y el backend de MyRide no es público. bus_next_departures devuelve los horarios programados.

  • Disponibilidad de aparcamientos — Purdue Parking no publica recuentos de plazas en vivo.

  • Disponibilidad de asientos / listas de espera — está detrás del inicio de sesión de myPurdue. Fuera del alcance por diseño.

Añadir una fuente

Cada fuente es un archivo en src/sources/ que exporta un registerX(server) que llama a server.registerTool(...). Regístralo en src/index.ts. Usa getJSON() de src/lib/http.ts para heredar el tiempo de espera, el User-Agent y la caché.

Reglas a seguir:

  1. Solo datos públicos. Nada que requiera un inicio de sesión de Purdue, y nada sobre una persona en concreto.

  2. Verifica que el endpoint esté activo antes de publicarlo: npm run smoke consulta todos los servicios reales y es el conjunto de pruebas.

  3. Sé un cliente educado. TTL de caché razonable, sin sondeos intensivos.

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

Licencia

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
      -