Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Moodle MCP Server Aql
Moodle MCP Server Aql logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 7:15:26 PM

Moodle MCP Server Aql

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Query Moodle LMS data through natural language. Attach your agent to your LMS data.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "moodle-mcp-server-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (10) Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Capabilities & Tool Schemas (10) ~154 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Moodle MCP Server Aql.

list_courses

Full course catalog with category drill-down

get_course

Detail view for any course

list_course_users

Enrolled users with roles and access data (now supports course name search with interactive selection)

list_assignments

All assignments with due dates

list_categories

Full hierarchy with exact parent resolution

get_site_info

Instance overview β€” site name, version, course count

Documentation Overview

moodle-mcp-server β€” AI-Powered LMS Analytics

Ask your Moodle instance anything. Get structured answers in seconds.

moodle-mcp-server is an open-source MCP (Model Context Protocol) server that connects AI agents directly to Moodle's Web Services API. It is the Moodle connector behind CSMediaPro's broader Agentic Query Layer (AQL) work.

Instead of learning report builders, writing SQL, or exporting CSVs, you ask questions in plain English β€” the AI agent queries your LMS and returns structured data.

Project home: https://csmediapro.com/products/moodle-mcp-server npm package: https://www.npmjs.com/package/moodle-mcp-server-aql MCP Registry: io.github.csmediapro/moodle-mcp-server-aql


Features

  • Core query tools β€” course catalog, user enrollment, assignments, category navigation, site metadata, user lookup, and cache management
  • Premium reporting plugins β€” optional tools such as course completion reports and recent activity can be attached through the plugin runtime
  • LLM-agnostic β€” works with Claude, GPT, Gemini, Ollama, or any MCP-compatible AI client
  • Zero LMS modification β€” uses Moodle's existing Web Services API, no plugin installation required
  • Compliance-ready data handling β€” secure, efficient data processing with privacy by design
  • Read-only β€” never modifies Moodle data, safe for production
  • Plugin-extensible β€” drop new tool modules into a directory; tools and optional agent routing hints auto-register at runtime

Quick Start

Prerequisites

  • Node.js 20+
  • A Moodle instance with Web Services enabled
  • A Moodle API token (Site administration β†’ Plugins β†’ Web services β†’ Manage tokens)

Use With An MCP Client

Most users launch the server through an MCP client such as Claude Desktop:

config.json
{
  "mcpServers": {
    "moodle-mcp-server-aql": {
      "command": "npx",
      "args": ["-y", "moodle-mcp-server-aql"],
      "env": {
        "MOODLE_URL": "https://your-moodle-instance.example",
        "MOODLE_TOKEN": "your-moodle-web-services-token"
      }
    }
  }
}

Setup From Source

bash
# Clone the repo
git clone https://github.com/csmediapro/moodle-mcp-server
cd moodle-mcp-server

# Install dependencies
npm install

# Configure
cp packages/server/.env.example packages/server/.env
# Edit .env: add your MOODLE_URL and MOODLE_TOKEN

# Run (stdio mode)
npm run server:build
node packages/server/dist/index.js

User field schema

User field display settings are generated per Moodle instance and stored locally at packages/server/data/user-field-schema.json. This file is intentionally ignored by git because it can include site-specific custom profile fields.

After connecting to a Moodle site, run the refresh_user_field_schema tool once to discover available standard and custom user fields. A minimal example shape is included at packages/server/data/user-field-schema.example.json.

The user-directory plugin stores a normalized full-user cache with custom profile fields flattened into top-level keys such as school. Once that cache exists, list_users can filter cached users in memory, and summarize_user_directory_field can return cached distinct values and counts. For example, "show unique schools" or "show schools and number of users assigned to each one" summarizes the cached school field without another Moodle fetch.

Config identity

The core owns two different server identity fields:

  • server.id β€” stable machine identity, for example mcp_8f3k2q9x
  • server.name β€” human-facing display label

If server.id is missing, the core generates one once and persists it to the resolved config file before startup continues.

Environment overrides:

  • MOODLE_MCP_CONFIG or MOODLE_MCP_SERVER_CONFIG β€” choose the config file path
  • SERVER_ID β€” explicit server.id override
  • SERVER_NAME β€” explicit server.name override
  • SERVER_VERSION β€” explicit server.version override

If server.id is missing and the resolved config path is not writable, startup fails deliberately.

Using the reference client

bash
# From the project root
cp packages/client/.env.example packages/client/.env
npm run client:dev
# Open http://localhost:3000

The client will auto-detect your Moodle instance and present a chat interface where you can ask questions in plain English.


Connecting an LLM

moodle-mcp-server needs an AI model to power the natural-language interface. You bring the model β€” the moodle-mcp-server core and reference client support any MCP-compatible provider.

Option 1: Run Locally (Recommended for Speed & Privacy)

Running a local model keeps all data on your own hardware β€” nothing leaves your network. Modern quantized models run well on consumer GPUs and even CPU-only setups.

Performance: A quantized 24B model on a single RTX 3090 delivers ~1.5-second responses after the first query β€” faster than most cloud APIs once the system is initialized.

Via Ollama (easiest)

bash
# Install Ollama: https://ollama.com
ollama pull gemma3:12b      # Fast, reliable tool use (~200ms TTFT)
ollama pull qwen3:14b       # Strong reasoning, good for complex queries
ollama pull deepseek-r1:14b # Excellent at multi-step chains

Then point the reference client at http://localhost:11434 (Ollama's default).

Via llama.cpp (maximum control)

bash
# Download a GGUF model (example: Devstral 24B Q4)
# Run the llama.cpp server:
llama-server -m devstral-24b-Q4_K_M.gguf --ctx-size 60000 --port 8080

