hivelearn_get_community_me
Returns the community the current API key is scoped to. Use this first whenever you need the community_id, owner, slug, or tier — the API key determines tenancy, you cannot switch community.
Takes no parameters.
io.github.williamechevarriaPublished by GitHub account williamechevarriav0.4.0Updated Oct 25, 2026
Read and author HiveLearn courses, events, quizzes, certificates, resources, leaderboards, tracks.
HiveLearn lets an assistant read and author community content — courses, lessons, quizzes, events, posts, members and certificates — in one HiveLearn community.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.williamechevarria%2Fhivelearn-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"hivelearn": {
"type": "http",
"url": "https://mcp.hivelearn.app/",
"headers": {
"X-Hivelearn-Api-Key": "<YOUR_API_KEY>"
}
}
}
}This repository has no README.
Returns the community the current API key is scoped to. Use this first whenever you need the community_id, owner, slug, or tier — the API key determines tenancy, you cannot switch community.
Takes no parameters.
List members of the authenticated community. Returns id (profile uuid), role, email, display_name, avatar_url, and joined_at. Filter by role to find admins/owners.
rolelimitoffsetFetch a single member by profile uuid. Returns the same fields as list_members for one row.
idrequiredChange a member's role or ban status. role accepts member/moderator/admin (owner cannot be assigned via the API). Set is_banned=true to ban, false to lift. At least one field required.
idrequiredroleis_bannedList community feed posts, newest first. Use category to filter (e.g. "announcements"). Returns id, title, content, category, author, reply counts, timestamps.
limitoffsetcategoryFetch one post with full content. Reply thread is NOT included — this is the post itself only.
idrequiredPublish a new post to the community feed. Either content (markdown) or content_json (tiptap) is required. content_format must match which field you sent. category is optional — omit for default "general".
contentcategorycontent_jsoncontent_formatEdit an existing post. Only include fields you want to change. Use is_pinned to pin/unpin a post from the top of the feed.
idrequiredcontentcategoryis_pinnedcontent_jsoncontent_formatList community events. Use upcoming=true for future events only (recommended for calendar UI). Returns id, title, start/end dates, event_type, location/meeting_url, attendee counts.
limitoffsetupcomingFetch one event by id with full description and RSVP metadata.
idrequiredCreate a calendar event. Dates are ISO 8601 strings in UTC. For virtual events set meeting_url; for in-person set location. event_type controls which field the UI shows.
tagstitlerequiredend_daterequiredlocationtimezoneevent_typerequiredstart_daterequireddescriptionmeeting_urlmax_attendeescover_image_urldescription_json+1 moreEdit an event. Set is_cancelled=true to cancel (preserves history). Set max_attendees=null to lift the cap.
idrequiredtagstitleend_datelocationtimezoneevent_typestart_datedescriptionmeeting_urlis_cancelledmax_attendees+3 moreList courses in the authenticated community. status=published returns only courses visible to learners. Returns id, title, visibility, is_published, thumbnail_url, timestamps.
limitoffsetstatusFetch one course with full metadata (description, instructor, tags, flags). For the lesson tree use hivelearn_get_course_structure instead.
idrequiredCreate an empty course (no modules/lessons). Prefer hivelearn_create_course_outline when you already know the structure — it scaffolds course + modules + lesson placeholders in one call.
tagstitlerequireddifficultyvisibilitydescriptionthumbnail_urlinstructor_namedescription_jsondescription_formatinstructor_avatar_urlEdit course metadata. Use hivelearn_publish_course instead of setting is_published=true directly — publish runs validation.
idrequiredtagstitleis_pinneddifficultyvisibilitydescriptionis_featuredis_publishedthumbnail_urlinstructor_namedescription_json+2 moreList modules (sections) of a course, ordered by sort_order. Modules group lessons; a course has 1..N modules.
course_idrequiredAdd a module to a course. sort_order is optional — server auto-appends if omitted.
titlerequiredcourse_idrequiredsort_orderRename or reorder a module. To reorder lessons within a module use hivelearn_reorder_module_lessons.
idrequiredtitlesort_orderList lessons of a course, optionally filtered to one module. Use hivelearn_get_course_structure for a nested tree.
course_idrequiredmodule_idAdd a lesson to a course. content_type must match content_url (e.g. youtube URL → content_type:youtube). Set module_id=null to leave the lesson unassigned; otherwise pass a module uuid from list_course_modules.
titlerequiredcourse_idrequiredmodule_idis_previewsort_ordercontent_urlrequireddescriptioncontent_jsoncontent_typeis_publishedthumbnail_urlcontent_format+1 moreEdit lesson metadata or move it between modules. To edit ONLY the content body use hivelearn_update_lesson_content (narrower scope, safer).
idrequiredtitlemodule_idis_previewsort_ordercontent_urldescriptioncontent_jsoncontent_typeis_publishedthumbnail_urlcontent_format+1 moreScaffold an entire course in one call: course + modules + lesson placeholders (title/description only, no content yet). After this, loop over the returned lesson ids with hivelearn_update_lesson_content to fill in video/document URLs. This is the preferred first step when authoring a new course from a plan.
tagstitlerequiredmodulesrequireddifficultyvisibilitydescriptionthumbnail_urlinstructor_namedescription_jsondescription_formatinstructor_avatar_urlReplace just the content of a lesson — URL, content_type, and optional description/duration/thumbnail. Narrower than update_lesson; safe for bulk agent writes. Does NOT change title, sort_order, or module assignment.
idrequiredcontent_urldescriptioncontent_jsoncontent_typethumbnail_urlcontent_formatduration_secondsSet the full lesson order within a module in one atomic call. Pass the desired final order as lesson_ids — every lesson currently in the module must appear exactly once.
module_idrequiredlesson_idsrequiredPublish a course: sets is_published=true after validating that every lesson has content_url. Returns error if any lesson is still empty — run hivelearn_get_course_structure to diagnose.
idrequiredReturn a compact titles-only tree of the course: course → modules → lessons. Ideal for agents to plan reorders, spot empty lessons, or summarize a course. Does NOT include lesson body content.
idrequiredList quizzes, optionally scoped to a course or a specific lesson. Each quiz belongs to one lesson.
limitoffsetcourse_idlesson_idFetch one quiz with metadata (passing_score, time_limit, max_attempts). Questions are NOT included — use hivelearn_list_quiz_questions.
idrequiredCreate a quiz attached to a lesson. passing_score is 0-100 (percent). Omit time_limit_seconds or max_attempts for unlimited.
titlerequiredlesson_idrequireddescriptionmax_attemptspassing_scoreshuffle_questionstime_limit_secondsEdit quiz settings. Cannot move a quiz to a different lesson — create a new one instead.
idrequiredtitledescriptionmax_attemptspassing_scoreshuffle_questionstime_limit_secondsList all questions for a quiz, ordered by sort_order. Each question carries its options and correct answer.
quiz_idrequiredAdd a question to a quiz. Supply the answer field for the type: multiple_choice → options [{text, is_correct}] with exactly one is_correct:true; multi_select → options with one or more correct; true_false → correct_answer (boolean); fill_in_blank → accepted_answers; matching → pairs [{left, right}]; ordering → items [{text}] in correct order (or with position 1..n).
itemspairspointsoptionsquiz_idrequiredsort_orderexplanationquestion_textrequiredquestion_typerequiredcorrect_answeraccepted_answersEdit a question. Sending question_type or any answer field (options, correct_answer, accepted_answers, pairs, items) rebuilds the answer key, so supply the full answer for the effective type.
idrequireditemspairspointsoptionssort_orderexplanationquestion_textquestion_typecorrect_answeraccepted_answersList course enrollments, optionally scoped to one course or one user. Returns enrollment_id, user_id, course_id, status, progress %, enrolled_at, completed_at.
limitoffsetuser_idcourse_idFetch one enrollment with status and progress.
idrequiredEnroll a user in a course. Both user_id and course_id must belong to the authenticated community. Duplicate enrollments are rejected.
user_idrequiredcourse_idrequiredAggregate lesson-completion progress for a course across enrolled users. Returns per-user percent_complete, last_accessed_at, completed_lesson_count.
limitoffsetuser_idcourse_idrequiredQuiz-score gradebook for a course: per-user quiz attempts, scores, pass/fail. Use for analytics or grading dashboards.
limitoffsetuser_idcourse_idrequiredList issued certificates, optionally scoped to one user or one course. Returns id, user, course, verification_code, status, issued_at.
limitoffsetuser_idcourse_idFetch one certificate by id. Includes verification_code and download URL.
idrequiredIssue a certificate of completion to a user for a course. Normally the platform auto-issues on course completion — use this tool for bulk backfill or manual awards.
user_idrequiredcourse_idrequiredexpires_atfinal_scorecompletion_dateinstructor_nameChange a certificate status. Use "revoked" to invalidate (verify endpoint will reject).
idrequiredstatusrequiredPublic verification lookup by verification_code. Returns { valid, certificate } if found and active. Use this when a third party presents a certificate code.
coderequiredList published resources in the authenticated community, newest first. Filter by folder_id, resource_type, or access_level. Returns id, title, resource_type, resource_url/file_url, access_level, counts (downloads, views, favorites), author. The internal storage key is never exposed.
limitoffsetfolder_idaccess_levelresource_typeFetch one published resource by id, with joined author. 404 if unpublished or in another community.
idrequiredAdd a resource to the community library. Supply either resource_url (external link) or file_url (already-uploaded file) — at least one is required. price must be > 0 if set (omit for free). access_level defaults to public.
tagspricetitlerequiredfile_urlfolder_idis_premiumdescriptionaccess_levelis_publishedresource_urlresource_typecover_image_urlEdit a resource. Only include fields you want to change. Set is_featured to surface it; set is_published=false to unlist.
idrequiredtagspricetitlefile_urlfolder_idis_premiumdescriptionis_featuredaccess_levelis_publishedresource_url+2 moreRanked member leaderboard for the community. period chooses the window: all_time (default), 30_day, or 7_day. Each entry carries rank and the points for the selected period, plus level info.
limitoffsetperiodFull points breakdown for one member (by auth user id) in the community: total, per-category (posts/comments/events/courses/engagement), period totals, level. 404 if the member has no points record here.
user_idrequiredList published learning tracks (curated course sequences) in the community, newest first. Returns id, title, description, difficulty_level, estimated_hours, flags.
limitoffsetFetch one learning track by id with full metadata. For its ordered curriculum use hivelearn_list_track_courses.
idrequiredReturn the ordered curriculum of a track: its courses with sort_order, is_required, and unlock_after_course_id (prerequisite gating).
track_idrequiredPer-member progress through a learning track: enrolled_at, started_at, completed_at, total_courses, completed counts. Use for cohort/track analytics.
limitoffsettrack_idrequiredCreate a learning track (curated course sequence). After this, add courses in order with hivelearn_add_track_course. is_published defaults to false — publish once the curriculum is set.
titlerequireddescriptionis_featuredis_publishedthumbnail_urlestimated_hoursdifficulty_levelEdit a learning track. Only include fields you want to change. Set is_published=true to make it live.
idrequiredtitledescriptionis_featuredis_publishedthumbnail_urlestimated_hoursdifficulty_levelAdd a course to a track at a given position. sort_order sets the order within the track. Set unlock_after_course_id to a prerequisite course that must be completed first (omit/null for no gate). is_required defaults to true.
track_idrequiredcourse_idrequiredsort_orderrequiredis_requiredunlock_after_course_idAI credit balance for the API key's creator: monthly allowance remaining, purchased top-ups (never expire), total available, reset date, and whether the AI Course Builder is enabled for this community. Check this before generating. Needs scope read:ai.
Takes no parameters.
List the key creator's AI course generation jobs in this community, newest first, with status and progress. Needs scope read:ai.
limitoffsetStatus and progress of one AI generation job. Poll after hivelearn_generate_ai_course. status is queued | processing | completed | failed | refunded; current_step shows the phase; course_id is the resulting course. A job that stays queued with started_at null was never picked up and is failed and refunded automatically within about an hour. Needs scope read:ai.
job_idrequiredGenerate a full course with AI and return a job_id to poll with hivelearn_get_ai_job. SPENDS the key creator's AI credits: 1 credit, or 5 for hybrid_chapters (paid plans only), plus 1 when include_recap_video is true in a video mode. Confirm with the user before calling. Requires the explicit generate:ai_courses scope, which admin:* does NOT include. source_type video_url imports a public YouTube/Vimeo/Loom link; every other type needs a file already uploaded to HiveLearn media storage (external URLs are rejected). Limited to 2 running and 10 per hour.
source_urlrequiredvideo_modecontext_urlsource_typerequiredstyle_presetcontent_depthbrand_intensityinclude_quizzessource_filenameinclude_intro_videoinclude_recap_videoquiz_questions_per_chapterList an event's attendees with check-in status and basic profile. source='rsvp' (default) for free RSVPs, 'ticket' for paid ticket purchases. Requires scope read:events.
limitoffsetsourceevent_idrequiredrsvp_statuspayment_statusList an event's waitlist in queue order (oldest first) with position and basic profile. Requires scope read:events.
limitoffsetevent_idrequiredList comments on a feed post, oldest first. Returns id, content, parent_comment_id, author, likes_count, timestamps. 404 if the post is not in this community.
limitoffsetpost_idrequiredComment on a feed post as the API key's owner. The comment is visible to all members immediately, notifies the post author, and awards comment points. Set parent_comment_id to reply to another comment on the same post.
contentpost_idrequiredcontent_jsoncontent_formatparent_comment_idList published discussions (forum threads), pinned first then newest. Returns id, title, content, category, tags, reply/like counts, is_locked, author.
limitoffsetcategoryFetch one discussion by uuid, with author. Use list_discussion_replies for its replies.
idrequiredStart a discussion as the API key's owner. It is published and visible to all members immediately, and notifies every member who has new-discussion notifications on.
tagstitlerequiredcontentcategorycontent_jsoncontent_formatList replies in a discussion, oldest first. Returns id, content, parent_reply_id, is_accepted_answer, author, likes_count.
idrequiredlimitoffsetReply to a discussion as the API key's owner. The reply is visible to all members immediately and notifies the discussion author. Fails with 409 if the discussion is locked. Set parent_reply_id to nest under another reply.
idrequiredcontentcontent_jsoncontent_formatparent_reply_idCommunity analytics over a trailing window of `days` (default 30): total and new members, posts created, enrollments (total, new, completions, completion rate), published courses, and events created/held with RSVPs and check-ins. Definitions match the admin dashboard. Requires read:analytics.
daysPer-course analytics for the community (newest course first): enrollments, new enrollments and completions in the last `days`, completion rate, average progress, and average rating. Paginated. Requires read:analytics.
dayslimitoffsetList attempts for one quiz: learner, score (0-100), points, passed, started_at and completed_at (null = in progress). Never includes answers or answer keys. Requires read:courses.
limitoffsetquiz_idrequireduser_idList assignment submissions in the community, newest first, with student profile and lesson title. Filter by course_id, lesson_id or status. Requires read:courses.
limitoffsetstatuscourse_idlesson_idFetch one assignment submission: text/url, status, instructor feedback and reviewer. Requires read:courses.
idrequiredReview an assignment submission: sets status (reviewed, approved, revision_requested, submitted) and instructor feedback, recorded as reviewed by the API key's creator. This changes a member's record and the student will see it. revision_requested requires feedback. Requires write:grades.
idrequiredstatusrequiredfeedbackList resource-library folders in the authenticated community, ordered by position then name. Folders nest via parent_folder_id; pass parent_folder_id="root" for top-level only, or a folder id for its children. Each folder includes resource_count.
limitoffsetparent_folder_idFetch one resource folder by id, with its resource_count. 404 if it belongs to another community.
idrequiredCreate a resource-library folder. parent_folder_id (optional) must be a folder in the same community. Names must be unique among siblings (409). price must be > 0 if set.
iconnamerequiredcolorpricepositiondescriptionparent_folder_idUpdate a resource folder (rename, recolor, reorder, reprice, or move). parent_folder_id=null moves it to top level; moving a folder into itself or a descendant is rejected. Only supplied fields change.
idrequirediconnamecolorpricepositiondescriptionparent_folder_idList question banks (reusable question pools that bank-draw quizzes sample from), newest first.
limitoffsetFetch one question bank with its item_count. Items are listed separately via hivelearn_list_question_bank_items.
idrequiredCreate an empty question bank. Add questions with hivelearn_create_question_bank_item.
namerequireddescriptionRename a question bank or change its description.
idrequirednamedescriptionList the questions in a bank, WITH the answer key (is_correct, pairs/items, explanation). Authoring view for admins.
limitoffsetbank_idrequiredAdd a question to a bank. Supports all 6 types; supply the answer field for the type: options (multiple_choice / multi_select), correct_answer (true_false), accepted_answers (fill_in_blank), pairs (matching), items (ordering).
itemspairspointsbank_idrequiredoptionsexplanationquestion_textrequiredquestion_typerequiredcorrect_answeraccepted_answersEdit a bank question. Changing question_type or any answer field rebuilds the answer key, so resupply the answer field for the (new) type.
idrequireditemspairspointsoptionsexplanationquestion_textquestion_typecorrect_answeraccepted_answersList private admin notes on a member, newest first.
limitoffsetuser_idrequiredAdd a private admin note to a member. The author is the API key's creator.
noterequireduser_idrequiredList the community's member tags (id, name, color).
limitoffsetCreate a member tag. Names are unique per community (409 on duplicate).
namerequiredcolorList the tags assigned to a member.
user_idrequiredAssign a tag to a member. Idempotent: returns the existing assignment if already tagged.
tag_idrequireduser_idrequiredList saved member segments with their filter rules.
limitoffsetList members matching a segment's rules, evaluated server-side the same way the admin CRM does.
limitoffsetsegment_idrequiredGet a member's health score (engagement, activity, risk level). 404 until the daily job has scored them.
user_idrequired75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
Declare a license in the repository or the registry entry.