Canvas Grading with AI is a free, open-source Google Sheets integration that combines Canvas LMS with Claude AI (Anthropic’s advanced language model) to automate grading and feedback on assignments.
The best part? Setup takes 5 minutes. Just copy a template spreadsheet, and you’re ready to go.
What Makes This Different?
1. Actually Free. No subscriptions. No per-student fees. Just your existing Google Workspace and a Claude API account (which costs pennies per assignment).
2. You Control the Standards. Set grading strictness on a 1-5 scale. From “Very Strict” (exact match required) to “Very Generous” (main concepts are enough). Perfect for everything from formative assessments to high-stakes exams.
3. Built for Your Workflow. Designed specifically for Canvas LMS and Google Sheets. This tool works with your existing quiz assignments. No need to change how you teach.
4. Transparent and Customizable. Open-source means you can see exactly how it works. Modify it for your needs.
How It Works: A Quick Overview
The tool operates in a simple 6-step workflow:
Canvas Quiz → Fetch Questions → Add Answer Keys → Fetch Student Submissions → AI Grading → Upload Results
Each step is accessible through simple menu options in Google Sheets. No coding required.
The Magic Behind the Scenes
The tool uses Claude AI to:
- Compare student answers against your answer keys
- Evaluate responses against a rubric
- Generate constructive, personalized feedback
- Assign grades based on your chosen strictness level
Cost? About $0.25 per million tokens. In practical terms: grading 50 essays (500 words each) costs approximately $0.02-0.05. Yes, pennies.
Getting Started: The 5-Minute Setup
What You’ll Need
✅ Google Account (you probably have one)
✅ Canvas LMS instructor access
✅ Canvas API Token (generate here)
✅ Claude API Key (get here)
✅ A Canvas quiz with essay questions
Step 1: Copy the Template (2 minutes)
The easiest way to start is with the pre-configured template:
📋 Copy Canvas AI Grading Template
- Click the link above
- File → Make a copy
- Name it: “Canvas AI Grading – [Your Course]”
- Save to your Google Drive
That’s it. All the code is automatically included.

Step 2: Configure Settings (2 minutes)
Open your copied spreadsheet and go to the Settings sheet. Update these three values:
| Setting | Where to Find It | Example |
|---|---|---|
| CANVAS_BASE_URL | Your Canvas login page | https://canvas.chapman.edu |
| COURSE_ID | Canvas course URL | In courses/12345, the ID is 12345 |
| ASSIGNMENT_ID | Canvas quiz URL | In assignments/67890, the ID is 67890 |

Step 3: First Time Only – Authorization (1 minute)
The first time you use a feature, you’ll need to:
- Click Canvas Tools → Fetch Question Prompts
- Authorize the script (Google’s security check)
- Enter your Canvas API Token
- Enter your Claude API Key
These are stored securely and only need to be entered once.
Real-World Example: Grading a Microbiology Quiz
Let me walk you through a real example from my microbiology course.
The Assignment
A Canvas quiz with 5 essay questions about bacterial metabolism. 45 students. Each question worth 10 points. That’s 225 individual responses to grade.
Traditional grading time: ~6 hours
With Canvas AI Grading: ~30 minutes
Step-by-Step Process
1. Fetch Questions from Canvas
Menu: Canvas Tools → Fetch Question Prompts to “Answers” Sheet
This imports:
- Question text
- Maximum points
- Canvas rubric criteria (if you use them)
What you see:
- Column A: Question IDs
- Column B: Full question text
- Column C: Empty (this is where YOU add ideal answers)
- Column D: Max points
- Columns E+: Rubric criteria

2. Add Your Answer Keys
Go to the Answers sheet and fill in Column C with ideal answers for each question.
Example Question:
“Explain the difference between aerobic and anaerobic respiration.”
My Answer Key (Column C):
“Aerobic respiration requires oxygen as the final electron acceptor and produces ~38 ATP per glucose. Anaerobic respiration uses other molecules (sulfate, nitrate) as electron acceptors and produces less ATP. Both involve an electron transport chain, unlike fermentation.”
Pro tip: Your answer key doesn’t need to be exhaustive. Just hit the key concepts you want students to address.

3. Fetch Student Submissions
Menu: Canvas Tools → Fetch Essay Quiz Responses (Main Sheet)
This downloads all student submissions and creates a structured grid:
- Student names (sortable)
- Canvas User IDs
- One column per question with student answers
- Empty grade columns
- Empty comment columns

