Moodle Student MCP logo

Moodle Student MCP

Read-only Moodle access for courses, deadlines, assignments, grades, announcements, files, and forum discussions.

Install Moodle Student MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "moodle-student-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-student-mcp"
      ],
      "env": {
        "MOODLE_BASE_URL": "YOUR_VALUE_HERE",
        "MOODLE_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 12 tools correctly ().

Overview

moodle-student-mcp connects AI applications to a student's Moodle site through the Moodle mobile web service. It provides read-only tools for courses, assignments, quizzes, deadlines, grades, announcements, content, files, and forums. Use it to check what needs attention, inspect course materials, or retrieve academic information without submitting or changing anything in Moodle. The server runs locally through npx and uses a Moodle site URL plus an access key.

Use cases

  • Check what assignments are overdue or still missing
  • Plan upcoming coursework from deadlines and announcements
  • Review grades and individual course grade items
  • Read assignment instructions and course pages
  • Browse Moodle files and forum discussions

Key features

  • Read-only Moodle course access
  • Upcoming, overdue, and missing-work tracking
  • Assignment, quiz, grade, and calendar queries
  • Course content, page, and file retrieval
  • Announcements and forum discussion reading

Tools12

What Moodle Student MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 16d

What it can do

From the 12 tools this server returned when we ran it; 12 declare their own safety hints.

Makes network requests · 12Read-only tools · 12
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age30 days
Maintainers1

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · moodle-student-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads2.1kPackage downloads in the last 30 days.
Last commit28d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed12Callable tools this server registers over MCP.

How Moodle Student MCP works

What moodle-student-mcp does

moodle-student-mcp exposes a student's Moodle data to compatible AI applications through MCP. Its read-only scope covers current course enrollment, assignment and quiz status, calendar events, grades, announcements, course activities, Moodle pages, downloadable course files, and forum discussions.

The server is suited to planning and reference tasks. An AI assistant can identify overdue or missing work, summarize the next items requiring action, find upcoming deadlines, check course grades, retrieve assignment instructions, and read discussion threads. It cannot submit assignments, edit course data, or delete anything.

How it works

The server runs as a local stdio MCP process, normally launched with npx -y moodle-student-mcp. It connects to the school’s Moodle installation using the site address and a Moodle access key supplied through environment variables. The Moodle site must have its mobile web service enabled.

Many course-specific tools use the numeric course ID returned by get_my_courses. Other tools accept an optional list of course IDs so results can be limited to selected courses. Date-range calendar queries use YYYY-MM-DD dates and support ranges of up to 366 days.

Setup and configuration

Install it by adding the following environment variables to the MCP configuration for Claude Desktop, Claude Code, Cursor, VS Code, or another local MCP client:

config.json
{
  "MOODLE_BASE_URL": "https://moodle.yourschool.edu",
  "MOODLE_TOKEN": "your-key"
}

The package can be run with npx -y moodle-student-mcp. Claude Code, Cursor, and VS Code each have documented command-line configuration methods, while Claude Desktop uses its claude_desktop_config.json MCP configuration. Restart an already-running client after changing its configuration.

Tools and capabilities

  • List the student’s current Moodle courses and IDs.
  • Find upcoming actionable items, overdue work, missing submissions, and a configurable to-do digest.
  • Inspect assignments, due dates, submission states, assignment instructions, and attached files.
  • View quizzes with availability dates, time limits, attempt information, and best grades.
  • Read course totals, individual grade items, percentages, sections, activities, and Page content.
  • Search calendar events and recent announcements, with optional course filtering.
  • Browse forum discussions and read a selected discussion with its replies.
  • Retrieve readable text from plain-text, HTML, and text-based PDF course files. PDFs without extractable text return a file name, Moodle link, and instruction to open the file in Moodle.

Limitations and notes

Access is read-only. The server does not perform submissions or other Moodle changes. Course pages are returned as plain text; images and embedded media are not shown. Assignment details return up to five assignments at a time, and course pages return up to five pages with up to 20,000 characters each. Forum listings exclude announcement forums, while announcement results exclude courses that Moodle cannot open. Credentials are sent to the configured school Moodle site, and the project is not affiliated with Moodle Pty Ltd.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Moodle Student MCP

moodle-student-mcp is an MCP server that connects AI applications to a student’s Moodle site through the Moodle mobile web service. Its main tools read courses, assignments, due dates, quizzes, grades, announcements, content, files, and forums. Access is read-only, so it cannot submit, edit, or delete Moodle data.

Install it by configuring a local MCP client to run `npx -y moodle-student-mcp` with `MOODLE_BASE_URL` and `MOODLE_TOKEN`. The listing provides setup commands for Claude Code, Cursor, VS Code, and Claude Desktop. Restart the client after adding or changing the configuration.

It requires `MOODLE_BASE_URL` for the school’s Moodle address and `MOODLE_TOKEN` for the Moodle access key. The Moodle site must have its mobile web service enabled for the connection to work.

No. moodle-student-mcp is strictly read-only. It can inspect assignments, submission status, grades, course material, files, announcements, and forums, but it cannot submit work or edit or delete Moodle content.

Yes. Cursor is supported through a local stdio MCP configuration. The server can be added to Cursor’s `mcp.json` with `npx -y moodle-student-mcp` and the `MOODLE_BASE_URL` and `MOODLE_TOKEN` environment variables.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMoodle Student MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/moodle-student-mcp?style=directory)](https://allmcps.com/mcp/moodle-student-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/moodle-student-mcp"><img src="https://allmcps.com/api/badge/moodle-student-mcp?style=directory" alt="Moodle Student MCP on AllMCPs" /></a>