Skip to main content
Glama

学校MCP

鍛冶屋のバッジ

Canvas および Gradescope プラットフォームと統合された、学術ツール用の Model Context Protocol (MCP) サーバー。

特徴

  • 課題の締め切り: Canvas と Gradescope から今後の締め切りを取得して表示します

  • カレンダー統合: AppleScriptを使用してmacOSカレンダーまたはリマインダーに期限を追加する

  • ファイル管理: Canvasからコース教材をダウンロードする

Related MCP server: moodle-mcp

クイックスタート

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の School MCP を自動的にインストールするには:

npx -y @smithery/cli install @54yyyu/school-mcp --client claude
  1. リポジトリをクローンします。

git clone https://github.com/yourusername/school-mcp.git
cd school-mcp
  1. パッケージをインストールします。

pip install -e .
  1. 次のいずれかの方法で環境変数を設定します。

    • 付属のセットアップヘルパーを使用する(推奨)

    • .envファイルを手動で作成する

セットアップヘルパーの使用

セットアップ ヘルパーを実行して、Claude Desktop を自動的に構成します。

python setup_helper.py

セットアップ ヘルパーは次のことを行います。

  • Claude Desktopの設定ファイルを見つける

  • 必要に応じて.envファイルを作成する

  • 適切なパスでMCPサーバーを構成する

  • Claude Desktop 構成に環境変数を追加します

手動設定

手動で設定する場合:

  1. 環境テンプレートをコピーします。

cp .env.template .env
# Edit .env with your credentials
  1. Claude Desktop統合ガイドに従って Claude Desktopを構成します。

サーバーの実行

直接実行:

python -m school_mcp

または、便利なスクリプトを使用します:

./run_server.py

ツール

  • get_deadlines : Canvas と Gradescope から今後の課題の締め切りを取得します。

  • add_to_reminders : macOSのリマインダーに課題を追加する

  • list_courses : 利用可能なすべてのCanvasコースを一覧表示する

  • download_course_files : Canvas コースからファイルをダウンロードする

  • set_download_path : ダウンロードしたファイルの保存場所を設定する

  • get_download_path_info : 現在のダウンロード場所を確認する

構成

サーバーは次の順序で構成を見つけようとします:

  1. 環境変数

  2. 現在のディレクトリの.envファイル

  3. ホームディレクトリ内の既存のconfig.jsonファイル

ライセンス

マサチューセッツ工科大学

Available Tools

10 tools
add_to_remindersB

Add upcoming deadlines to macOS Reminders.

Args: days_ahead: Number of days to look ahead for assignments (default: 14) account: School account to use (defaults to the active account)

Inputs: account, days_ahead. Returns: result

download_course_filesA

Download files from a Canvas course (all of them, or a selection).

Args: course_id: Canvas course ID download_path: Root to download into for this call (default: the saved download path; never changes it) file_ids: Only these file ids (from list_course_files) since: Only files created/updated since YYYY-MM-DD or N days ago ("7d") flat: Put files directly in the root instead of // folders account: School account to use (defaults to the active account)

Inputs: course_id (required), flat, since, account, +2 more. Returns: result

get_course_pageA

Read a Canvas Page, such as a lecture page with its readings. Without page, list the course's pages (module pages first; many courses hide the Pages list from students).

Args: course: Course id, code (e.g. "7.36") or name fragment page: Piece of the page title (e.g. "L15") or its url slug account: School account to use (defaults to the active account)

Returns the page text plus its file links, each with section (the label it sits under on the page, e.g. "Main Papers" or "Additional reading") and hidden (true when the link has no visible text).

Inputs: course (required), page, account. Returns: result

get_deadlinesC

Get upcoming deadlines from Canvas and Gradescope.

Args: days_ahead: Number of days to look ahead for assignments (default: 14) account: School account to use (defaults to the active account)

Inputs: account, days_ahead. Returns: result

get_download_path_infoA

Get the current default download path for Canvas files.

Inputs: no named parameters. Returns: result

list_course_filesA

List every file download_course_files would fetch for a course, without downloading: modules, assignments (attachments + description links), Files tab, Pages, announcements, deduped by file id.

Args: course: Course id, code (e.g. "20.201") or name fragment since: Only files created/updated since this date (YYYY-MM-DD) or N days ago ("7d") compare_dir: Local folder to check against; each file gets local.status have / changed / missing (matched by name+size, then content hash; any layout) account: School account to use (defaults to the active account)

Inputs: course (required), since, account, compare_dir. Returns: result

list_coursesC

List available courses from Canvas.

Args: account: School account to use (defaults to the active account)

Inputs: account. Returns: result

list_school_accountsA

List the configured school accounts (e.g. columbia, mit) and show which one is active.

Inputs: no named parameters. Returns: result

set_download_pathC

Set the default download path for Canvas files.

Args: path: Path to save downloaded files to

Inputs: path (required). Returns: result

switch_school_accountB

Switch the active school account. Persists across restarts.

Args: account: Account name, e.g. "columbia" or "mit"

Inputs: account (required). Returns: result

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 10 tools

    Disambiguation5/5

    Each tool targets a distinct resource+action: account listing/switching, deadline aggregation, reminders export, course listing, file preview vs. download, page reading, and download-path get/set. The only potentially overlapping pair (list_course_files vs. download_course_files) is explicitly framed as dry-run preview versus actual fetch, and get/set_download_path are a clean complementary pair.

    Naming Consistency5/5

    All ten names follow a strict verb_noun snake_case pattern (list_, switch_, get_, add_, download_, set_) with no camelCase or bare-noun outliers. Pluralization and object naming (course_files, school_account, download_path) are used consistently across related tools.

    Tool Count5/5

    Ten tools is well within the sweet spot and every one earns its place: account management (2), deadlines/reminders (2), courses and files (3), pages (1), path config (2). Nothing looks like filler, and no obvious operation is split into redundant variants.

    Completeness4/5

    The surface covers the core student workflow end-to-end: pick an account, list courses, preview and download files, read pages, pull deadlines, and push them to Reminders. Minor gaps remain — no way to add/remove a school account, no per-assignment detail or grades view, and no way to clear/reset the download path — but agents can work around these.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      A Model Context Protocol (MCP) server that connects AI coding agents to your Moodle LMS. Fetch assignments, grades, deadlines, and sync everything to Obsidian automatically.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables natural-language queries across multiple schools' Canvas and Blackboard accounts for courses, notifications, assignments, grades, feedback, and schedules, with read-only access and local todo/calendar export.
      10
      MIT