canvas-claude-connector
Read-only access to the user's Canvas LMS account: fetches upcoming deadlines across courses, assignment details and rubrics, syllabi, modules, pages, announcements and calendar events, and searches course content for deadlines mentioned in text.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
canvas-claude-connector
A small, read-only MCP server that connects Claude to your Canvas LMS account so it can answer one question well:
What's due, when, and what exactly do I need to do?
That includes the messy cases, where the real deadline is in the syllabus, a module page or an announcement and the Canvas assignment has no due date at all.
It works with Claude Desktop, Claude Code and claude.ai (as a custom connector), and with any other MCP client.
What it does
One call for "what's due?"
get_upcoming_deadlinesgathers every active course, sorts by due time, and reports dates in your time zone with your submission status.Finds deadlines hiding in text.
search_course_contentsearches the syllabus, pages, assignment descriptions and announcements, and returns the date phrases it finds next to each match ("Friday, December 11 at 5:00 PM", "Week 15").Points out the gaps. Unsubmitted assignments with no Canvas due date are listed separately, so Claude knows to go and look for the real date.
Full instructions as clean markdown. Assignment descriptions, syllabi and pages are converted from Canvas HTML, with scripts and styles removed.
Read-only. It only sends
GETrequests. It cannot submit work, post, message anyone or change anything in Canvas.Runs locally or remotely from the same code. stdio for desktop apps, Streamable HTTP for Vercel, Cloudflare Workers or plain Node.
Tools
Tool | What it answers |
| What is due across all my classes? Also returns recent overdue work and assignments with no due date in Canvas |
| Where does the course mention "midterm", "due" or "late policy"? Searches syllabus, pages, assignments and announcements |
| Which courses am I in? Active only by default |
| Assignments in one course: |
| The full instructions and rubric for one assignment |
| The syllabus as markdown |
| Modules and their items in order, with due dates |
| One course page as markdown |
| Recent announcements, where deadline changes usually appear |
| Calendar events and assignment due dates in a date range |
Example prompts
"What's due this week across all my classes?"
"What exactly do I need to do for the aerodynamics problem set? Is there a rubric?"
"Does the syllabus for HU 145 say anything about late work?"
"When is the wind tunnel project due? Canvas doesn't show a date."
"Did any professor change a deadline in the last few days?"
"Do I have anything overdue?"
"Make me a day-by-day plan for the next two weeks based on my deadlines and exam dates."
Related MCP server: Canvas MCP Server
Privacy
The server runs with your own Canvas access token, on your computer or on a deployment you control.
It stores nothing: no database, no cache on disk, no analytics, no telemetry. Each request reads from Canvas and returns the result.
Your token is sent only to your school's Canvas address over HTTPS. It is never logged and never included in tool output or error messages.
What Claude reads through these tools (course content, due dates, your submission status and grades on individual assignments) becomes part of your conversation with Claude, under the privacy terms of the Claude product you use.
A Canvas personal access token can do anything your account can do. This server only ever reads, but treat the token like a password: set an expiry date when you create it, and delete it in Canvas if you stop using this.
Check your course's policy on AI tools before using Claude for coursework.
1. Create a Canvas access token
Log in to Canvas in a browser.
Open Account (left sidebar) and then Settings.
Scroll to Approved Integrations and click + New Access Token.
Give it a purpose such as "Claude", set an expiry date, and click Generate Token.
Copy the token now. Canvas will not show it again.
Your base URL is the address you use to open Canvas, for example https://erau.instructure.com.
Some schools turn this off. If there is no "New Access Token" button, your institution has disabled personal access tokens for students and this server cannot connect to that Canvas. Your IT help desk can tell you whether they will enable it.
2. Install
You need Node.js 20 or newer.
git clone https://github.com/bwierzbo/canvas-claude-connector.git
cd canvas-claude-connector
npm install # also builds dist/Note the full path to dist/stdio.js; the setups below call it /path/to/canvas-claude-connector/dist/stdio.js.
3. Connect it to Claude
Claude Desktop
Open Settings > Developer > Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"canvas": {
"command": "node",
"args": ["/path/to/canvas-claude-connector/dist/stdio.js"],
"env": {
"CANVAS_BASE_URL": "https://yourschool.instructure.com",
"CANVAS_API_TOKEN": "your-token-here"
}
}
}
}Quit and reopen Claude Desktop. The config file lives at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows.
Claude Code
claude mcp add canvas \
-e CANVAS_BASE_URL=https://yourschool.instructure.com \
-e CANVAS_API_TOKEN=your-token-here \
-- node /path/to/canvas-claude-connector/dist/stdio.jsAdd --scope user to make it available in every project. Check it with claude mcp list.
claude.ai (custom connector)
claude.ai connects to servers over the internet, so you deploy the HTTP mode first and then add its URL.
Deploy. You set three secrets on the deployment:
Variable | Value |
| Your school's Canvas address |
| Your Canvas access token |
| A long random secret you make up: |
MCP_AUTH_TOKEN is what keeps strangers out. Every request must carry it as Authorization: Bearer <secret>, and the server refuses all requests if it is not set.
npm i -g vercel
vercel link
vercel env add CANVAS_BASE_URL production
vercel env add CANVAS_API_TOKEN production
vercel env add MCP_AUTH_TOKEN production
vercel deploy --prodYour endpoint is https://<your-project>.vercel.app/mcp. Vercel no longer accepts Node 20 for new deployments; it will pick a newer Node version automatically, which this project supports.
Wrangler needs Node 22 or newer on your machine.
npx wrangler login
npx wrangler secret put CANVAS_BASE_URL
npx wrangler secret put CANVAS_API_TOKEN
npx wrangler secret put MCP_AUTH_TOKEN
npx wrangler deployYour endpoint is https://canvas-claude-connector.<your-subdomain>.workers.dev/mcp.
export CANVAS_BASE_URL=https://yourschool.instructure.com
export CANVAS_API_TOKEN=your-token-here
export MCP_AUTH_TOKEN=$(openssl rand -hex 32)
npm run start:http # http://127.0.0.1:3000/mcpSet PORT to change the port and HOST=0.0.0.0 to accept connections from other machines. Put it behind HTTPS before exposing it to the internet.
Check it. This should list ten tools:
curl -s https://YOUR-DEPLOYMENT/mcp \
-H "Authorization: Bearer $MCP_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Add it to claude.ai.
Open Settings > Connectors and choose Add custom connector.
Enter a name (for example "Canvas") and your endpoint URL ending in
/mcp.In the request headers section, add a header named
Authorizationwith the valueBearer <your MCP_AUTH_TOKEN>.Save, then enable the connector in a chat.
The wording of that dialog changes from time to time; see Anthropic's custom connector guide if yours looks different. On Team and Enterprise plans an owner may need to add the connector for the organization.
The same deployment also works from Claude Code:
claude mcp add --transport http canvas https://YOUR-DEPLOYMENT/mcp \
--header "Authorization: Bearer <your MCP_AUTH_TOKEN>"One deployment serves one person: it uses the single Canvas token in its environment. Do not share the URL and secret with classmates, because they would be reading your Canvas.
Configuration
Variable | Required | Description |
| yes | Your Canvas address, e.g. |
| yes | Canvas personal access token |
| no | IANA time zone such as |
| HTTP mode | Secret that callers must send as a bearer token |
| no | For |
Troubleshooting
What you see | What it means |
"Canvas rejected the access token" | The token is mistyped, expired or deleted. Create a new one. If Canvas has no "New Access Token" button, your school has disabled tokens |
"does not have permission to view ..." | Your account cannot see that item. The course may be unpublished or concluded, or the instructor restricted it |
"Canvas could not find ..." | Wrong ID, or the instructor turned that feature off (Pages and Syllabus are often hidden) |
"answered with something that is not JSON" |
|
"Canvas is rate limiting this access token" | Too many requests in a short time. The server already backs off and retries; wait a minute |
HTTP 401 from your deployment | The |
HTTP 503 from your deployment |
|
Times look wrong | Set your time zone in Canvas (Account > Settings) or set |
How it works
Pagination. Canvas returns lists in pages; the client follows
Link: rel="next"headers, and only to the same host so the token cannot be sent elsewhere.Rate limits. The client watches
X-Rate-Limit-Remaining, slows down as the quota runs low, and retries throttled requests with exponential backoff.Time zones. Every date is returned as
{ utc, local }, wherelocalis written out in your time zone ("Thu, Dec 3, 2026, 11:59 PM EST").Stateless HTTP. Each request is handled independently, which suits serverless hosts.
Limitations
It reads Canvas pages, assignments, the syllabus, announcements, modules and the calendar. It does not read uploaded files (PDF or Word syllabi, slides), quiz questions, discussion threads or grades for a whole course.
Date phrases found in text are returned as written ("Dec 11 at 5 PM"). The server does not guess the year or convert them to timestamps; Claude interprets them in context, and you should confirm anything important with the original page.
Authentication is a personal access token. Canvas OAuth (a developer key issued by your school) is not implemented yet, so schools that have disabled personal tokens are not supported. The code has a seam for it:
CanvasAuthinsrc/canvas/auth.tsandAuthenticatorinsrc/http.ts.This is an independent project. It is not affiliated with or endorsed by Instructure or Anthropic.
Contributing
Bug reports, Canvas quirks from your school and pull requests are welcome. See CONTRIBUTING.md for setup, project layout and ground rules.
npm install
npm test # unit tests against a mocked Canvas
npm run lint
npm run typecheckLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Study from your own classes: synced Canvas coursework, notes, flashcards and study progress.
Manage your Canvas coursework with quick access to courses, assignments, and grades. Track upcomin…
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
- platform7nDeprecatedtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Claude to Canvas LMS, enabling students to query their coursework, assignments, grades, deadlines, announcements, and calendar events through natural conversation instead of navigating the Canvas interface.8-
- FlicenseNot gradedqualityDmaintenanceConnects Claude to the Canvas LMS REST API, enabling natural language queries about courses, assignments, grades, deadlines, and announcements.1-
- AlicenseBqualityCmaintenanceEnables Claude to interact with Canvas LMS, allowing natural language queries about courses, deadlines, grades, and feedback.29MIT
- AlicenseDqualityCmaintenanceConnects Claude to Canvas LMS for managing coursework through natural language, including assignments, discussions, submissions, and course browsing.1928MIT