cmucourses-connector
Remote MCP connector providing live, structured access to CMU Courses public data including courses, prerequisites, schedules, instructors, gen-eds, and final-exam times to help students plan schedules.
README
CMU Courses — Claude Connector
A remote MCP connector that gives Claude live, structured access to CMU Courses public data so it can help students plan schedules with accurate course info: courses, units, descriptions, prerequisites/corequisites/crosslists, requisite trees, offered schedules (times, instructors, locations), instructor teaching history, gen-eds, and final-exam times.
- Read-only wrapper of the existing CMU Courses public API — it does not modify or run any part of the CMU Courses codebase.
- Stateless, authless, deployed to Cloudflare Workers (Streamable HTTP, MCP).
- Backend:
https://course.apis.scottylabs.org(the live ScottyLabs course backend).
FCE (course evaluations / workload / ratings) is not included in this version. That data is sign-in-gated behind Clerk, and a remote connector can't reach a user's browser session. See
src/auth/authProvider.tsfor the deferred design.
Tools
| Tool | What it does |
|---|---|
search_courses |
Keyword + filter search (department, level, units, semester); paginated 10/page |
get_course |
Full details for one course by ID (optionally with schedules) |
get_courses |
Batch details for several courses |
get_requisites |
Prereqs (with AND/OR relation groups) + postreqs for a course |
get_course_schedules |
Offered lectures/sections for course(s): days, times, instructors, locations |
get_instructor_schedules |
Courses/semesters an instructor teaches |
find_courses |
Resolve a partial name/ID to matching courses (lightweight lookup) |
find_instructors |
Resolve a partial instructor name |
get_geneds |
Gen-ed-eligible courses for a school (SCS/CIT/MCS/Dietrich) |
get_finals |
Final-exam day/time/location (bundled per-semester snapshot) |
list_departments |
Department name ↔ short name ↔ number-prefix map |
Develop
npm install
npm run typecheck # tsc --noEmit
npm test # unit tests (mocked backend) — 38 tests
npm run test:integration # live contract tests against the real backend
npm run dev # wrangler dev on http://127.0.0.1:8787/mcp
Drive it locally with the MCP Inspector:
npm run inspector # then connect to http://127.0.0.1:8787/mcp (transport: Streamable HTTP)
Or with Claude Code:
claude mcp add --transport http cmucourses http://127.0.0.1:8787/mcp
Stress test (mixed tools, live backend):
node scripts/stress.mjs http://127.0.0.1:8787/mcp 50 200
Deploy (Cloudflare Workers)
npx wrangler login # one-time, uses your Cloudflare account
npx wrangler deploy # -> https://cmucourses-connector.<your-subdomain>.workers.dev
The backend URL is set in wrangler.jsonc (vars.CMU_COURSES_BACKEND_URL) and can be overridden per environment. An optional KV cache for the large /courses/all and /instructors lists is documented (commented) in wrangler.jsonc; the connector also caches these in-isolate by default, so KV is optional.
Register in Claude
Live deployment: https://cmucourses-connector.samethanmathew.workers.dev/mcp
- Settings → Connectors → Add custom connector.
- Paste the URL above (note the
/mcppath). - No login is required (public data). The tools appear immediately.
Maintaining the finals snapshot
src/reference/finals.snapshot.json is a per-semester copy of the CMU Courses finals data (currently Fall 2025). When the semester changes, replace it from cmucourses/apps/frontend/src/components/finals/finals.json and update SEMESTER_LABEL in src/tools/finals.ts.
Layout
src/
index.ts Worker entry + createServer()
mcp/ Minimal MCP server (JSON-RPC) + Streamable-HTTP transport
backend/ CMU Courses API client (encoding, normalization, retries, cache)
tools/ One module per tool group
reference/ Departments, gened schools, day map, finals snapshot
auth/ Deferred FCE seam (not wired in v1)
test/ Unit + live integration/contract tests
scripts/stress.mjs Concurrency load test
docs/EVALS.md Golden-answer eval prompts
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。