Moodle Study MCP
Allows interaction with Moodle, providing tools to list courses, get course overview with content counts, sync and search materials, and list quizzes with attempt information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Moodle Study MCPGive me a study overview of Fluid Dynamics"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Moodle Study MCP
An MCP server that lets Claude read your ETH Moodle courses so it can plan your exam prep. Ask Claude things like:
"For Control Systems II, exam in 12 days — how many lectures, problem sets, quizzes and practice exams do I have, and what should I actually do?"
The server fetches, counts, and categorizes your course content. Claude does the
reasoning. Works for any Moodle site (defaults to ETH; set MOODLE_URL for others).
What it gives Claude
Tool | What it does |
| Your enrolled courses |
| Detected counts (lectures / problem sets / practice exams / quizzes) + the raw item list |
| Downloads + text-extracts all materials into a local cache |
| Every quiz + how many attempts you've made |
| Full-text search across everything you've synced |
| The extracted text of one file, for Claude to read |
Related MCP server: moodle-mcp
Setup (ETH students)
Requires Python 3.10+.
git clone <this-repo> && cd Moodle-MCP
pip install -e .1. Get your token (once)
ETH uses SSO, so you need a Moodle web-service token (a 32-character hex string). The token is stored in your OS keyring (never in a file, never in git) and is long-lived.
python -m moodle_mcp authThis opens a browser; log in with SSO. At the end Moodle tries to hand the token
back via a moodlemobile://token=... redirect. Since no app is registered for
the moodlemobile:// scheme, your browser shows an error — "address invalid"
(or "Safari cannot open the page because the address is invalid"). That's
expected. You just need to fish the token=... value out of that failed
redirect and paste it at the prompt.
Most browsers (Safari and Chrome included) hide the failed URL, so grab it from DevTools instead:
Safari — enable Settings → Advanced → "Show features for web developers", then Develop → Show Web Inspector (
⌥⌘I) → Network tab. Run the login, click thelaunch.phpentry → Response, and search formoodlemobile://token=. Copy that whole value.Chrome / Edge —
Ctrl/⌘+Shift+I→ Network tab → run the login → open thelaunch.phpresponse and findtoken=.
Paste that value at the Paste the moodlemobile://token=... value here: prompt
(the tool decodes it for you).
Non-ETH Moodle sites: many expose the token directly under your profile → Preferences → Security keys (
<your-moodle>/user/managetoken.php), listed as "Moodle mobile web service". If it's there, skip the browser dance:python -m moodle_mcp auth --token <token>. Note: the RSS token on that page is not the right one, and ETH does not list the mobile token there.
Verify:
python -m moodle_mcp doctor2. Register with Claude Code
claude mcp add moodle -- python -m moodle_mcp serveThen in Claude: "List my Moodle courses", or "Give me a study overview of Fluid Dynamics."
Other universities
export MOODLE_URL="https://moodle.your-uni.example"
python -m moodle_mcp authThe classifier keywords (taxonomy.yaml) are tuned for German + English ETH
naming. Add your own patterns there if your course names differ.
Privacy & security
Your token is a password to your Moodle account. It lives only in your OS keyring.
.gitignoreexcludes the cache and any token files.The local cache (
~/.moodle-mcp/) holds copyrighted course material — it stays on your machine.Uses only Moodle's sanctioned mobile web-service API. No scraping.
Development
pip install -e ".[dev]"
pytestThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables interaction with Moodle learning management systems through the Moodle REST API. Supports course management, user enrollment, assignments, forums, quizzes, and file operations through natural language.24MIT
- Alicense-qualityCmaintenanceProvides Claude with full access to Moodle learning management systems, enabling interaction with courses, files, assignments, grades, and calendar events. It also supports building Obsidian study vaults from course materials through automated knowledge graph creation.2415MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to interact with Moodle via web services, allowing tasks like listing courses, assignments, events, and downloading files.104MIT
- Alicense-qualityDmaintenanceEnables AI assistants to access Canvas LMS course content, including assignments, modules, announcements, and files, to help students manage their coursework.9ISC
Related MCP Connectors
Voice-led, FSRS-scheduled flashcards from YouTube, PDFs, web, or text. Auto-graded quizzes.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/franciscodngferreira/Moodle-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server