Canvas Academic Assistant

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.

Category
Visit Server

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

  1. Log into Canvas at your school's Canvas website
  2. Click "Account" in the left sidebar
  3. Go to "Settings"
  4. Scroll down to "Approved Integrations"
  5. Click "+ New Access Token"
  6. Enter a purpose like "Claude Academic Assistant"
  7. Copy the generated token (you won't see it again!)

Step 2: Download and Set Up

  1. Download this project to your computer
  2. Open Terminal (Mac) or Command Prompt (Windows)
  3. Navigate to the project folder:
    cd path/to/canvas-mcp-server
    

Step 3: Install Dependencies

  1. Create a virtual environment:

    python3 -m venv venv
    
  2. Activate it:

    • Mac/Linux: source venv/bin/activate
    • Windows: venv\Scripts\activate
  3. Install required packages:

    pip install mcp httpx python-dotenv pydantic
    

Step 4: Configure Your Token

  1. Open the .env file in the project folder
  2. 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

  1. Find your Claude Desktop configuration file:

    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
  2. 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
    }
  }
}
  1. 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 .env file
  • 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?

  1. Check that all file paths in your configuration are absolute paths
  2. Make sure your Canvas token hasn't expired
  3. Restart Claude Desktop after any configuration changes
  4. 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

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.

Official
Featured
Python
graphlit-mcp-server

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.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured