Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Moodle Student MCP

by AnonymousOnyx22version 0.1.10i★ 0iRuns on your computerRepository ↗
Registry nameio.github.AnonymousOnyx22/moodle-student-mcp

How to install

What it does

Moodle MCP server for students. Read only access to courses, grades, due dates and announcements.

  • Connects Runs on your computer
  • Account or key Needs MOODLE_TOKEN · 1 setting to fill in (MOODLE_BASE_URL)
  • Category Games, sports, food & learning

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Moodle Student MCP. Follow https://mcp.popnx.com/i/anonymousonyx22-moodle-student-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moodle Student MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "moodle-student": { "command": "npx", "args": [ "-y", "moodle-student-mcp" ], "env": { "MOODLE_BASE_URL": "your-value", "MOODLE_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOODLE_TOKEN, MOODLE_BASE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Moodle Student MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Moodle Student MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Moodle Student MCP site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • MOODLE_BASE_URL Your school's Moodle address, for example https://moodle.myschool.edu

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "moodle-student": {
          "command": "npx",
          "args": [
            "-y",
            "moodle-student-mcp"
          ],
          "env": {
            "MOODLE_BASE_URL": "your-value",
            "MOODLE_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use Moodle Student MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Moodle Student MCP or shows a Moodle Student MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Moodle Student MCP yet

Moodle Student MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Moodle Student MCP

  • You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time)
  • You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time)
  • You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time)

B · Others in Games, sports, food & learning that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moodle Student MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user moodle-student --env MOODLE_BASE_URL=your-value --env MOODLE_TOKEN=your-value -- npx -y moodle-student-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOODLE_TOKEN, MOODLE_BASE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Moodle Student MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Moodle Student MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Moodle Student MCP site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • MOODLE_BASE_URL Your school's Moodle address, for example https://moodle.myschool.edu

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user moodle-student --env MOODLE_BASE_URL=your-value --env MOODLE_TOKEN=your-value -- npx -y moodle-student-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see Moodle Student MCP listed as connected

  7. Try it

    Use Moodle Student MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Moodle Student MCP or shows a Moodle Student MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moodle Student MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "moodle-student": { "command": "npx", "args": [ "-y", "moodle-student-mcp" ], "env": { "MOODLE_BASE_URL": "your-value", "MOODLE_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOODLE_TOKEN, MOODLE_BASE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Moodle Student MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Moodle Student MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Moodle Student MCP site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • MOODLE_BASE_URL Your school's Moodle address, for example https://moodle.myschool.edu

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the Moodle Student MCP settings, MOODLE_TOKEN, MOODLE_BASE_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use Moodle Student MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Moodle Student MCP or shows a Moodle Student MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Moodle Student MCP key (create it on the maker’s site) · 1 setting(s) to fill in (MOODLE_BASE_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moodle Student MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "moodle-student": { "type": "stdio", "command": "npx", "args": [ "-y", "moodle-student-mcp" ], "env": { "MOODLE_BASE_URL": "your-value", "MOODLE_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOODLE_TOKEN, MOODLE_BASE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Moodle Student MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Moodle Student MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Moodle Student MCP site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • MOODLE_BASE_URL Your school's Moodle address, for example https://moodle.myschool.edu

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the Moodle Student MCP settings, MOODLE_TOKEN, MOODLE_BASE_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use Moodle Student MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Moodle Student MCP or shows a Moodle Student MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Moodle Student MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user moodle-student --env MOODLE_BASE_URL=your-value --env MOODLE_TOKEN=your-value -- npx -y moodle-student-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "moodle-student": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-student-mcp"
      ],
      "env": {
        "MOODLE_BASE_URL": "your-value",
        "MOODLE_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "moodle-student": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-student-mcp"
      ],
      "env": {
        "MOODLE_BASE_URL": "your-value",
        "MOODLE_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "moodle-student": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "moodle-student-mcp"
      ],
      "env": {
        "MOODLE_BASE_URL": "your-value",
        "MOODLE_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • MOODLE_BASE_URL required env
    Your school's Moodle address, for example https://moodle.myschool.edu
  • MOODLE_TOKEN secret required env
    Your Moodle mobile web service key, copied from Preferences > User account > Security keys

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
201/wk
Connection
Runs on your computer
Latest versioni
0.1.10
Published to registryi
Nov 1, 2026
Code last changedi
Nov 1, 2026
Maker
AnonymousOnyx22
Packages
npm: moodle-student-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account AnonymousOnyx22, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 18 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for moodle-student-mcp@0.1.10

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/anonymousonyx22-moodle-student-mcp.svg)](https://mcp.popnx.com/en/servers/anonymousonyx22-moodle-student-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Games, sports, food & learningi

  • More stars than 0% of the other 1614 servers in this category
  • Published to the registry more recently than 59% of the other 1614 servers in this category
  • Basic checks equal to or better than 99% of the other 1614 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Moodle Student MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: MOODLE_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 18 days ago, and the latest version (0.1.10) reached the registry 18 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

by aikarjalGrowing↓ 1.4K/wk★ 89 Stars for the whole repoUpdated 10 days ago

Runs on your computer✓ service owner · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

by joshsymondsEarly★ 13Updated 7 months ago

Runs in the cloudRepo archived✓ service owner · savecraft.gg

GoodWatch

Find movies and TV shows, track watches, and get suggestions based on your taste.

by alp82Early★ 50 Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · goodwatch.app
Compared with similar ones
This one
Moodle Student MCP
Anime GardenWilmAILumify Sports IntelligenceSavecraftGoodWatch
Runs whereInstalls on your computerRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoYesNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/43/34/43/44/4
LicenseMITAGPL-3.0MITMITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Moodle MCP for students

Add the server to your AI app with npx. Put your school's Moodle address and your key in the line for your app below, then run it.

Ask your AI what's actually left to do in Moodle with the Moodle MCP server.

This is a free, open source Moodle MCP server. It lets Claude Desktop, Claude Code, Cursor, VS Code and other AI apps that run a local MCP server read your Moodle courses, due dates, grades and announcements. It is read only. It can never submit, edit or delete anything.

Works with Moodle sites that have the mobile web service turned on. Not affiliated with Moodle Pty Ltd.

Free forever. No sign up and no subscription. Your login details only ever go to your own school.

Install

Claude Code

Run this in a terminal:

claude mcp add moodle --env MOODLE_BASE_URL=https://moodle.yourschool.edu --env MOODLE_TOKEN=your-key -- npx -y moodle-student-mcp

Add --scope user if you want the server in every project.

Cursor

Run this in a terminal. Cursor keeps its servers in mcp.json, so this line writes the server into ~/.cursor/mcp.json and leaves the servers you already have alone. On Windows that file is %USERPROFILE%\.cursor\mcp.json.

node -e "const fs=require('fs'),os=require('os'),path=require('path'),file=path.join(os.homedir(),'.cursor','mcp.json');let config={};try{config=JSON.parse(fs.readFileSync(file,'utf8'))}catch(error){}config.mcpServers={...(config.mcpServers||{}),moodle:{type:'stdio',command:'npx',args:['-y','moodle-student-mcp'],env:{MOODLE_BASE_URL:'https://moodle.yourschool.edu',MOODLE_TOKEN:'your-key'}}};fs.mkdirSync(path.dirname(file),{recursive:true});fs.writeFileSync(file,JSON.stringify(config,null,2));"
VS Code

Run this in a terminal:

code --add-mcp "{\"name\":\"moodle\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"moodle-student-mcp\"],\"env\":{\"MOODLE_BASE_URL\":\"https://moodle.yourschool.edu\",\"MOODLE_TOKEN\":\"your-key\"}}"

The quotes inside the JSON are escaped, so the command runs the same way in a Mac or Linux terminal and in the Windows Command Prompt. In PowerShell on Windows, use this line instead:

code --add-mcp '{\"name\":\"moodle\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"moodle-student-mcp\"],\"env\":{\"MOODLE_BASE_URL\":\"https://moodle.yourschool.edu\",\"MOODLE_TOKEN\":\"your-key\"}}'

This adds the server to your user profile, so it is there in every project.

Claude Desktop

Paste this into your MCP config (for Claude Desktop that's claude_desktop_config.json):

{

"mcpServers": { "moodle": { "command": "npx", "args": ["-y", "moodle-student-mcp"], "env": { "MOODLE_BASE_URL": "https://moodle.yourschool.edu", "MOODLE_TOKEN": "your-key" } } } }

Restart the app if it was already running, then ask:

  • "What's due this week?"
  • "Is anything overdue?"
  • "What work am I still missing?"
  • "What's my grade in Networking?"

Demo

Here is a whole exchange from start to finish. The lines under "The server answers" are the exact text the tools send back, copied from a run of this code against the test Moodle site that ships with the tests. The courses, dates and announcements are made up sample data, and the times are UTC. Copy the block into any chat app to see what an answer looks like before you install anything.

You: What should I do today?

Tool call: get_todo {"name":"get_todo","arguments":{}}

The server answers: Start here: Problem set 1 (Data Structures) was due Mon, Oct 19, 11:59 p.m. UTC, not submitted

Overdue:

  • Problem set 1 (Data Structures) was due Mon, Oct 19, 11:59 p.m. UTC, not submitted

Due soon:

  • Quiz 1 closes (Networking Basics) is due Fri, Oct 23, 11:59 p.m. UTC
  • Lab 3: routing table (Networking Basics) is due Wed, Oct 28, 11:59 p.m. UTC, not submitted
  • Lab 4: report draft (Networking Basics) is due Mon, Nov 2, 11:59 p.m. UTC, draft, not submitted
  • Problem set 3 (Data Structures) is due Mon, Nov 2, 11:59 p.m. UTC

New announcements:

  • Lab 3 is due Friday (Networking Basics, Wed, Oct 21, 9:15 a.m. UTC)
  • Week 6 reading (Networking Basics, Tue, Oct 20, 2:05 p.m. UTC)
  • Room change for Thursday (Data Structures, Mon, Oct 19, 4:40 p.m. UTC)

The app replies: Start with Problem set 1 in Data Structures, which was due Monday. Quiz 1 closes Friday, the Lab 3 routing table is due Wednesday, and the Lab 4 report draft and Problem set 3 are due Nov 2. The latest announcements mention the Lab 3 deadline, the Week 6 reading and a room change for Data Structures.

You: What's due this week?

Tool call: get_upcoming_due_dates {"name":"get_upcoming_due_dates","arguments":{}}

The server answers:

  • Quiz 1 closes (Networking Basics) due Fri, Oct 23, 11:59 p.m. UTC
  • Lab 4 report (Networking Basics) due Wed, Oct 28, 11:59 p.m. UTC
  • Problem set 3 (Data Structures) due Mon, Nov 2, 11:59 p.m. UTC

The app replies: Three things are due soon. Quiz 1 closes on Friday, the Lab 4 report is due on Wednesday, and Problem set 3 in Data Structures is due on Monday.

You: What's due in Networking Basics?

Tool call: get_my_courses {"name":"get_my_courses","arguments":{}}

The server answers:

  • Networking Basics [id 11]
  • Data Structures [id 12]

Tool call: get_upcoming_due_dates {"name":"get_upcoming_due_dates","arguments":{"course_ids":[11]}}

The server answers:

  • Quiz 1 closes (Networking Basics) due Fri, Oct 23, 11:59 p.m. UTC
  • Lab 4 report (Networking Basics) due Wed, Oct 28, 11:59 p.m. UTC

The app replies: Networking Basics has two things due soon: Quiz 1 closes on Friday and the Lab 4 report is due on Wednesday.

You: Is anything overdue?

Tool call: get_overdue {"name":"get_overdue","arguments":{}}

The server answers:

  • Problem set 1 (Data Structures) was due Mon, Oct 19, 11:59 p.m. UTC

The app replies: One thing is overdue: Problem set 1 in Data Structures, which was due on Monday, Oct 19.

You: Which assignments have I not submitted in Networking Basics?

Tool call: get_my_courses {"name":"get_my_courses","arguments":{}}

The server answers:

  • Networking Basics [id 11]
  • Data Structures [id 12]

Tool call: get_assignments {"name":"get_assignments","arguments":{"course_id":11}}

The server answers:

  • Lab 1: LAN cabling due Fri, Oct 9, 11:59 p.m. UTC graded 8.00 / 10.00
  • Lab 2: subnetting worksheet due Fri, Oct 16, 11:59 p.m. UTC submitted
  • Lab 3: routing table due Wed, Oct 28, 11:59 p.m. UTC not submitted
  • Lab 4: report draft due Mon, Nov 2, 11:59 p.m. UTC draft, not submitted

The app replies: Networking Basics is course 11. Lab 3 routing table has not been submitted, and Lab 4 report draft is still a draft, so it is saved but not handed in. Lab 2 was submitted and Lab 1 is graded 8.00 out of 10.

You: What work am I still missing?

Tool call: get_missing_work {"name":"get_missing_work","arguments":{}}

The server answers:

  • Problem set 1 (Data Structures) was due Mon, Oct 19, 11:59 p.m. UTC, not submitted
  • Lab 3: routing table (Networking Basics) is due Wed, Oct 28, 11:59 p.m. UTC, not submitted
  • Lab 4: report draft (Networking Basics) is due Mon, Nov 2, 11:59 p.m. UTC, draft, not submitted
  • Problem set 2 (Data Structures) is due Fri, Nov 6, 11:59 p.m. UTC, not submitted

The app replies: Four assignments are still not handed in. Problem set 1 in Data Structures was due on Oct 19, Lab 3 routing table in Networking Basics is due on Oct 28, the Lab 4 report draft in Networking Basics is due on Nov 2 and is still only a draft, and Problem set 2 in Data Structures is due on Nov 6.

You: How am I doing in Networking Basics?

Tool call: get_my_courses {"name":"get_my_courses","arguments":{}}

The server answers:

  • Networking Basics [id 11]
  • Data Structures [id 12]

Tool call: get_my_grades {"name":"get_my_grades","arguments":{}}

The server answers:

  • Networking Basics 88.50
  • Data Structures no grade posted yet

Tool call: get_course_grade_items {"name":"get_course_grade_items","arguments":{"course_id":11}}

The server answers:

  • Lab 1: LAN cabling 8.00 (80.00 %)
  • Lab 2: subnetting worksheet 9.00 (90.00 %)
  • Course total 88.50 (88.50 %)

The app replies: Networking Basics has a course total of 88.50, which is 88.50 percent. Lab 1 is 8.00 (80.00 percent) and Lab 2 is 9.00 (90.00 percent). Data Structures has no grade posted yet.

You: Any new announcements?

Tool call: get_announcements {"name":"get_announcements","arguments":{}}

The server answers:

  • Lab 3 is due Friday (Networking Basics, Wed, Oct 21, 9:15 a.m. UTC) Bring your laptop and the patched topology sheet.
  • Week 6 reading (Networking Basics, Tue, Oct 20, 2:05 p.m. UTC) Read chapters 4 and 5 before the quiz.
  • Room change for Thursday (Data Structures, Mon, Oct 19, 4:40 p.m. UTC) Data Structures meets in room B12 this week.

The app replies: Three announcements. Lab 3 is due Friday, so bring your laptop and the patched topology sheet. Week 6 reading says to read chapters 4 and 5 before the quiz. Data Structures has a room change for Thursday.

Quick start

  1. In Moodle, open your profile menu, go to Preferences > User account > Security keys. Copy the key for Moodle mobile web service. The guide to getting your Moodle mobile web service key has each step, plus what to do when the page or the key is missing.
  2. Put your school's Moodle address and that key into the command or the config block above.
  3. Restart your AI app and ask one of the questions above.

To check your setup first, run npx moodle-student-mcp doctor with the two environment variables set.

If you can't find a Security keys page, your school has turned off the mobile web service, or signs you in through single sign on without exposing keys. In that case this server can't connect to your account.

Supported Moodle versions and web service functions

This server talks to the standard Moodle web service API with your Moodle mobile web service key. It does not need a plugin or a custom service. I have not tested a list of Moodle versions, so there is no version table here. Tests run against a fake Moodle server. As a rule, a site where the official Moodle mobile app works for students should work here too, and npx moodle-student-mcp doctor tells you if your site answers.

If a tool says Access denied, your school's admin may have left a function out of the mobile web service. These are the functions the server calls, and the tools that use them:

Web service functionUsed by
core_webservice_get_site_infoSign in check and doctor
core_enrol_get_users_coursesget_my_courses and every tool that lists courses
core_calendar_get_action_events_by_timeframeget_upcoming_due_dates, get_overdue, get_calendar, get_todo
mod_assign_get_assignmentsget_assignments, get_assignment_details, get_missing_work, get_todo
mod_assign_get_submission_statusget_assignments, get_missing_work, get_todo
mod_quiz_get_quizzes_by_coursesget_quizzes
mod_quiz_get_user_attemptsget_quizzes
mod_quiz_get_user_best_gradeget_quizzes
gradereport_overview_get_course_gradesget_my_grades
gradereport_user_get_grade_itemsget_course_grade_items
core_course_get_contentsget_course_content

| `mod

Only the beginning is shown; read the rest in the repo