USC WebReg/Course Catalog MCP
USC WebReg/Course Catalog MCP
MCP 服务器,为 AI 代理提供南加州大学(USC)公开课程目录 API(classes.usc.edu)的访问。允许你提出诸如"周二/周四中午之后开始的 GE B 选项有哪些?"之类的问题。
设置
构建一次:
npm install
npm run buildopencode
添加到 ~/.config/opencode/opencode.jsonc:
{
"mcp": {
"usc-courses": {
"type": "local",
"command": ["node", "/absolute/path/to/usc-webreg-mcp/dist/index.js"],
"enabled": true
}
}
}Claude Code
在项目根目录添加 .mcp.json(或运行 claude mcp add):
{
"mcpServers": {
"usc-courses": {
"command": "node",
"args": ["/absolute/path/to/usc-webreg-mcp/dist/index.js"]
}
}
}工具
工具 | 描述 |
| 所有学期,含季节/年份/状态 |
| 按 termCode 获取单个学期详情(例如 |
| 某学期的学院/学校及其专业 |
| 某学期的专业(系)及其所属学院 |
| 专业详情/备注(D-clearance 信息) |
| 目录中的所有学科前缀 |
| 注册时段和退课日期 |
| 课程代码是否存在于目录中 |
| 某学期的 SimpleSyllabus 索引 URL |
| 按 |
| 目录关键词搜索(代码/标题/描述) |
| 完整课程记录,包括所有课程段、先修要求和限制 |
| 某学院+专业的所有课程 |
| GE 结构(要求 + 类别前缀) |
| 满足某 GE 类别的课程 |
| 某 GE 类别的名称/详情 |
时间表筛选
search_courses、list_courses_by_program 和 list_courses_by_ge 接受可选的课程段筛选条件:days(["Mon","Wed"])、startAfter/startBefore("12:00")和 openOnly。
示例:周一+周三中午及之后上课的 GE B 课程:
list_courses_by_ge(termCode=20263, geRequirementPrefix=ACORELIT,
geCategoryPrefix=HINQ, days=["Mon","Wed"], startAfter="12:00")This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shreeyachand/usc-webreg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server