NTNU API

•

Provides an asynchronous Python client, command-line interface, and MCP server for accessing NTNU course catalog, schedules, timetables, and grade statistics.

The NTNU API offers a robust asynchronous Python client to programmatically access public course data from the Norwegian University of Science and Technology. It unifies three distinct, no-authentication data sources—NTNU's course-page JSON, HK-dir DBH statistics API, and NTNU's TP timetable system—into a single, typed interface. Beyond the core client, it includes a convenient command-line interface for quick data retrieval and an MCP server designed to expose this rich course data to Large Language Model agents, serving as a foundational step for intelligent educational applications.

주요 기능

01MCP server for LLM agent integration with semantic data formatting.
020 GitHub stars
03Async Python client for NTNU course catalog, schedules, and grade data.
04Type-safe data models using Pydantic v2.
05Integrated CLI for direct terminal access to all client methods.
06Automated retry mechanism with exponential backoff for transient failures.

사용 사례

01Quickly retrieve and inspect NTNU course schedules, timetables, and grade statistics via the command line.
02Develop custom applications requiring NTNU course catalog and schedule data.
03Enhance LLM agents with access to structured NTNU course information for informed responses.