Skip to main content
Glama

Blackboard MCP Server: Blackboard Learn for Claude, ChatGPT Codex and Cursor

License: MIT MCP Python 3.10+ M8ven Score

blackboard-mcp is an open-source Model Context Protocol (MCP) server for Blackboard Learn (Ultra). It lets AI assistants (Claude Desktop, Claude Code, ChatGPT Codex, Cursor, VS Code and SlideMate) read a student's Blackboard courses, content, deadlines and announcements. It can also download this year's lecture slides and readings into one folder per course.

  • Works at any university that uses Blackboard, including Imperial College London, Edinburgh, Bristol, Leeds and Southampton (list). Set BB_BASE_URL to yours.

  • No API key needed. It uses Blackboard's REST API with your own browser session. You sign in through your university's normal SSO and MFA in a real browser window.

  • Read-only. It can't submit work, post or change anything on Blackboard.

Using Canvas or Moodle instead? See canvas-mcp (Oxford, Harvard, Stanford…) and moodle-mcp (UCL, King's, LSE, Cambridge…).

What you can ask

  • "What's due on Blackboard in the next three weeks?"

  • "Any new announcements in my courses?"

  • "Download this year's lecture slides."

Related MCP server: blackboard-mcp

Install

With SlideMate: Settings → Your university → pick your university (or Blackboard and your address) → Connect. SlideMate installs this, opens the sign-in window, and pulls your slides. Nothing else to do.

By hand (macOS, one command). It installs uv (which brings its own Python), then this, then opens Chrome so you can sign in once. Replace the address with your university's:

curl -LsSf https://astral.sh/uv/install.sh | sh && ~/.local/bin/uv tool install --managed-python https://github.com/Mattlo0546/blackboard-mcp/archive/refs/heads/main.zip && BB_BASE_URL=https://www.ole.bris.ac.uk ~/.local/bin/blackboard-mcp login

Then add it to your MCP client with the same BB_BASE_URL in its environment:

claude mcp add blackboard -e BB_BASE_URL=https://www.ole.bris.ac.uk -- ~/.local/bin/blackboard-mcp serve

Tools

Tool

What it does

bb_login

Opens a browser for the university sign-in and saves the session. Tries a silent refresh first.

bb_status

Who you're signed in as, which site, where files download to, last sync

bb_courses

This year's courses (include_all for every course and organisation)

bb_browse

A course's content (or one folder's): titles, text, links, grade columns

bb_download

Every file in one content item

bb_upcoming

Due dates in the next N days (default 21)

bb_announcements

Recent announcements, for one course or all of this year's

bb_sync / bb_sync_status

Download the PDFs from this year's courses (or the ones named), in the background

bb_set_courses

Change which courses a full sync pulls (include an info site it skips, exclude a course)

This year's courses: students stay enrolled in years of old courses, so a sync only takes courses whose end date is still ahead, or (as Blackboard rarely sets end dates) that were created within about 9 months of your newest course. Files land in <folder>/<course>/<Week NN or top-level folder>/, and only new or changed ones are downloaded.

Only what you study: a full sync skips sites that aren't courses (faculty hubs, guidance and induction sites, library skills) and, inside courses, posters, handbooks, forms, timetables and support pages. Its report lists the sites it skipped; bb_set_courses brings one back. Words that are also lecture topics only count in an admin phrase, so "Mathematical induction" stays and "Induction week schedule" goes (relevance.py).

Connect it to your AI app

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json):

{
  "mcpServers": {
    "blackboard": {
      "command": "/Users/YOU/.local/bin/blackboard-mcp",
      "args": ["serve"],
      "env": { "BB_BASE_URL": "https://bb.imperial.ac.uk" }
    }
  }
}

The same block works in Cursor (~/.cursor/mcp.json). VS Code's .vscode/mcp.json uses "servers" in place of "mcpServers".

ChatGPT Codex CLI

codex mcp add blackboard --env BB_BASE_URL=https://bb.imperial.ac.uk -- ~/.local/bin/blackboard-mcp serve

Universities that use Blackboard

These addresses were checked to be Blackboard Learn sites:

University

BB_BASE_URL

Imperial College London

bb.imperial.ac.uk

University of Edinburgh (Learn)

www.learn.ed.ac.uk

University of Bristol

www.ole.bris.ac.uk

University of Leeds (Minerva)

minerva.leeds.ac.uk

University of Sheffield

vle.shef.ac.uk

University of Southampton

blackboard.soton.ac.uk

University of York (Yorkshare)

vle.york.ac.uk

Your university's address is the one in your browser's address bar when you open Blackboard. If its landing page has an unusual sign-in button, set BB_SSO_BUTTON to that button's text.

Settings (all optional except the address)

Environment variables win over ~/.blackboard-mcp/config.json.

Variable

Default

Meaning

BB_BASE_URL

none

Your university's Blackboard address

BB_DOWNLOAD_DIR

SlideMate's first slides folder, else ~/BlackboardFiles

Where synced files go

BB_BROWSER_CHANNEL

chrome

Browser for sign-in; "" uses Playwright's own Chromium

BB_SSO_BUTTON

a few common ones

Text of the button that starts single sign-on on your Blackboard's landing page

BB_MCP_HOME

~/.blackboard-mcp

Where the session cookies, sign-in browser profile and sync state live

FAQ

Is there an MCP server for Imperial's or Edinburgh's Blackboard? Yes, this one. Set BB_BASE_URL to bb.imperial.ac.uk or www.learn.ed.ac.uk. In SlideMate, pick the university from the list.

Do I need a Blackboard API key or developer account? No. It uses the same REST API the Blackboard website uses, with your own signed-in session.

Does it work with ChatGPT? It works with OpenAI's Codex CLI and with any app that supports local (stdio) MCP servers. The ChatGPT website can only use remote MCP servers.

Privacy

  • Access: read-only. It can't submit work, post or change anything on Blackboard.

  • Storage: the session cookies stay on your computer (~/.blackboard-mcp/cookies.json, readable only by you). Delete the folder to sign out. Data goes directly between your computer and your university's Blackboard.

Development

uv run --with pytest pytest     # offline tests: which courses count as this year's, file layout, MCP over stdio
  • canvas-mcp: MCP server for Canvas LMS

  • moodle-mcp: MCP server for Moodle

  • classroom-mcp: MCP server for Google Classroom

  • SlideMate: a free Mac app with an AI tutor that has read your whole lecture deck. It sets all of these up in one click.

MIT licensed. Not affiliated with Anthology Inc. or any university. Blackboard is a trademark of Anthology Inc.

Available Tools

9 tools
bb_announcementsB

Recent announcements for one course, or for all current courses if none is given.

Inputs: days, course.

bb_browseA

List the content in a course (or inside one folder): titles, types, text, links and grade columns. course can be a course code, part of its name, or its id.

Inputs: course (required), folder_id.

bb_coursesA

List current Blackboard courses (include_all=True: every course and organisation you're enrolled in).

Inputs: include_all. Returns: result

bb_downloadC

Download every file attached to (or embedded in) one content item. Returns the local paths.

Inputs: course (required), content_id (required).

bb_loginA

Sign in to Blackboard. Opens a Chrome window at the university sign-in page; the student completes it there (SSO + MFA). Tries a silent refresh first, so it often finishes without any window.

Inputs: timeout_seconds.

bb_statusC

Which Blackboard and account this is, where files download to, and when the last sync ran.

Inputs: no named parameters.

bb_syncA

Download the PDFs (slides, readings, worksheets) from every current course, or just courses, into /// (SlideMate's library if it's set up). Only new or changed files are fetched. Runs in the background: if it isn't done within wait_seconds, call bb_sync_status.

Inputs: courses, wait_seconds.

bb_sync_statusB

Progress (while running) or the result of the most recent bb_sync.

Inputs: no named parameters.

bb_upcomingC

Due dates from Blackboard for the next days days (assignments, quizzes, Turnitin).

Inputs: days.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 9 tools

    Disambiguation4/5

    Each tool targets a fairly distinct action (login, status, courses, browse, download, upcoming, announcements, sync, sync_status). The only mild overlap is between bb_download (one content item) and bb_sync (bulk background download), plus bb_status vs bb_sync_status, but the descriptions clearly delineate single-item vs bulk and account-info vs progress.

    Naming Consistency4/5

    All tools share a consistent bb_ snake_case prefix, making the set easy to scan. There is minor internal inconsistency (noun-style bb_status/bb_courses/bb_announcements vs verb-style bb_login/bb_browse/bb_download), but it remains readable and predictable.

    Tool Count5/5

    Nine tools is well-scoped for a Blackboard integration spanning auth, course/content discovery, downloads, and scheduling. Each tool earns its place with no redundant entries.

    Completeness4/5

    The set covers the read/download lifecycle thoroughly: auth, status, course listing, content browsing, file fetching, deadlines, announcements, and bulk sync with progress tracking. Gaps exist for write actions (e.g. submitting assignments, posting to discussions) and a dedicated grades view, but these may be out of scope for a download-oriented server.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers