Skip to content
MCP server

Moodle MCP Server Aql

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.6
Listing updated
5 days ago

About Moodle MCP Server Aql

Moodle MCP Server Aql is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add moodle-mcp-server-aql --env MOODLE_URL='<MOODLE_URL>' --env MOODLE_TOKEN='<MOODLE_TOKEN>' -- npx -y moodle-mcp-server-aql

Add to claude_desktop_config.json

{
  "mcpServers": {
    "moodle-mcp-server-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "<MOODLE_URL>",
        "MOODLE_TOKEN": "<MOODLE_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "moodle-mcp-server-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "<MOODLE_URL>",
        "MOODLE_TOKEN": "<MOODLE_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "moodle-mcp-server-aql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "<MOODLE_URL>",
        "MOODLE_TOKEN": "<MOODLE_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "moodle-mcp-server-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "<MOODLE_URL>",
        "MOODLE_TOKEN": "<MOODLE_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "moodle-mcp-server-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "<MOODLE_URL>",
        "MOODLE_TOKEN": "<MOODLE_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MOODLE_URLBase URL for the Moodle instance to query.Required
  • MOODLE_TOKENMoodle Web Services API token.Required

Pricing

Open source

Moodle MCP Server Aql FAQ

Is Moodle MCP Server Aql free?

Yes. Moodle MCP Server Aql is open source, so you can use and self-host it for free.

How do I add Moodle MCP Server Aql to Claude Code?

Run this command in your terminal: claude mcp add moodle-mcp-server-aql --env MOODLE_URL='<MOODLE_URL>' --env MOODLE_TOKEN='<MOODLE_TOKEN>' -- npx -y moodle-mcp-server-aql

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers