Check LearnWorlds courses, learners, progress, grades and payments, and enroll or tag users. Hosted by usefulapi — connect from Claude, ChatGPT, Cursor, or any MCP client.
Team and Enterprise: an Owner adds the connector for the organization first.
Run this command, then run /mcp in Claude Code to log in:
Add to Cursor or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"learnworlds": {
"url": "https://learnworlds.usefulapi.io/mcp"
}
}
}Add to VS Code or add this to .vscode/mcp.json:
{
"servers": {
"learnworlds": {
"type": "http",
"url": "https://learnworlds.usefulapi.io/mcp"
}
}
}No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.
Run these commands. The second one opens the login page:
Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.
The login page asks for your School URL, API Client ID and Access token.
All three are in your school admin → Settings → Developers → API: the school URL is the host of the API URL shown there (a bare subdomain like myschool also works), the Client ID is listed there, and the access token is created under Access Tokens → Create (tokens expire — reconnect with a new one when it does). API access is only available on LearnWorlds plans that include it. Your credentials are used only to call your school's API on your behalf and to derive a private account id; they are never shown to anyone.
Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your School URL, API Client ID and Access token. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
Turn on the LearnWorlds connector, then ask in plain words. The AI picks the tools.
| Tool | Type | What it does |
|---|---|---|
learnworlds_list_courses | read | List courses List the school's courses, newest first, 50 per page — title, price fields, access (paid/free/draft...), categories and author. A cheap way to confirm the credentials work. LearnWorlds: GET /v2/courses. |
learnworlds_get_course | read | Get a course Fetch one course by id (its slug). LearnWorlds: GET /v2/courses/{id}. |
learnworlds_get_course_contents | read | Get course contents The course outline: its sections (with drip-feed settings) and the learning activities (videos, PDFs, SCORM, assessments, certificates...) in each, with their ids. LearnWorlds: GET /v2/courses/{id}/contents. |
learnworlds_get_course_analytics | read | Get course analytics Course-level analytics: students, learning units, average score and success rate, total study time, average time to finish, social interactions and certificates issued. LearnWorlds: GET /v2/courses/{id}/analytics. |
learnworlds_list_course_users | read | List users enrolled in a course The users enrolled in one course, newest first (20 per page by default). LearnWorlds: GET /v2/courses/{id}/users. |
learnworlds_get_course_grades | read | Get course grades Assessment grades of the users enrolled in a course — per user and learning unit, with submission time. LearnWorlds: GET /v2/courses/{id}/grades. |
learnworlds_list_users | read | List users List the school's users, newest first (20 per page by default), filterable by status, role, tags, registration date and custom fields. All filters are ANDed. LearnWorlds: GET /v2/users. |
learnworlds_get_user | read | Get a user Fetch one user by id or email — profile, role, tags, sign-up fields, UTMs and last login. LearnWorlds: GET /v2/users/{id}. |
learnworlds_list_user_courses | read | List a user's course enrollments The courses a user is enrolled in, with enrollment and expiry dates (50 per page). LearnWorlds: GET /v2/users/{id}/courses. |
learnworlds_get_user_course_progress | read | Get a user's progress in a course A user's progress in one course — status, progress rate, average score, time on course, completed units, and a per-section / per-activity breakdown. LearnWorlds: GET /v2/users/{id}/courses/{cid}/progress. |
learnworlds_list_payments | read | List payments List payments, newest first (50 per page by default) — product, price, discount, tax, coupon, affiliate, gateway and billing info. All filters are ANDed. LearnWorlds: GET /v2/payments. |
learnworlds_get_payment | read | Get a payment Fetch one payment by payment id or transaction id. LearnWorlds: GET /v2/payments/{id}. |
learnworlds_list_certificates | read | List certificates Certificates awarded, newest first (20 per page), for a course and/or a user — at least one of course_id or user_id is required. LearnWorlds: GET /v2/certificates. |
learnworlds_list_user_groups | read | List user groups List the school's user groups (cohorts / B2B seats), newest first — title, products, group managers, capacity and tags. LearnWorlds: GET /v2/user_groups. |
learnworlds_list_event_logs | read | List event logs The school's activity log (50 per page) — registrations, logins, purchases, enrollments, course completions, certificates, subscription changes and more, filterable by user, activity and time. LearnWorlds: GET /v2/event-logs. |
learnworlds_create_user | write | Create a user WRITE: create a learner account. Deliberately no password or admin flag — set send_registration_email so the learner sets their own password. LearnWorlds: POST /v2/users. |
learnworlds_update_user | write | Update a user WRITE: update a user's email, username, marketing consent, sign-up fields or tags. Only the fields you pass are sent. Passing `tags` REPLACES the tag list — use learnworlds_update_user_tags to add/remove individual tags. LearnWorlds: PUT /v2/users/{id}. |
learnworlds_update_user_tags | write | Attach or detach user tags WRITE: add (attach) or remove (detach) tags on a user, leaving their other tags untouched. Reversible with the opposite action. LearnWorlds: PUT /v2/users/{id}/tags. |
learnworlds_enroll_user | write | Enroll a user in a product WRITE: manually enroll a user in a course, bundle or subscription. This grants access and records a manual enrollment at the given price (use 0 for a free grant) — it does not charge the learner's card. Optionally emails the learner. LearnWorlds: POST /v2/users/{id}/enrollment. |
learnworlds_add_user_to_group | write | Add a user to a user group WRITE: add an existing user to a user group (which may enroll them in the group's products). LearnWorlds: POST /v2/user_groups/{id}/users/{uid}. |
learnworlds_usage_status | Usage status (free-tier meter) Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter. | |
learnworlds_request_feature | Request a missing feature Tell usefulapi that the user needs something the LearnWorlds tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. | |
learnworlds_upgrade | Upgrade to Pro (unlimited*) Get Pro: unlimited tool calls (fair use limit: 10,000 a month) on LearnWorlds (the free tier caps monthly usage). Plans: "monthly" — $9/month; "yearly" — $90/year (2 months free). Cancel any time: Pro then runs to the end of the paid period, so it also suits a one-time job. *A fair use limit applies. For heavy use (near Pro's limit): "plus" or "plus_yearly" — Pro+, $19/month or $190/year, unlimited tool calls (fair use limit: 100,000 a month); an existing Pro subscription changes to Pro+ in place (needs confirm: true; the price difference for the rest of the period is charged at once). Otherwise returns a short link to open in your browser (it opens Stripe Checkout); after payment the account upgrades automatically. Does not count against the meter. | |
learnworlds_cancel_subscription | Cancel the Pro subscription Cancel the caller's LearnWorlds Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run learnworlds_upgrade later to undo the cancel before the period ends. Does not count against the meter. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 50 tool calls / month |
| Proper user | $9/mo · $90/yr | Unlimited* |
*Pro fair use limit: 10,000 tool calls a month on this server. For more, write to [email protected].
Pro covers this LearnWorlds server only. Subscribe with learnworlds_upgrade (it returns a Stripe Checkout link). Cancel any time with learnworlds_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running learnworlds_upgrade before then undoes the cancel. Or write to [email protected].
No. usefulapi is an independent service. It is not affiliated with or endorsed by LearnWorlds. The server calls the LearnWorlds API with your own LearnWorlds access, so it sees only the data that your account can see.
Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.
The login page asks for your School URL, API Client ID and Access token. See Before you connect for where to find them.
No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your School URL, API Client ID and Access token. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
The login stores them encrypted in the authorization grant of your connection. The server uses them to call the LearnWorlds API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in LearnWorlds.
Yes, if you approve it. 5 of the 20 LearnWorlds tools can create or change data. The other 15 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.
The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls (fair use limit: 10,000 tool calls a month), for this LearnWorlds server only. Cancel any time: Pro then runs to the end of the paid period. Run learnworlds_usage_status to see how many calls you used.
Ask the AI to run learnworlds_upgrade: it returns a Stripe Checkout link. To cancel, run learnworlds_cancel_subscription. Pro continues to the end of the paid period.
Tell the AI what you wanted to do. It can send the request with learnworlds_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.
Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf and others.
This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.