mcpField
L
LearnHouse

LearnHouse

Remote
learnhouse.appScience & Education2.5kUpdated 2d ago

About LearnHouse

LearnHouse is an open-source learning platform for academies that need to create and deliver courses, assessments, and communities. It combines collaborative authoring, course-aware tutoring, self-hosting, and APIs for embedding learning content elsewhere.

Key features

  1. 01Collaborative block editor with version history
  2. 02Courses, learning paths, and certificates
  3. 03Quizzes and auto-graded code exercises
  4. 04Course-aware AI tutor and course planner
  5. 05Communities, podcasts, and academy pages
  6. 06CLI, APIs, and content SDKs

Use cases

  1. 01Create and manage an online academy
  2. 02Build interactive lessons and assignments
  3. 03Embed course activities in React or Vue apps
  4. 04Self-host an academy and manage backups

MCP support

LearnHouse includes an MCP server that lets AI assistants read and build courses in an organization.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api.learnhouse.io/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

LearnHouse

The complete learning platform, built for how people learn now.
A beautiful editor, real assessments, an AI tutor in every lesson, communities, podcasts and your own academy site.
All in one place, open source, and yours to run.

Website · Docs · Live academy · Discord

License CLI version Stars


The LearnHouse dashboard: courses, members and activity at a glance

🚀 Try it

One command sets up a full instance with Docker. The wizard asks for your domain, database and admin account, then starts everything.

npx learnhouse@latest setup

Want to look around first? university.learnhouse.io is a real academy running on LearnHouse, and the docs cover every feature.

👀 A short tour

✍️ Write the way you think

The editor works like a doc. Type / and add text, video, math, flashcards, quizzes, code or embeds, and your co-authors can edit alongside you in real time.

Building a lesson in the block editor

✅ Check what stuck

Drop quizzes into any lesson. Build assignments from quizzes, file uploads, forms, short answers and code challenges that run and grade themselves in 30+ languages. Review submissions and grade from one screen.

A quiz inside a lesson, then grading assignment submissions

🤖 AI that knows the course

Describe a course and get a full outline with chapters and lessons to edit. Learners get a tutor that answers from your content, not from the open web.

Planning a course with AI, then asking the course tutor a question

🎓 Everything around the course

Podcasts, certificates on completion, learning paths, communities, collections, custom landing pages, and an interface available in 22 languages.

A learning path, its certificate, then the podcasts page

📦 What's inside

AreaWhat you get
📝 EditorBlock editor with live collaboration, templates and version history
📚 CoursesChapters, collections, a shared library, learning paths and certificates
🧪 AssessmentsQuizzes, assignments, code exercises graded in 30+ languages
🤖 AICourse planner, lesson tutor and grading help, with Gemini or a local model through Ollama
🎙️ MediaVideo, PDFs and podcasts with an RSS feed
💬 CommunitiesDiscussion boards for your learners
👥 PeopleInvites, user groups, roles and permissions
🎨 Your brandYour logo and colors, a landing page builder and SEO
🌍 LanguagesInterface in 22 languages
🔌 IntegrationsREST API, API tokens, webhooks and an MCP server

🏢 Enterprise

Everything above is open source and free forever. Teams that sell courses, train staff or plug into a school's systems can add the Enterprise features on top:

AreaWhat you get
✨ AtlasAn AI agent that builds whole courses, edits lessons, translates content and runs scheduled jobs
💳 PaymentsSell courses, offer team seats to companies and run an affiliate program
📊 AnalyticsLearner progress, engagement signals and course health across your academy
🎥 Live sessionsVideo classes with a shared calendar, built in
🔐 SSO and SCIMSign in with your identity provider and sync users automatically
🏫 LTI 1.3 and SCORMPlug courses into Canvas, Moodle and other LMSs, and import SCORM packages
📨 Newsletter and CRMEmail your learners and keep track of every contact
🧠 Boards and PlaysCollaborative whiteboards and interactive, AI-generated activities
🏢 Multiple organizationsRun several academies from one install, with audit logs

