Canvas Academic Assistant
Connects 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.
README
Canvas Academic Assistant š
An AI-powered academic management tool that connects your Canvas LMS with Claude Desktop. Ask Claude natural questions about your coursework, assignments, grades, and deadlines - all through conversational AI.
š What This Does
This tool transforms Claude into your personal academic assistant by connecting it directly to your Canvas account. Instead of logging into Canvas and clicking through multiple pages, you can simply ask Claude:
- "What assignments do I have due this week?"
- "Show me my current grades in all courses"
- "What announcements did I miss?"
- "What's on my Canvas calendar for tomorrow?"
- "Help me prioritize my upcoming deadlines"
⨠Features
š Course Management
- View all your active courses
- Get course details and enrollment information
š Assignment Tracking
- See upcoming assignments and deadlines
- Get detailed assignment information
- Check your to-do list items
š Grade Monitoring
- View grades across all courses
- Check assignment submission status
- Track your academic progress
š Calendar Integration
- Access your Canvas calendar events
- See upcoming due dates and deadlines
š¢ Stay Updated
- Get course announcements
- View recent Canvas activity
- Never miss important updates
š Quick Start Guide
Prerequisites
You'll need:
- A Canvas account (this was built for Carnegie Mellon University but works with any Canvas instance)
- Claude Desktop installed on your computer
- Python 3.10 or newer
Step 1: Get Your Canvas API Token
- Log into Canvas at your school's Canvas website
- Click "Account" in the left sidebar
- Go to "Settings"
- Scroll down to "Approved Integrations"
- Click "+ New Access Token"
- Enter a purpose like "Claude Academic Assistant"
- Copy the generated token (you won't see it again!)
Step 2: Download and Set Up
- Download this project to your computer
- Open Terminal (Mac) or Command Prompt (Windows)
- Navigate to the project folder:
cd path/to/canvas-mcp-server
Step 3: Install Dependencies
-
Create a virtual environment:
python3 -m venv venv -
Activate it:
- Mac/Linux:
source venv/bin/activate - Windows:
venv\Scripts\activate
- Mac/Linux:
-
Install required packages:
pip install mcp httpx python-dotenv pydantic
Step 4: Configure Your Token
- Open the
.envfile in the project folder - Replace the token with yours:
CANVAS_API_TOKEN=your_token_here CANVAS_BASE_URL=https://your-school.instructure.com
Step 5: Test the Setup
Run this command to make sure everything works:
python src/canvas_server.py
You should see:
ā
Canvas API connection successful
š Canvas MCP Server started
Press Ctrl+C to stop the test.
Step 6: Connect to Claude Desktop
-
Find your Claude Desktop configuration file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
- Mac:
-
Add this configuration (replace the path with your actual project location):
{
"mcpServers": {
"Canvas Academic Assistant": {
"command": "/path/to/your/canvas-mcp-server/venv/bin/python",
"args": [
"/path/to/your/canvas-mcp-server/src/canvas_server.py"
],
"env": {
"CANVAS_API_TOKEN": "your_token_here"
},
"enabled": true,
"autostart": true
}
}
}
- Restart Claude Desktop completely (quit and reopen)
šÆ How to Use
Once set up, you can ask Claude natural questions about your academic life:
š Assignment Management
- "What assignments are due this week?"
- "Show me details about my math homework"
- "What's the next deadline I need to worry about?"
- "Help me prioritize my upcoming assignments"
š Grade Tracking
- "What are my current grades?"
- "How am I doing in Computer Science?"
- "Show me my grade for the last assignment"
š Schedule Planning
- "What's on my calendar tomorrow?"
- "When is my next exam?"
- "What Canvas events do I have this week?"
š¢ Staying Updated
- "Any new announcements in my courses?"
- "What Canvas activity did I miss?"
- "Show me recent updates from professors"
š¤ AI-Powered Help
- "Help me create a study schedule based on my deadlines"
- "What should I focus on today?"
- "Remind me about upcoming important dates"
š§ Troubleshooting
ā "Could not connect to MCP server"
- Make sure Python path in your config is correct
- Check that your virtual environment is set up properly
- Verify your Canvas token is still valid
ā "Canvas API connection failed"
- Double-check your Canvas token in the
.envfile - Make sure your Canvas URL is correct
- Verify you're connected to the internet
ā "No data returned"
- Ensure you're enrolled in active courses
- Check that your Canvas account has proper permissions
- Try regenerating your Canvas API token
š Need Help?
- Check that all file paths in your configuration are absolute paths
- Make sure your Canvas token hasn't expired
- Restart Claude Desktop after any configuration changes
- Test the server manually first using Step 5 above
š Built For Students
This tool was originally created for Carnegie Mellon University students but works with any Canvas installation. It's designed to help students:
- Save time by getting information through conversation instead of clicking through Canvas
- Stay organized with AI-powered deadline management
- Never miss important announcements or due dates
- Focus on learning instead of administrative tasks
š Privacy & Security
- Your Canvas token stays on your computer - nothing is sent to external servers
- All communication happens locally between Claude Desktop and your Canvas instance
- Your academic data remains private and secure
š What You Can Access
The tool provides access to the same information you can see in Canvas:
- Your enrolled courses
- Assignment details and due dates
- Your grades and submissions
- Course announcements
- Calendar events
- Recent activity
Note: You can only access your own data - the same permissions apply as when using Canvas directly.
Ready to transform your academic workflow? Set it up in 10 minutes and start having conversations with Claude about your coursework! š
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.