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! 🚀
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。