See plans and pricing or talk to us.

🧩 Build on it

Everything in LearnHouse is reachable from code. Keep your courses in LearnHouse and show them anywhere: your marketing site, a customer portal, a mobile app.

PackageWhat it does
@learnhouse/sdkTyped API client for browsers, Node, Bun, Deno, edge workers and React Native
@learnhouse/reactRenders real LearnHouse activities in any React app, plus a <learnhouse-activity> custom element for everything else
@learnhouse/vueThe same activities for Vue 3 and Nuxt

All three are MIT licensed, and each version matches the LearnHouse release it was built from. See them running at demos.learnhouse.app.

⚛️ Show a lesson in your React app
npm install @learnhouse/react
import { LearnHouseActivity } from '@learnhouse/react'
import '@learnhouse/react/styles.css'

export function Lesson() {
  return (
    <LearnHouseActivity
      baseUrl="https://learn.example.com"
      courseId="course_9f2a…"
      activityName="How payouts work"
      theme={{ mode: 'auto', accent: '#4F46E5' }}
      onEvent={(e) => console.log(e.type)}
    />
  )
}

Pages, quizzes, flashcards, code playgrounds, math, video and PDFs look and behave the way they do in LearnHouse. Point to an activity by id or by name, restyle it with theme, swap any block with components, and listen for ready, complete and media events.

Not using React? The custom element works in plain HTML, Svelte or Angular:

<script type="module">
  import '@learnhouse/react/element'
  import '@learnhouse/react/styles.css'
</script>

<learnhouse-activity base-url="https://learn.example.com" course-id="course_9f2a…" activity-id="activity_0b3c…"></learnhouse-activity>
💚 Vue and Nuxt
<script setup lang="ts">
import { LearnHouseActivity } from '@learnhouse/vue'
import '@learnhouse/vue/styles.css'
</script>

<template>
  <LearnHouseActivity base-url="https://learn.example.com" course-id="course_9f2a…" activity-id="activity_0b3c…" />
</template>
🔌 Talk to the API
npm install @learnhouse/sdk
import { createClient } from '@learnhouse/sdk'

// On your server, with an API token from your organization's Developers settings
const lh = createClient({ baseUrl: process.env.LEARNHOUSE_URL!, token: process.env.LEARNHOUSE_TOKEN! })

for await (const course of lh.courses.listAll('your-school')) {
  console.log(course.name)
}

const activity = await lh.activities.resolve({ courseId: 'course_9f2a…', activityName: 'How payouts work' })

The SDK also handles cookie sessions in the browser, token refresh in React Native, retries, pagination and webhook signature checks. Keep lh_ API tokens on your server; in the browser, use the signed-in user's session.

LearnHouse also ships webhooks for course and learner events, and an MCP server so AI assistants can read and build courses in your organization.

🏠 Self-hosting

The CLI handles setup, updates and backups.

npx learnhouse start     # start services
npx learnhouse update    # update to the latest version
npx learnhouse backup    # back up database, config and uploads
npx learnhouse doctor    # diagnose common issues

Needs Node.js 22+ and Docker with Compose v2. Every command is in the CLI docs.

🛠️ Development

git clone https://github.com/learnhouse/learnhouse.git
cd learnhouse
npx learnhouse dev

This starts PostgreSQL and Redis, installs dependencies, and runs the API, web app and collaboration server with hot reload.

AppPathStack
Webapps/webNext.js, React, Tailwind CSS, Tiptap
APIapps/apiFastAPI, SQLModel, PostgreSQL, Redis
Collabapps/collabHocuspocus, Yjs
CLIapps/cliNode.js, Commander
Packagespackages/*SDK, React and Vue embeds

🤝 Contributing

Bug reports, fixes and ideas are all welcome. Start with the contributing guide, pick a good first issue, or come say hi on Discord.

Found a security issue? Please email [email protected] instead of opening an issue. Our security policy explains the process.

📄 License

LearnHouse is licensed under AGPL-3.0. The packages in packages/ are MIT.

Made with care by @swve and contributors since 2022 💜

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.