Point the reference client at http://localhost:8080/v1.

Recommended local models

ModelSizeBest ForHardware
Gemma 3 12B~7 GB VRAMFast tool calls, straightforward queriesSingle consumer GPU
Qwen 3 14B~8.5 GB VRAMComplex reasoning, multi-tool chainsSingle consumer GPU
Devstral 24B Q4~14.5 GB VRAMMaximum capability, 60K contextRTX 3090 / 4090

Option 2: Cloud Providers

Anthropic (Claude):

server.ts
export ANTHROPIC_API_KEY=sk-ant-...

Select "Anthropic" in the reference client's provider dropdown. Claude Sonnet offers the most reliable tool-calling behavior.

OpenAI (GPT):

server.ts
export OPENAI_API_KEY=sk-...

Select "OpenAI" in the provider dropdown. GPT-4o performs well on structured queries.

Ollama Cloud: Uses the same API as local Ollama, hosted at https://ollama.com/v1. Good middle ground β€” faster than local cold starts, more private than big cloud providers.

Option 3: Claude Desktop (Direct MCP)

Claude Desktop connects to the moodle-mcp-server core directly over stdio β€” no reference client needed.

Add to your Claude Desktop config (claude_desktop_config.json):

config.json
{
  "mcpServers": {
    "moodle-mcp-server": {
      "command": "node",
      "args": ["/path/to/moodle-mcp-server/packages/server/dist/index.js"],
      "env": {
        "MOODLE_URL": "https://your-moodle-instance.com",
        "MOODLE_TOKEN": "your-api-token"
      }
    }
  }
}

Restart Claude Desktop. The server's tools will appear in Claude's tool list β€” ask questions directly.


Tools

Core Tools (free, open source β€” AGPL)

ToolDescription
list_coursesFull course catalog with category drill-down
get_courseDetail view for any course
list_course_usersEnrolled users with roles and access data (now supports course name search with interactive selection)
list_assignmentsAll assignments with due dates
list_categoriesFull hierarchy with exact parent resolution
get_site_infoInstance overview β€” site name, version, course count
get_userDetail view for a Moodle user
list_user_coursesCourses for a specific user
search_usersUser search by standard Moodle identity fields
search_courses_by_nameSearch for courses by name with partial matching and interactive selection

Premium Plugins (available separately)

  • Advanced Reporting β€” gradebooks, cross-course comparison, custom report builder
  • User Analytics β€” progress tracking, engagement scoring, risk flags
  • User Directory β€” cached directory listing and structured filtering across standard and custom profile fields
  • Compliance Pack β€” certification tracking, expiration alerts, audit exports

Architecture

Code
User (plain English question)
    β”‚
    β–Ό
AI Agent (Claude / GPT / Gemini / Ollama / local)
    β”‚
    β–Ό  MCP Protocol
`moodle-mcp-server`
    β”œβ”€β”€ Tool Registry (core + plugins)
    β”œβ”€β”€ Agent Runtime Config (core + plugin rules)
    β”œβ”€β”€ Optimized Data Layer (secure, efficient data handling)
    └── Moodle Client (REST API calls)
    β”‚
    β–Ό
Moodle Web Services API

Transport modes

  • Stdio β€” dist/index.js β€” runs as a subprocess, used by Claude Desktop and similar clients

The OSS core intentionally ships with stdio only. Any network-facing wrapper, remote supervision, or premium plugin attachment belongs in a separate commercial node agent or wrapper.

Plugin docs

  • Plugin Contract
  • Creating Plugins
  • Hello Plugin Example

License

AGPL v3 β€” see LICENSE.

This means you can:

  • βœ… Use the moodle-mcp-server core for free, in any environment
  • βœ… Modify the source code for your needs
  • βœ… Build and distribute derivative works

You cannot:

  • ❌ Repackage the moodle-mcp-server core as a closed-source competing commercial product
  • ❌ Offer it as a network service without sharing your modifications

Trademark Notice

Moodle is a trademark of Moodle Pty Ltd. moodle-mcp-server is an independent CSMediaPro project and is not affiliated with, endorsed by, sponsored by, or officially connected to Moodle Pty Ltd or the Moodle project. The name is used descriptively to identify compatibility with Moodle LMS.


Built by CSMediaPro

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Catalog logoCatalog

    Read-only catalog of Russian MFOs: loan terms, Bank of Russia registry data, ratings, reviews.

    πŸ’» Developer Tools1 views
    Compare vs Catalog β†’
  • G
    Github

    GitHub MCP β€” wraps the GitHub public REST API (no auth required for public endpoints)

    πŸ’» Developer Tools0 views
    Compare vs Github β†’
  • Carbone MCP logoCarbone MCP

    Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating

    πŸ’» Developer Tools1 views
    Compare vs Carbone MCP β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

npm downloads
499
Package downloads in the last 30 days.
Last commit
3d ago
Most recent push to the default branch.
Tools exposed
10
Callable tools this server registers over MCP.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Moodle MCP Server Aql

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "moodle-mcp-server-aql": { "command": "npx", "args": ["-y", "moodle-mcp-server-aql"] } }

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 MCP Server Aql AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/moodle-mcp-server-aql?style=directory)](https://allmcps.com/mcp/moodle-mcp-server-aql)
HTML Embed
<a href="https://allmcps.com/mcp/moodle-mcp-server-aql"><img src="https://allmcps.com/api/badge/moodle-mcp-server-aql?style=directory" alt="Moodle MCP Server Aql on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 5, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit3d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 5, 2026
npm downloads499/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
55Quality signal: Good Β· 55/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Moodle MCP Server Aql β†’Install in Claude DesktopInstall in CursorInstall in VS Code