All guides
ChatGPT & Claude

How to connect Moodle to ChatGPT and Claude

Moodle has no student connection to ChatGPT or Claude. Here's how to give both of them read-only access to your Moodle courses, and what the other routes involve.

Updated November 18, 20266 min read

Quick answer

Moodle doesn't connect to ChatGPT or Claude for students on its own. To link them, sync your Moodle courses with Chat2L, then add https://www.chat2l.com/mcp as a custom MCP server in ChatGPT (Plugins, Add custom MCP server) or as a custom connector in Claude (Customize, Connectors). ChatGPT and Claude can then search your Moodle files, pages, books, announcements and due dates. The connection is read only.

Getting a Moodle course into ChatGPT usually means opening every section, downloading each PDF and folder, and dragging them into a chat. Then the instructor posts new slides and you start over. Claude has the same problem: it only knows the files you hand it.

You can set this up once instead. After that, ChatGPT and Claude can look through your Moodle courses on their own, and new files show up without you doing anything.

Can you connect Moodle to ChatGPT directly?

Not as a student. Moodle has no built-in way for a student to connect their own ChatGPT or Claude account, and Moodle HQ doesn't publish an official MCP server. The routes that do exist were mostly built for site administrators and developers.

Moodle's own AI features are one of them. Since Moodle 4.5, an administrator can connect the whole site to a provider such as OpenAI or Ollama, which adds buttons to summarise or explain a course page and to generate text in the editor (Moodle Docs). That runs on your school's account and settings, and it doesn't give your own ChatGPT or Claude access to your courses.

Developers have also built community MCP servers for Moodle. Most use a Moodle web service token, either through a plugin your school's administrator installs or a server you run yourself. Students can only create a token under Preferences, then Security keys, if the school has given them the moodle/webservice:createtoken capability (Moodle Docs). A token also acts as you for everything its service allows, so check your school's IT rules before you paste one into any outside tool.

Your options compared

RouteWho sets it upWhat the AI can readStays up to date
Moodle's built-in AI toolsYour school's administratorThe page you're onNot applicable
Web service token plus an MCP serverYou, if your school allows tokensWhatever the token's service allowsYes
Download course content, then uploadYou, if your instructor turned it onOnly the files you uploadNo
Chat2LYouYour synced coursesEvery 30 minutes while Chrome is open

The download route is worth knowing. If your instructor turned it on, Moodle shows Download course content in the course's More menu, which gives you a zip of the course's files, folders and pages (Moodle Docs). Uploading that zip works for one big study session, but it goes stale as soon as something new is posted.

What Chat2L syncs from Moodle

Chat2L Sync is a Chrome extension that reads your courses with the Moodle login you already have, the same way Moodle's own pages load. For each course it imports:

  • files added as File resources, like PDFs, slides and Word documents
  • every file inside Folder activities
  • Page activities, and Book activities with all their chapters
  • the course announcements forum, up to the 20 latest posts
  • assignment due dates and quiz open and close dates from the Moodle calendar
  • your instructors' names

It doesn't import videos or audio, and web links are listed by name without being read. It doesn't read your Moodle grades. Plenty of schools give Moodle their own name, like eClass at York University. If your course site runs on Moodle, it counts.

Step 1: Sync your Moodle courses

  1. Create a Chat2L account and pick your school.
  2. Install the Chat2L Sync extension for Chrome when it asks.
  3. Open Moodle in the same browser and make sure you're logged in.

Your first files are ready in a few minutes. After that it re-syncs every 30 minutes while Chrome is open and you're logged in, so new lecture slides land on their own. The first sync needs Chrome on a laptop or desktop.

Step 2: Add Chat2L to ChatGPT

OpenAI's help center says Pro accounts can connect custom MCP servers with read and fetch permissions, and Business, Enterprise and Edu workspaces get full MCP support (OpenAI). The article doesn't say either way for Plus, Go or Free, so if you don't see the option on your account, that's likely why. Chat2L only reads, so read access is all it needs. You set it up in ChatGPT on the web.

  1. Open Plugins.
  2. Click Add, then Add custom MCP server.
  3. Name it Chat2L and enter https://www.chat2l.com/mcp as the server URL.
  4. Set authentication to OAuth.
  5. Tick I understand and want to continue, then select Create as a plugin.
  6. Sign in to Chat2L when asked and allow access, then install the plugin.

To use it, start a new chat, type @ and pick Chat2L. OpenAI renames these menus often. If your account still shows Settings, then Apps & Connectors, with a Developer mode switch under Advanced, turn that on and choose Create. The fields are the same.

Step 3: Add Chat2L to Claude

Custom connectors work on every Claude plan, including Free, which is limited to one custom connector (Anthropic).

  1. In Claude, open Customize, then Connectors.
  2. Choose Add, then Add custom connector.
  3. Name it Chat2L, paste https://www.chat2l.com/mcp as the URL, and choose Continue.
  4. Keep the sign-in settings Claude detects and the recommended options, then choose Add.
  5. Connect and sign in to Chat2L to allow access.

In a chat, turn Chat2L on from the + button under Connectors. Claude decides by itself when to look something up, so you don't need special wording.

What to ask

Ask about a course by name or code. These work well with Moodle courses:

  • "What's due this week across all my Moodle courses?"
  • "Summarize the Week 7 folder for PSYC 2010."
  • "Quiz me on chapter 3 of the course book, one question at a time."
  • "What did the last announcement in ECON 1000 say about the midterm?"

Answers link back to the file in Moodle. When a question depends on a chart or diagram, ChatGPT or Claude can view up to four pages of a document as images instead of guessing from the text.

What ChatGPT and Claude can and can't see

Once connected, ChatGPT and Claude can list your courses, search and read your synced files and pages, read announcements, and check your deadlines and quizzes. They only see your own courses.

Every tool in the connector is read only. Neither app can post in a forum, submit an assignment, start a quiz or change anything in Moodle. To cut access, remove the connector in ChatGPT or Claude, or disconnect it in Chat2L under Settings. The ChatGPT and Claude connector page lists every tool.

Using Brightspace for another course? See how to connect Brightspace to ChatGPT. Wondering what Moodle itself can see when you use AI? Read can Moodle detect ChatGPT.

Frequently asked questions

Is there an official Moodle MCP server?

No. Moodle HQ doesn't publish one. Community MCP servers exist, but most need a web service token or a plugin your school's administrator installs.

Do I need a paid ChatGPT plan to connect Moodle?

OpenAI lists custom MCP servers for Pro accounts (read only) and for Business, Enterprise and Edu workspaces, and doesn't say whether Plus is included. Claude allows one custom connector on its Free plan, and Chat2L also has its own study chat that works with the same synced courses.

Does it work if my school calls Moodle something else?

Usually. Many schools rename Moodle, like eClass at York University. Pick your school when you sign up. If it isn't listed, choose Request it and enter your Moodle address, and you can finish setup once your school is added.

Can ChatGPT post in Moodle forums or submit my quizzes?

No. The Chat2L connector is read only. It can read your course material, announcements and due dates, and nothing else.

Should I give my Moodle web service token to an AI tool?

Check your school's IT policy first. A token acts as you for everything its service allows, and students can only create one if the school grants that permission.

Study from your actual courses

Chat2L syncs your Canvas, Brightspace or Moodle slides, readings and due dates. Chat with your lectures, quiz yourself, and use your courses in ChatGPT and Claude.

Get started

Keep reading