4. Set Grading Generosity & Grade
Menu: Grading Tools → Grade without Rubric (using Claude.ai)
A dialog appears asking for your strictness level:
For this quiz, I chose Level 3 (Normal/Balanced) because:
- It’s an upper-division course
- Students should know the material well
- But I want to give credit for understanding even if wording differs
The tool then:
- Reads each student’s answer
- Compares it to your answer key
- Assigns a grade (0-10 points)
- Shows progress with toast notifications
Time: About 2-3 minutes for 45 students × 5 questions
5. Generate Feedback (Optional)
Menu: Grading Tools → Give Feedback without Rubric (using Claude.ai)
This generates personalized comments for students who didn’t receive full points.
Example feedback generated:
“Your answer demonstrates a good understanding of when antibacterial soap should and shouldn’t be used, and you earned 1 out of 2 points. You correctly identified that antibacterial soap should not be used routinely on a 2-year-old, showing sound reasoning about exposure to microbes helping build immunity.
However, you missed a key scientific concept that was critical for full credit. While you mentioned that microbe exposure is healthy and boosts the immune system, you did not explicitly explain the specific mechanism of why daily antibacterial soap is problematic: it removes ALL microbes, including the beneficial ones that are essential for a healthy microbiome. Your answer focused more on context-dependent usage (bathroom, hospital, outdoor play) rather than addressing the core issue of how antibacterial soap eliminates beneficial microbes when used regularly. To improve your answer, make sure to directly address that the concern is not just about avoiding unnecessary soap, but specifically about preserving the beneficial microbes that train and support the immune system at a young age.”
Time: Another 2-3 minutes

