moodle-mcp — Claude Code MCP server: what it does, how to install
Connects LLM agents to Moodle LMS to inspect courses and submit coursework. Useful for managing academic deadlines without a browser.
Open on GitHubWhat moodle-mcp does
Built in Rust with the official rmcp library, moodle-mcp ships as a standalone static binary. The tool runs against Moodle installations from version 3.7 through 5.x. It provides 20 typed operations. It runs without a browser.
The binary handles document conversions locally, turning HTML and PDF files into clean markdown. Tools consume local filesystem paths rather than base64 payloads. Homework submissions remain drafts until confirmed.
Your institution must have the mobile web service enabled, or authentication will fail. The server intentionally lacks any tool for answering quizzes.
What it helps with
- track assignment deadlines across enrolled courses
- parse attached assignment PDFs into readable markdown
- submit draft coursework solutions without using a browser
- gather discussion forum digests and teacher announcements
Example prompts for the agent
- Check my deadlines for the next two weeks and build a study schedule.
- Fetch the Data Communication assignment PDF, review the prompt, and prepare a draft submission.
- Check the announcements forum in Software Engineering and summarize the latest updates.
How to install moodle-mcp
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about moodle-mcp
How do I install moodle-mcp in Claude Code?
Compile the program by running cargo install moodle-mcp or download a release binary. Then run moodle-mcp auth in your terminal to log in and register the executable inside your Claude Code configuration.
What does moodle-mcp do?
It bridges your agent to Moodle using 20 typed tools. The assistant can navigate course contents, transform assignment attachments into markdown, upload answers, and view posted grades.
Can moodle-mcp take quizzes automatically?
No, taking quizzes is deliberately omitted from the toolset. The server only lets the agent check quiz schedules, assignment requirements, and related forum posts.