MCP.Market

Moodle Aql MCP server

by csmediapro·io.github.csmediapro/moodle-mcp-server-aql·v0.1.6·1 stars

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

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Growing

1 stars156 downloads/wk

Reviews

Write one

Nobody has reviewed Moodle Aql yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Moodle Aql tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it

no findings
  • Code scan71 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 13 days ago15/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Moodle Aql compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 65% of 4,461 AI and agents servers
GitHub stars
1
more than 50% of 2,713 AI and agents servers
Downloads a week
156
more than 71% of 1,554 AI and agents servers with a package

Release history: 3 versions in the registry since 2026-09-09, latest 2026-09-26, typically one every 16 days.

Install Moodle Aql in Claude Code, Cursor or VS Code

Runs npx -y moodle-mcp-server-aql on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add moodle-mcp-server-aql -- npx -y moodle-mcp-server-aql
Add to Cursor

What the publisher says

From the Moodle Aql repository's README, as published. We do not edit it. Read it on GitHub

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:

{
  "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

# 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 refreshuserfield_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.

Separately installed plugins can use this schema to flatten custom profile fields into stable keys such as school. The premium user-directory plugin, for example, uses it to cache and summarize full-user directory fields outside the OSS core.

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:

  • MOODLEMCPCONFIG or MOODLEMCPSERVER_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

# From the project root
cp packages/client/.env.example packages/client/.env
npm run client:dev

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Moodle Aql: common questions

Is Moodle Aql MCP server safe?
Mostly: it is graded B (82/100). Read the Moodle Aql safety report
How do I install Moodle Aql?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Moodle Aql need an API key?
Yes. The registry entry asks for MOODLE_TOKEN.
Is Moodle Aql maintained?
The last commit was 35 days ago (2026-10-01). The latest release is v0.1.6.
How does Moodle Aql compare with other AI and agents MCP servers?
safety score 82/100 (higher than 65% of 4,461 AI and agents servers); github stars 1 (more than 50% of 2,713 AI and agents servers); downloads a week 156 (more than 71% of 1,554 AI and agents servers with a package). Full comparison.