canvas-mcp is a local-first MCP server for Canvas LMS users, primarily intended to let users centrally query Canvas courses, assignments, due dates, modules, announcements, and grades from one place through MCP-compatible clients such as Claude. It converts Canvas REST API operations into MCP tools and supports Claude Code, Claude Desktop, and other MCP-compatible clients.
Main capabilities include: listing assignments (list_assignments), listing announcements (list_announcements), viewing upcoming events (upcoming_events), viewing planner items, to-do items, viewing current grades by course, getting course modules (including items), getting course announcements, getting course page outlines, and batch downloading course files and related content for offline indexing (canvas-local-mcp-dump, by default output to ./canvas-dump/, can be overridden via the CANVAS_DUMP_DIR environment variable). Users can ask Claude questions such as "What assignments are due this week across all active courses?", "Show upcoming events and planner items for next week", "List my current grades by course", "Get modules (including items) for course 12345", "Show announcements for course 12345", "Get the page outline for course 12345".
Usage: Python 3.10+ is required. First create a personal access token in Canvas: Account → Settings → Approved Integrations → + New Access Token, copy the displayed token (Canvas will not show it again). Then install from PyPI (recommended) or from source. Next configure ~/.canvas.env, including CANVAS_BASE_URL and CANVAS_TOKEN. Finally register it in the MCP client, for example the Claude Desktop configuration file path: on macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows it is %APPDATA%\Claude\claude_desktop_config.json, on Linux it is ~/.config/Claude/claude_desktop_config.json. After registration, you can ask Claude questions such as "List my active Canvas courses".
Local-first and privacy: the server runs locally and uses stdio transport to communicate with the MCP client; configuration is read from ~/.canvas.env; requests are sent from the local server to the official Canvas API endpoints; no external token proxy is used in the request path. Security guidelines and disclosure policy are in SECURITY.md.
Use cases: students who want a unified view of tasks across multiple courses; educators who want faster access to assignments, modules, and announcements; MCP users who want to use Canvas data in local Claude workflows.
Limitations and status: the project is in alpha, single-user, without warranty, and the API interface may still change. If problems occur, you can submit an issue. The project uses the MIT license. CI runs lint and tests on Python 3.10–3.13 for every push and pull request. Releasing a new version requires updating the version number in order, merging the PR, publishing to PyPI, and creating and pushing the tag vX.Y.Z to trigger the workflow that publishes to the MCP Registry. Never reuse or move existing tags. For contributions, pull requests for bug fixes and Canvas workflow improvements are welcome; roadmap direction is currently in open issues and upcoming PRs.