Skip to main content
Glama
USC WebReg/Course Catalog MCP

USC WebReg/Course Catalog MCP

by shreeyachand

USC WebReg/Course Catalog MCP

MCP server exposing USC's public course catalog API (classes.usc.edu) for AI agents. Allows you to ask questions like, "What GE B options are there on Tuesday/Thursday that start after noon?"

Setup

Using .mcpb

You can download the latest MCP bundle from releases and open it in Claude Desktop. This is the easiest way to do it since it avoids any dependency issues by bundling the environment with the tools, and there is a nice UI walking you through the setup.

Cloning locally

git clone https://github.com/shreeyachand/usc-webreg-mcp.git
cd usc-webreg-mcp

Build once:

npm install
npm run build

opencode

Add to ~/.config/opencode/opencode.jsonc:

{
  "mcp": {
    "usc-courses": {
      "type": "local",
      "command": ["node", "/absolute/path/to/usc-webreg-mcp/dist/index.js"],
      "enabled": true
    }
  }
}

Claude Code

Add a .mcp.json in the project root (or run claude mcp add):

{
  "mcpServers": {
    "usc-courses": {
      "command": "node",
      "args": ["/absolute/path/to/usc-webreg-mcp/dist/index.js"]
    }
  }
}

Related MCP server: Brown Courses MCP Server

Tools

Tool

Description

list_terms

All academic terms with season/year/status

get_term

Single term details by termCode (e.g. 20263)

list_schools

Schools/colleges and their programs for a term

list_programs

Programs (departments) and their school for a term

get_program

Program details/notes (D-clearance info)

list_course_prefixes

Every subject prefix in the catalog

list_sessions

Enrollment sessions and drop dates

check_course_exists

Whether a course code exists in the catalog

get_syllabus_index

SimpleSyllabus index URL for a term

get_section_fees

Fees for a section by sisSectionId

search_courses

Keyword search of the catalog (code/title/description)

get_course

Full course record incl. all sections, prereqs, restrictions

list_courses_by_program

All courses for a school+program

list_ge_requirements

GE structure (requirements + category prefixes)

list_courses_by_ge

Courses satisfying a GE category

get_ge_category_details

Name/details of a GE category

Schedule filters

search_courses, list_courses_by_program, and list_courses_by_ge accept optional section filters: days (["Mon","Wed"]), startAfter/startBefore ("12:00"), and openOnly.

Example: GE B classes meeting Mon+Wed at/after noon:

list_courses_by_ge(termCode=20263, geRequirementPrefix=ACORELIT,
  geCategoryPrefix=HINQ, days=["Mon","Wed"], startAfter="12:00")

Chat examples

One simple question I ask when evaluating MCP servers is, "Can Claude do this reasonably well out of the box?". Web search tends to get agents pretty far in most tasks, but you can see for yourself how it didn't really help here with two chats starting with the same prompt:

  1. without this mcp enabled, web search only

  2. with this mcp enabled

M8ven Score

Available Tools

16 tools
check_course_existsA
Read-onlyIdempotent

Check whether a course code exists anywhere in the USC catalog (not limited to a single term). Accepts codes like 'CSCI-103'. Returns true/false.

Inputs: course (required).

get_courseA
Read-onlyIdempotent

Get the full record for a single USC course in a term by its course code (e.g. 'CSCI-103'). Includes description, units, GE code, prerequisites, corequisites, restrictions, and all sections with schedule, instructor, seats, fees, and syllabus URL. Supports optional section filters (days, startAfter, startBefore, openOnly) applied client-side.

Inputs: termCode (required), courseCode (required), days, openOnly, +2 more.

get_ge_category_detailsA
Read-onlyIdempotent

Get the name and details of a single General Education (GE) category within a requirement for a term. Useful to confirm what a GE category prefix means (e.g. what 'HINQ' covers).

Inputs: termCode (required), geCategoryPrefix (required), geRequirementPrefix (required).

get_programA
Read-onlyIdempotent

Get details for a single USC program in a term, including program-specific notes (e.g. enrollment or D-clearance instructions). Requires the program's school prefix (find via list_programs) and the program prefix.

Inputs: school (required), program (required), termCode (required).

get_section_feesA
Read-onlyIdempotent

Get the fees for a single course section by its SIS section id (the 'sisSectionId' field on a section, e.g. '29934'). Returns any tuition/fee items attached to the section.

Inputs: sectionId (required).

get_syllabus_indexA
Read-onlyIdempotent

