How to connect Google Classroom to Claude

Connect Claude Web, Desktop and Cowork to Google Classroom MCP. List all active courses for this teacher, create a new announcement in math class, and more using natural language, with authentication handled for you.

Google Classroom logoGoogle Classroom
Oauth2

Google Classroom is a free web service for educators and students to manage assignments and communication. It streamlines classroom collaboration and grading, making teaching simpler and more connected.

62 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Google Classroom account to Claude via Composio Connect, enabling it to list all active courses for this teacher, create a new announcement in math class, get details for course ID 12345, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

Also integrate Google Classroom with

Connecting Google Classroom to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Google Classroom account

Back in Claude, ask it to connect to Google Classroom or give it any Google Classroom-related task.

For example, ask Claude to:

  • "List all active courses for this teacher"
  • "Create a new announcement in math class"
  • "Get details for course ID 12345"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Google Classroom account is ready to use.

What is the Google Classroom Claude Connector, and what's possible with it?

The Google Classroom MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Google Classroom account. It provides structured and secure access to your classes, assignments, and announcements, so your agent can list courses, manage announcements, create coursework, and handle classroom organization on your behalf.

  • Course and class management: Effortlessly create, list, or delete courses, and get detailed information about any class you manage or attend.
  • Announcement automation: Let your agent create, update, list, or remove announcements in specific courses—keeping students and teachers in the loop.
  • Coursework material handling: Quickly list all coursework materials in a class, so you can track resources and assignments with ease.
  • Streamlined assignment workflows: Organize and distribute assignments and resources, helping automate typical classroom tasks for educators and students.
  • Classroom insights retrieval: Fetch up-to-date details about classes and their structure, enabling your agent to provide summaries or help with enrollment decisions.

Troubleshooting

1. Why does Claude not use the Composio connector for Google Classroom?

The connector can show as connected, but Claude must use it in each Google Classroom conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Google Classroom again.

2. Why does Claude show an MCP server error before Google Classroom connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Google Classroom.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Google Classroom.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Google Classroom authorization link not work?

The Composio connector is one server. Your Google Classroom account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Google Classroom connection.
  • Composio creates a fresh Google Classroom authorization link.
  • Open that link in your browser and finish the Google Classroom sign-in.

4. Why do Google Classroom actions fail after they worked before?

The Google Classroom connection can expire or lose permission.

  • Ask Claude to inspect the Google Classroom connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Google Classroom account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Google Classroom.
  • If the action still fails with a permission error, check that the connected account has that permission in Google Classroom itself.

5. How do I switch to a different Google Classroom account?

Claude can manage the Google Classroom connection for you.

  • Ask Claude to disconnect or delete the current Google Classroom account.
  • Ask Claude to connect Google Classroom again.
  • Open the new Composio authorization link for Google Classroom.
  • Sign in with the other Google Classroom account in the browser.
  • After the account connects, ask Claude to retry the Google Classroom task.

6. Why is my Google Classroom connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Google Classroom connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click and click Clear cache.
  • If Google Classroom tools still do not appear, click , disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Google Classroom.
TOOLS

Supported Tools

Every Google Classroom action and event your agent gets out of the box.

Create Course Alias

Tool to create an alias for a course.

Delete Course Alias

Tool to delete an alias of a course.

List Course Aliases

Tool to list aliases for a course.

Create Announcement

Tool to create an announcement in a course.

Delete Announcement

Tool to delete an announcement.

Get Announcement

Tool to get an announcement.

Get Add-on Context for Announcement

Tool to get metadata for Classroom add-ons in the context of a specific announcement post.

List Announcements

Tool to list announcements in a course.

Modify Announcement Assignees

Tool to modify assignee mode and options of an announcement.

Patch Announcement

Tool to update fields of an announcement.

Delete Add-on Attachment

Tool to delete an add-on attachment from a course announcement.

Get Add-on Attachment

Tool to get an add-on attachment from an announcement.

List Add-on Attachments

Tool to list all add-on attachments created under an announcement.

Delete Add-on Attachment

Tool to delete an add-on attachment from course work.

Get Add-on Context for Course Work

Tool to get metadata for Classroom add-ons in the context of a specific course work.

List Add-on Attachments on Course Work Material

Tool to list all add-on attachments under a course work material post.

Delete Course Work Material

Tool to delete a course work material.

Modify CourseWork Assignees

Tool to modify assignee mode and options of coursework.

Patch Course Work

Tool to update one or more fields of a course work.

List Course Work Rubrics

Tool to list rubrics for a specific coursework.

Create Course

Tool to create a new course.

Delete Course

Tool to delete a course.

Get Course

Tool to get details for a specific course.

Get Grading Period Settings

Tool to retrieve grading period settings for a course.

List Courses

Tool to list all courses accessible to the authenticated user.

Patch Course

Tool to update one or more fields of a Classroom course.

List Post Add-on Attachments

Tool to list all add-on attachments created under a post.

Get Add-on Context for Post

Tool to get metadata for Classroom add-ons in the context of a specific post.

Add Student to Course

Tool to add a student to a course.

Delete Course Student

Tool to delete a student from a course.

Get Course Student

Tool to retrieve a specific student of a course.

List Student Guardians

Tool to list guardians of a student in a course.

List Course Students

Tool to list students in a course.

Delete Course Teacher

Tool to delete a teacher from a course.

Get Teacher

Tool to get teacher enrollment.

List Course Teachers

Tool to list teachers in a course.

Create Course Topic

Tool to create a course topic.

Delete Course Topic

Tool to delete a course topic.

Get Course Topic

Tool to get a course topic.

List Course Topics

Tool to list topics in a course.

Patch Course Topic

Tool to update fields of a course topic.

Update Course

Tool to update a course.

Patch Course Work Material

Tool to update fields of a course work material.

Create CourseWork

Tool to create a CourseWork item in a course.

Delete CourseWork

Tool to delete a specific CourseWork.

Get CourseWork

Tool to get details of a specific coursework.

List CourseWork

Tool to list coursework in a course.

Create Course Work Material

Tool to create course work material.

Get Coursework Material

Tool to get a coursework material.

List CourseWorkMaterials

Tool to list course work materials in a course.

List Student Submissions

Tool to list student submissions for a specific coursework.

Reclaim Student Submission

Tool to reclaim a student submission for editing.

Get CourseWork Add-on Attachment

Tool to get an add-on attachment from course work.

Get Add-on Context for Course Work Material

Tool to get metadata for Classroom add-ons in the context of a specific course work material.

Create Invitation

Tool to create an invitation for a user to a course.

Delete Invitation

Tool to delete an invitation.

Get Invitation

Tool to retrieve an invitation by its identifier.

List Invitations

Tool to list invitations that the requesting user is permitted to view.

List Course Student Groups

Tool to list student groups in a course.

List CourseWork Add-on Attachments

Tool to list all add-on attachments created by an add-on under a course work.

Create Registration

Tool to create a registration for push notifications from Google Classroom.

Get User Profile

Tool to retrieve a user profile by user ID.

FAQ

Frequently asked questions

With a standalone Google Classroom MCP server, the agents and LLMs can only access a fixed set of Google Classroom tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Classroom and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Classroom tools.

Yes, absolutely. You can configure which Google Classroom scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Classroom data and credentials are handled as safely as possible.

Start with Google Classroom.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Google Classroom tool your agent needs.Free to start.

Start building