6. Upload Results to Canvas
Menu: Canvas Tools → Upload Essay Grades & Comments to Canvas
This pushes all grades and feedback back to Canvas. Students see:
- Their numerical grade
- Personalized feedback comments
- Updated gradebook
Time: 1-2 minutes
The Results
Total time spent: ~30 minutes (including adding answer keys)
Student feedback quality:
- ✅ Specific to their answer
- ✅ Constructive and educational
- ✅ Consistent across all students
- ✅ Detailed enough to guide improvement
My review time:
- Quickly scanned all grades
- Made a few manual adjustments (maybe 5% of grades)
- Finalized in Canvas
Time saved: ~2.5 hours on this single assignment
The Five Grading Strictness Levels Explained
One of my favorite features is the ability to control how “generous” the AI is. This lets you use the same tool for different types of assessments.
Level 1: Very Strict
When to use: Definitions, formulas, specific terminology
Behavior: Requires near-exact match to answer key
Example: “Define osmosis” – Student must mention water, semipermeable membrane, and concentration gradient
Level 2: Strict
When to use: Most factual questions
Behavior: Requires close alignment with key points
Example: “Describe the structure of DNA” – Must mention double helix, nucleotides, and complementary base pairing
Level 3: Normal/Balanced (Default)
When to use: Standard assessments
Behavior: Fair evaluation with proportionate partial credit
Example: “Explain enzyme kinetics” – Can express concepts in their own words as long as key ideas are present
Level 4: Generous
When to use: Complex essays, varied approaches
Behavior: Credits main concepts even if details missing
Example: “Compare prokaryotic and eukaryotic cells” – Focuses on whether they understand the core differences
Level 5: Very Generous
When to use: Formative assessments, learning exercises
Behavior: Significant benefit of the doubt
Example: “Discuss photosynthesis” – Credits any demonstration of basic understanding
Pro Tip: I use Level 5 for low-stakes quizzes early in the semester to encourage students. By finals, I’m at Level 2-3.
Advanced Features: Rubric-Based Grading
If you use Canvas rubrics, this tool gets even more powerful.
How Rubric Grading Works
Instead of just comparing to an overall answer key, the AI evaluates the student response against each criterion in your rubric.
Example Rubric for “Explain bacterial conjugation”:
| Criterion | Points | Description |
|---|---|---|
| F-pilus formation | 3 | Describes the role of the sex pilus |
| DNA transfer mechanism | 4 | Explains plasmid transfer process |
| Genetic implications | 3 | Discusses horizontal gene transfer significance |
What the AI does:
- Evaluates the response against criterion #1
- Assigns points (0-3) with reasoning
- Repeats for criteria #2 and #3
- Totals the score
Menu: Grading Tools → Grade with Rubric (using Claude.ai)
The AI can also generate rubric-based feedback that explains performance on each criterion:
Menu: Grading Tools → Give Feedback with Rubric (using Claude.ai)
Example feedback:
“F-pilus formation (2/3): You correctly identified the pilus, but didn’t explain its role in bringing cells together. DNA transfer mechanism (4/4): Excellent explanation of plasmid movement. Genetic implications (2/3): Good start, but could elaborate on antibiotic resistance spread.”
What I’ve noticed by Using This Tool
Faster Turnaround
- Grades returned within 24 hours (vs. 5-7 days)
- Students can review feedback while material is fresh
- Better preparation for subsequent assessments
More Consistent Grading
- Same standards applied to all students
- No “grading fatigue” on the 20th essay
- Easier to defend grades if questioned
Better Work-Life Balance
- Reclaimed my weekends
- Less burnout
- More time for course development and research
Addressing Common Concerns
“Can AI really grade essays fairly?”
My approach: AI as assistant, not replacement.
I review all AI-generated grades before finalizing. But honestly? I change fewer than 5% of them. The AI is remarkably good at applying rubrics consistently.
What works well:
- Factual questions with clear criteria
- Structured essay responses
- Conceptual explanations
- Comparison questions
What needs review:
- Creative or open-ended responses
- Highly subjective assessments
- Anything requiring deep context
The key: Good answer keys and rubrics. Garbage in, garbage out.
“What about academic integrity?”
Valid concern. Here’s how I address it:
Transparency: I tell students I use AI-assisted grading. Many find it interesting!
Human oversight: I review all grades. My name is on the gradebook, not Claude AI.
FERPA compliance: All data stays within Canvas and Google Workspace. No name or ID is sent to Claude, only the students’ responses compared to the answer key.
Traditional options: Students can always request human-only grading if they prefer.
“Is this cheating for me as an instructor?”
I struggled with this initially. Then I realized:
What’s the actual goal of grading?
- Assess student understanding ✅
- Provide timely feedback ✅
- Apply consistent standards ✅
- Document learning outcomes ✅
This tool helps me achieve all of these better than manual grading while:
- Returning work faster
- Providing more detailed feedback
- Maintaining consistency across 100+ students
- Giving me time to actually teach
It’s not cheating. It’s using technology to be a better educator.
“What about the cost?”
Let’s do the math:
Canvas Grading with AI:
- Google Workspace: Free (or already available)
- Claude API: ~$0.05 per assignment
- For 100 students × 10 assignments: ~$5/semester
EXTREMELY cheap. Time is money. It’s worth spending this little amount to get your time back.
Tips for Success
After two semesters of use, here are my best practices:
1. Start Small
Don’t jump in with your final exam. Try it on:
- A low-stakes quiz
- A formative assessment
- A practice assignment
Build confidence, then scale up.
2. Craft Good Answer Keys
Bad answer key:
“Osmosis is water movement”
Good answer key:
“Osmosis is the movement of water across a semipermeable membrane from high water concentration (low solute) to low water concentration (high solute), driven by the concentration gradient.”
More detail = better AI grading.
3. Use Appropriate Strictness
Match the level to the assessment:
- Practice quizzes: Level 4-5
- Regular quizzes: Level 3
- Midterm essays: Level 2-3
- Final exam: Level 2
4. Review a Sample First
Grade 5-10 responses manually alongside the AI. Compare. Adjust your answer keys or strictness as needed.
5. Be Transparent with Students
Tell them you’re using AI-assisted grading. Explain it helps you provide faster, more consistent feedback. In my experience, students appreciate the honesty.
6. Keep Improving Your Keys
After each grading session, note answers the AI struggled with. Refine your answer keys for next semester.
Getting Started Today
Ready to reclaim your weekends? Here’s your action plan:
Immediate Steps (10 minutes)
- Generate API Keys
- Canvas API Token (2 min)
- Claude API Key (3 min)
- Copy the Template
- Canvas AI Grading Template (2 min)
- Configure Settings
- Add your Course ID and Assignment ID (3 min)
First Assignment (30 minutes)
- Select a low-stakes quiz
- Fetch questions and add answer keys
- Fetch student submissions
- Grade with AI (start with Level 3)
- Review and adjust as needed
- Upload to Canvas
Full Integration (Ongoing)
- Use for all essay-based assessments
- Keep refining answer keys for more consistent grading
- Experiment with different strictness levels
- Share feedback with colleagues
Conclusion: Teaching Smarter, Not Harder
When I started building this tool, I just wanted my weekends back. What I discovered was something more valuable: better teaching through better tools.
By automating the mechanical parts of grading, I have more time for:
- Designing engaging lessons
- Meeting with students one-on-one
- Conducting research
- Actually enjoying teaching
My students get faster, more consistent, more detailed feedback. I get a sustainable workload. Everyone wins.
The technology exists. The tools are free. The only question is: what will you do with the time you save?
Try It This Week
I challenge you to try Canvas Grading with AI on just one assignment this week. Pick something low-stakes. Follow the 5-minute setup. Grade 10 responses.
If it doesn’t save you time or improve your workflow, you’ve lost 30 minutes.
If it works? You’ve discovered a tool that will save you hundreds of hours over your career.
The choice is yours. Your weekends are better spent doing something else!
Resources and Links
Official Project:
Setup Guides:
Related Tools:
- 📊 Grade Tracking with Canvas API – My other Canvas/Sheets tool
Support:
Have questions? Used the tool? Share your experience in the comments below or reach out at bru@chapman.edu!
About the Author
Jean-Louis Bru, Ph.D. is an Instructional Assistant Professor in the Biology Department at Chapman University, where he teaches General Microbiology, Cell Biology, and other upper-division biology courses. He also serves as a Faculty Fellow at Chapman’s Center of Excellence in Teaching and Learning (CETL), leading workshops on using AI to address student readiness gaps and develop personalized learning experiences.
Dr. Bru is passionate about educational technology and open-source tools that make teaching more effective and sustainable. His projects focus on reducing instructor workload while improving student outcomes.
Connect: Website | GitHub | LinkedIn
© 2025 Jean-Louis Bru, Ph.D. This article and its contents are protected under copyright. The tool (code and template) is licensed under MIT (code) and CC BY-SA 4.0 (documentation). Unauthorized reproduction of this article without attribution is prohibited.




0 Comments