Get the SimpleSyllabus index URL for a term, which can be used to look up published syllabi for that term's sections. Individual sections also carry a 'syllabus' URL directly.

Inputs: termCode (required).

get_termA
Read-onlyIdempotent

Get details for a single academic term by its numeric termCode (e.g. 20263 = Fall 2026). Returns season, year, status, and activation date.

Inputs: termCode (required).

list_course_prefixesA
Read-onlyIdempotent

List every USC subject prefix in the catalog (e.g. CSCI, MATH, AHIS) across all terms, with its name. Useful for discovering what subjects exist.

Inputs: no named parameters.

list_courses_by_geA
Read-onlyIdempotent

List all courses in a term that satisfy a General Education (GE) category, with their sections. Requires the GE requirement prefix and category prefix, which can be discovered via list_ge_requirements (e.g. GE B 'Humanistic Inquiry' = geRequirementPrefix 'ACORELIT', geCategoryPrefix 'HINQ'). Supports optional section filters (days, startAfter, startBefore, openOnly) applied client-side.

Inputs: termCode (required), geCategoryPrefix (required), geRequirementPrefix (required), days, +3 more.

list_courses_by_programA
Read-onlyIdempotent

List all courses offered by a USC program (department) in a term. Requires the school prefix and program prefix, which can be discovered via list_programs. For example, Computer Science is school 'ENGV' and program 'CSCI'. Returns courses with their sections. Supports optional section filters (days, startAfter, startBefore, openOnly) applied client-side.

Inputs: school (required), program (required), termCode (required), days, +3 more.

list_ge_requirementsA
Read-onlyIdempotent

List USC General Education (GE) requirements for a term. Returns the GE structure grouped by requirement era ('Fall2015OrLater' for current students, 'BeforeFall2015' for older catalogs). Each requirement has a prefix and categories with prefixes (e.g. GE B 'Humanistic Inquiry' is category prefix 'HINQ' under requirement 'ACORELIT'). Use the prefixes with list_courses_by_ge.

Inputs: termCode (required).

list_programsA
Read-onlyIdempotent

List all USC programs (departments/majors) in a term, each with its prefix, name, and the school prefix(es) it belongs to. Use this to find the school+program pair needed for list_courses_by_program (e.g. Computer Science is program 'CSCI' under school 'ENGV').

Inputs: termCode (required).

list_schoolsA
Read-onlyIdempotent

List all USC schools/colleges offering classes in a term, each with its prefix (e.g. 'ENGV' = Viterbi, 'DRNS' = Dornsife) and the programs (departments) it contains. Useful for navigating the catalog structure.

Inputs: termCode (required).

list_sessionsA
Read-onlyIdempotent

List USC enrollment sessions (e.g. regular session '001', summer sessions) with their term, session code, description, last drop date, and RNR session id. Useful for understanding session codes shown on sections.

Inputs: no named parameters.

list_termsA
Read-onlyIdempotent

List all USC academic terms available in the course catalog, each with season, year, term code, and status. Use this to find the termCode for a given semester (e.g. 20263 = Fall 2026).

Inputs: no named parameters.

search_coursesA
Read-onlyIdempotent

Search the USC course catalog for a term by keyword. Matches course codes, titles, and descriptions (e.g. 'machine learning', 'CSCI', 'art history'). Returns matching courses with their sections, including schedule, instructor, and seat availability. Supports optional section filters (days, startAfter, startBefore, openOnly) applied client-side.

Inputs: termCode (required), searchTerm (required), days, openOnly, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools cleanly separate listing, detail lookup, and course discovery, but a few overlaps exist: check_course_exists is similar to get_course/search_courses, and the multiple list_courses_* variants all return courses with sections. Descriptions are specific enough that an agent can usually pick correctly, though some boundary cases require close reading.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern: list_* for collections, get_* for single records, and search_courses/check_course_exists as clear special cases. All names are snake_case, and related tools are predictably grouped.

    Tool Count4/5

    16 tools is slightly above the ideal range but justifiable given the domain's breadth: terms, schools, programs, course prefixes, sessions, GE requirements, fees, and syllabi all need coverage. A couple of tools like check_course_exists or get_syllabus_index feel auxiliary, but they do not make the set bloated.

    Completeness4/5

    The catalog surface is well covered: term navigation, program/school structure, course search and detail, GE lookup, sections, fees, sessions, and syllabi are all represented. Minor gaps include lack of a direct single-section lookup, no search by instructor, and no registration/enrollment actions, but for a read-only catalog the core workflows are complete.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers