Waseda Moodle MCP
The MCP server can be hosted as a Cloudflare Worker, enabling a web console and serverless operation.
Provides a secret ICS subscription URL for assignments, deadlines, and timetable, allowing integration with Google Calendar.
Connects to Waseda University's Moodle instance, providing tools to retrieve assignments and deadlines, timetable, syllabus details, grades, course content, forum posts, messages, notifications, and files. It also supports writing operations such as assignment submission, forum posts, and sending messages, with a preview and confirm step.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Waseda Moodle MCP
Connect Waseda University Moodle (wsdmoodle) to Claude, ChatGPT, Cursor and other AI assistants. Assignments & deadlines, timetable, syllabus, grades and course updates — just ask.
Public instance · Self-hosting · MIT License
An MCP (Model Context Protocol) server for Waseda University's Moodle
(https://wsdmoodle.waseda.jp). Ask your AI assistant what is due this week, when and where your
next class is, how a course is graded, or what teachers posted recently — across every course at once.
It is Waseda-only by design: the Moodle origin, the login flow and several features (syllabus-based
timetable, assignments & deadlines sweep) are specific to that site.
It runs either as a hosted service on Cloudflare Workers (with a web console) or as a local stdio process. Unofficial; not affiliated with Waseda University.
Ask things like
"What assignments are due this week? Which ones have I not submitted?"
"What classes do I have tomorrow, and in which rooms?"
"How is Introduction to Data Science graded?"
"What did teachers add to my courses since Monday?"
Screenshots
Overview | Assignments & deadlines |
My courses | Timetable |
Screenshots use fictional demo data.
Related MCP server: FCPC-lms-mcp-server
Features
Assignments & deadlines
Outstanding items grouped Overdue / Today / Tomorrow / Next 7 days / Later, or by course (
group_by=course). Submitted items stay in their group struck through. From the Moodle calendar plus a background sweep that finds undated activities and deadlines written in course text (marked "verify").Recent teacher additions and changes in your courses.
Calendar feed: a secret ICS subscription URL (console Settings → Calendar feed) for assignments & deadlines and the timetable in Google Calendar, Apple Calendar or Outlook.
Timetable
Per-day classes with times, room and campus, built from the public Waseda syllabus and the academic calendar. On-demand and unknown slots listed separately.
Courses, content and grades
Enrolled courses (this term by default), a confirmed course selection (Settings → This term's courses), course sections and activities, activity details, name search across courses, grades per course.
Forums, messages and notifications
Forum threads and posts, Moodle conversations, notifications with unread counts.
Waseda mail (optional, hosted)
Apply for access, and once an administrator approves, connect your Wasedaメール (Google Workspace Gmail) under Settings → Mail or on the Overview page, to search and read mail and attachments, and to send or reply after you confirm. Connections unused for 90 days are disconnected automatically. Google limits an unverified app to 100 users per project, so the hosted service offers a fixed number of mail slots; when they are taken, self-host with your own Google OAuth client.
Files
Download any Moodle file through a short-lived signed URL (hosted) or a temp file (stdio); small files can be attached inline.
Writes with preview, then confirm
Assignment submission (text and files), forum posts and replies, Moodle messages, manual completion.
Every write is two steps:
prepare_*returns a preview, and nothing reaches Moodle untilconfirm_actionruns after you agree. Once one of several prepared actions for the same target (e.g. the same forum, post or assignment) runs, the others that were pending are marked superseded and can no longer run, so a stale preview never posts twice. Writes can also be restricted to approval in the web console, or turned off.
How it works
The server talks to Moodle's web services using the same token the official Moodle mobile app uses. That token is obtained from Moodle's mobile-app launch flow while you are signed in to Moodle in your browser; your password is never requested or seen. On Waseda Moodle the token lasts about a week; the hosted server keeps it renewed automatically (see Security and privacy).
AI client <-- MCP (HTTP or stdio) --> MCP server (Worker / Node) <-- REST --> Moodle web services
|
D1 / KV (hosted)Quick start
Public instance — operated by Konata, free:
Open the public instance and connect Moodle with the bookmarklet, the browser extension, or by pasting the launch link. Your password is never asked for.
Optionally confirm this term's courses under Settings → This term's courses.
Copy the MCP URL from Settings → AI clients and add it to your AI client (see Clients).
Your own instance — see Self-hosting. Below, https://wasemoodle.example.com stands
for your instance URL.
Console
The hosted console sidebar: Overview, Assignments & deadlines, My courses, Timetable, Approvals, Settings.
My courses is the per-course view (tasks, timetable, syllabus grading, recent updates). Confirm which courses you attend under Settings → This term's courses.
Settings tabs: General, This term's courses, AI clients, API keys, Authorized apps, Calendar feed, Activity, Account.
Clients
MCP URL: https://wasemoodle.example.com/mcp (Streamable HTTP). OAuth is the default: the client
discovers the authorization server from the 401 response (RFC 9728), registers itself and opens
the consent page, where you grant read-only or read+write access. API keys (wmm_…, created on the
console Settings → API keys) are for clients that can send an Authorization: Bearer <API_KEY> header.
The console Settings → AI clients page shows the same steps with your instance URL filled in.
Client | Setup |
Claude (web, Desktop; usable on mobile once added) | Customize → Connectors → Add custom connector → URL → Connect. Free plan: 1 custom connector; Team/Enterprise: an Owner adds it in Organization settings → Connectors. |
ChatGPT | Plugins → + → Add custom MCP server → URL, Authentication OAuth → Create. Available on Plus, Pro, Business, Enterprise and Edu. |
Grok | grok.com/connectors → New Connector → Custom → URL. Business/Enterprise: admin adds it first at console.x.ai. |
Claude Code |
|
Cursor |
|
VS Code (Copilot) |
|
Codex CLI |
|
Gemini CLI |
|
Grok CLI |
|
Other (LobeHub, Cherry Studio, …) | Streamable HTTP + URL; OAuth if supported, otherwise the API-key header |
With an API key instead of OAuth. Keep the key out of project files: CLIs store it in your
user config, and Codex and Cursor read it from WMM_API_KEY (set it in your shell profile, e.g.
export WMM_API_KEY='<API_KEY>' in ~/.zshrc).
# Claude Code / Grok CLI (instead of the OAuth command; `claude mcp remove waseda-moodle` first if already added)
claude mcp add --transport http waseda-moodle https://wasemoodle.example.com/mcp \
--header "Authorization: Bearer <API_KEY>"
grok mcp add --transport http waseda-moodle https://wasemoodle.example.com/mcp \
--header "Authorization: Bearer <API_KEY>"
# Codex
codex mcp add waseda-moodle --url https://wasemoodle.example.com/mcp --bearer-token-env-var WMM_API_KEYCursor (~/.cursor/mcp.json): add "headers": { "Authorization": "Bearer ${env:WMM_API_KEY}" } to the
server entry. VS Code (.vscode/mcp.json): let VS Code prompt for the key and store it securely:
{
"inputs": [
{ "type": "promptString", "id": "wmm-api-key", "description": "Waseda Moodle MCP API key", "password": true }
],
"servers": {
"waseda-moodle": {
"type": "http",
"url": "https://wasemoodle.example.com/mcp",
"headers": { "Authorization": "Bearer ${input:wmm-api-key}" }
}
}
}Gemini CLI (~/.gemini/settings.json, use httpUrl): add
"headers": { "Authorization": "Bearer <API_KEY>" } to the server entry. ChatGPT and Claude
(web) use OAuth only.
Local stdio (Node 20+):
pnpm install
pnpm build:stdio # produces dist/stdio.js
node dist/stdio.js connect - # paste the launch link on stdinClient configuration (JSON form used by most clients):
{
"mcpServers": {
"waseda-moodle": {
"command": "node",
"args": ["/path/to/waseda-moodle-mcp/dist/stdio.js"]
}
}
}Or with Claude Code: claude mcp add waseda-moodle -- node /path/to/dist/stdio.js --read-only.
Option | Meaning |
| Register read tools only |
| Token or launch link; overrides the token file |
| Config directory (default |
| Outbound proxy settings |
Stdio stores the token in plain text (file mode 0600) and does not support console approval
of writes or create_upload_link.
Tools
Tool | Purpose | Access |
| Assignments and deadlines grouped by day or by course ( | read |
| Enrolled courses ( | read |
| Sections and activities of one course | read |
| Search activity, section and file names | read |
| Full details of one activity; questionnaire questions and your answers, attendance summary | read |
| Grades for a course | read |
| Save the course selection (This term's courses; server-side filter; does not change Moodle) | read scope |
| Recent teacher changes | read |
| Classes per day with room and campus | read |
| Set or clear a course's class time (server-side; does not change Moodle) | read scope |
| Public syllabus: plan, grading weights, textbooks | read |
| Review a finished quiz attempt (questions, marks, right answers) | read |
| Fetch a Moodle file (signed URL, temp file, or inline up to 1 MiB) | read |
| Forum threads of your courses, with forum ids, posting permission and paging | read |
| Posts of one discussion | read |
| Moodle conversations | read |
| Messages of one conversation | read |
| Notifications and unread count | read |
| Keyword search over forum discussions (optionally messages) | read |
| Find teachers and classmates seen in your course forums or conversations | read |
| Search the Waseda mailbox with Gmail search syntax (only after connecting mail) | read |
| Read a mail or a whole thread, with attachment links | read |
| Short-lived upload URL for large files: submissions and forum attachments (hosted only) | write |
| Preview an assignment submission | write |
| Preview a new discussion or reply, with attachments | write |
| Preview editing or deleting your own forum post | write |
| Preview answers to a questionnaire (submit or save as draft) | write |
| Preview a Moodle message | write |
| Preview a new mail from your Waseda address | write |
| Preview a reply (or reply all) to a mail | write |
| Preview marking an activity done / not done | write |
| Preview subscribing to / unsubscribing from a forum | write |
| Preview marking notifications, a conversation or a forum discussion as read | write |
| Execute a prepared action | write |
| Discard a prepared action | write |
Prompts: daily_briefing (optional date), weekly_plan, exam_prep (course). Resources: moodle://course/{course_id}
and moodle://syllabus/{course_id}. Prepared actions expire after 30 minutes. Times
are shown in JST. The server never takes quizzes.
Security and privacy
No Moodle password is ever requested. The Moodle token is encrypted at rest (AES-256-GCM with the operator's
MASTER_KEY).Automatic renewal: the hosted server keeps a Moodle web session (stored encrypted, sent only to Moodle) and uses it to pick up a new token when the old one expires, so you do not have to reconnect every week.
File contents are streamed, not stored. Download and upload links are HMAC-signed and expire in 15 and 30 minutes.
Waseda mail (optional): the server keeps the Google authorization (encrypted), your address, Google account id, granted permissions and connection times. Mail in your mailbox passes through to your AI client and is never stored; a mail you prepare (sent or not) is kept with its action for 90 days. Attachments up to 5 MB download through signed links; larger ones open in Gmail. Reading mail never marks it read.
API keys are stored as hashes. OAuth access tokens last 12 hours, refresh tokens 90 days.
Deleting your account under Settings → Account removes all of your data on the server.
Details: docs/privacy.md.
Self-hosting
The hosted variant fits the Cloudflare Workers Free plan (Worker + D1 + KV + static assets). See docs/self-hosting.md.
Development
Command | Purpose |
|
|
| Vitest (core, worker, node, extension) |
| Console tests |
| TypeScript, root and |
| Biome |
| jscpd duplication / knip dead code |
| lint + dup + dead + typecheck (tests run separately) |
| Bundle the stdio server |
Layout: src/core (runtime-agnostic services, Moodle client, MCP tools), src/worker
(Cloudflare entry, OAuth, API, D1 store, cron), src/node (stdio CLI), web (React console),
extension (MV3 connector, no build step), migrations (D1 SQL), tests.
License
MIT.
Disclaimer
This is an unofficial project and is not affiliated with or endorsed by Waseda University. The Moodle token it uses is the same token the official Moodle mobile app uses (one per user). This server never revokes or resets it; when it expires the hosted server picks up the new one automatically, and asks you to reconnect only if that is not possible.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
LearnWorlds MCP server for ChatGPT, Claude and any AI agent: list users, list course learners, enroll users, unenroll users, update tags, send message, suspend user and grade assessment in your own LearnWorlds account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to LearnWorlds yourself; Cotlet does not store your password and you need no LearnWorlds API key. About the official LearnWorlds API: LearnWorlds has a REST API (v2) for courses, users, bundles, subscriptions, promotions, payments and certifications, but it comes with the Learning Center plan and higher, and you need your own code to use it (checked 5 Nov 2026). LearnWorlds has no official MCP server. Setup and FAQ: https://cotlet.dev/integrations/learnworlds-api-mcp-server
Absorb LMS MCP server for ChatGPT, Claude and any AI agent: list users, list course enrollments, list overdue learners, approve enrollment request, enroll users in a course, message learners, create user and deactivate user in your own Absorb LMS account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Absorb LMS yourself; Cotlet does not store your password and you need no Absorb LMS API key. About the official Absorb LMS API: Absorb LMS has an Integration API, a REST API with JSON for learners, courses, departments and grades, but it needs a private key tied to your portal that your Absorb account team provides, and your own code (checked 20 Oct 2026). Absorb's Aura MCP for Claude and ChatGPT is planned for 27 Oct 2026 and is read and answer only. Setup and FAQ: https://cotlet.dev/integrations/absorb-lms-api-mcp-server
WorkRamp MCP server for ChatGPT, Claude and any AI agent: list assignments, remind learners, assign training, change due date, unassign learner, get learner transcript, set reminder cadence and run automation in your own WorkRamp account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to WorkRamp yourself; Cotlet does not store your password and you need no WorkRamp API key. About the official WorkRamp API: WorkRamp has a REST API, but it is private: you ask support@workramp.com for access, it needs an enterprise account, and tokens come only from Admin users (checked 22 Oct 2026). WorkRamp's own MCP server is announced in its June 2026 product roundup and described as read and search of guides and assignments, with no write tools. Setup and FAQ: https://cotlet.dev/integrations/workramp-api-mcp-server
Udemy MCP server for ChatGPT, Claude and any AI agent: create coupon, update course, send announcement and get revenue report in your own Udemy account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Udemy yourself; Cotlet does not store your password and you need no Udemy API key. About the official Udemy API: Udemy has an Instructor API that lists your courses, reads reviews, and reads and answers Q&A questions and direct messages (checked 12 Oct 2026). It has no coupons, announcements, review responses, course edits or revenue. Setup and FAQ: https://cotlet.dev/integrations/udemy-api-mcp-server
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Moodle via web services, allowing tasks like listing courses, assignments, events, and downloading files.1056 PyPI4MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to query and manage Moodle LMS data, including assignment deadlines, unread messages, unfinished quizzes, and enrolled courses, using natural language via OpenAI or local LLMs.-
- AlicenseBqualityCmaintenanceConnects Claude to your Moodle account through the same web-service API the mobile app uses. Enables asking about upcoming and overdue deadlines, reading course files and announcements, checking grades, searching course content, and saving assignment submissions from chat.172MIT
- AlicenseBqualityBmaintenanceConnects AI assistants to any Moodle site through the official mobile web service, with a limited browser-session fallback, enabling access to courses, grades, deadlines, assignments, quizzes, forums, and course files. It also supports reading and downloading files and uploading or submitting assignment work under explicit confirmation.34ISC