Get Course Progress
Returns one student's progress in a LearnDash course as LearnDash calculates it: status (not started, in progress, completed), percent complete, steps completed out of the total, when they completed the course, how they have access, and which lessons and topics they have completed. Read-only. The student is found by user ID, email address or username. This is a named person's learning record, so share it only with someone entitled to see it. Get the course ID from mosmcp/learndash-list-courses.
Also known as: student progress, course report, has the student finished, completion status, learner progress.
| Property | Value |
|---|---|
| Ability slug | mosmcp/learndash-get-course-progress |
| Wire tool name | mosmcp__learndash-get-course-progress |
| Category | LearnDash (mosmcp-learndash) |
| Plan | Pro |
Required access
| Requirement | Value |
|---|---|
| Capability | manage_options |
| Minimum default role | Administrator |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| course_id | integer (min 1) | Yes | — | The LearnDash course ID, as returned by mosmcp/learndash-list-courses. |
| user | integer | string | Yes | — | The student: their WordPress user ID, email address or username. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| course_id | integer | Yes | |
| course_title | string | ||
| user | object | Yes | |
| user.user_id | integer | Yes | |
| user.name | string | Yes | |
| user.email | string | ||
| has_access | boolean | ||
| access | string | How they have access: direct (enrolled), group, open (the course is open to everyone), or none. | |
| enrolled_at | string | ||
| status | string | Yes | not_started, in_progress or completed. |
| percent | number | Yes | |
| steps_completed | integer | Yes | |
| steps_total | integer | Yes | |
| completed | boolean | Yes | |
| completed_at | string | ||
| steps | object[] | The course's lessons and their topics in course order, each with whether the student completed it. Long courses are cut short. | |
| steps[].step_id | integer | Yes | |
| steps[].type | string | Yes | lesson or topic. |
| steps[].title | string | Yes | |
| steps[].parent_id | integer | For a topic, its lesson. | |
| steps[].completed | boolean | Yes | |
| notes | string[] |
Example
Sample prompt
How far has tom@example.com got in LearnDash course 512?
Example request (json)
{
"jsonrpc": "2.0",
"id": 675,
"method": "tools/call",
"params": {
"name": "mosmcp__learndash-get-course-progress",
"arguments": {
"input": {
"course_id": 512,
"user": "tom@example.com"
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 675,
"result": {
"isError": false,
"structuredContent": {
"course_id": 512,
"course_title": "Python for Analysts",
"user": {
"user_id": 64,
"name": "Tom Becker",
"email": "tom@example.com"
},
"has_access": true,
"access": "direct",
"enrolled_at": "2026-10-05 09:14:22",
"status": "in_progress",
"percent": 27,
"steps_completed": 6,
"steps_total": 22,
"completed": false,
"completed_at": "",
"steps": [
{
"step_id": 520,
"type": "lesson",
"title": "Setting Up Python",
"parent_id": 0,
"completed": true
},
{
"step_id": 521,
"type": "topic",
"title": "Installing Anaconda",
"parent_id": 520,
"completed": true
},
{
"step_id": 524,
"type": "lesson",
"title": "DataFrames",
"parent_id": 0,
"completed": false
}
],
"notes": []
}
}
}
Edge cases / errors
- A user without access → access "none" and a note to enroll them with mosmcp/learndash-enroll-user; access through a group shows as "group", an open course as "open".
- steps lists lessons and topics only, at most 200; steps_completed and steps_total cover the whole course as LearnDash counts it.
- No user on the site matches → mosmcp_learndash_user_not_found; ID that is not a LearnDash course → mosmcp_learndash_course_not_found.
- A course with no steps reports 0% with a note.
| << Previous | Next >> |
|---|---|
| Enroll User in Course | List LearnDash Courses |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.