LearnMCP MCP Server

An open-source MCP (Model Context Protocol) server that enables AI agents to record and retrieve learning activities through xAPI-compliant Learning

Remote serverstreamable-httpPython

What is the LearnMCP MCP Server?

An open-source MCP (Model Context Protocol) server that enables AI agents to record and retrieve learning activities through xAPI-compliant Learning Record Stores

What it actually does

  • xAPI 1.0.3 Compliance — Full compatibility with the xAPI specification ensures interoperability with existing educational technology ecosystems,
  • MCP Integration — Native support for the Model Context Protocol enables seamless AI agent connectivity
  • Plugin Architecture — Extensible plugin system supporting multiple Learning Record Stores with easy configuration switching
  • Multiple LRS Support — Built-in support for LRS SQL and Ralph LRS, with architecture designed for easy addition of new LRS implementations
  • Flexible Authentication — Support for various authentication methods including Basic Auth and OIDC (OpenID Connect) depending on LRS requirements
  • Privacy by Design — Student identifiers are configurable and separate from personal information, ensuring educational data privacy

Configuration

Before starting, ensure you have: - Python 3.8 or higher - Access to an xAPI-compliant Learning Record Store (we recommend LRS SQL for development) - An MCP-compatible client (such as Claude Desktop)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

Before starting, ensure you have: - Python 3.8 or higher - Access to an xAPI-compliant Learning Record Store (we recommend LRS SQL for development) - An MCP-compatible client (such as Claude Desktop)

VariableDescriptionRequired
LRSQL_KEYCredential the server authenticates with.Yes
LRSQL_SECRETCredential the server authenticates with.Yes
RALPH_OIDC_TOKEN_URLCredential the server authenticates with.Yes
RALPH_OIDC_CLIENT_IDConfiguration value read at startup.Optional
RALPH_OIDC_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • “Use LearnMCP to Prerequisites.”
  • “Use LearnMCP to Installation.”
  • “Use LearnMCP to Configuration.”

Frequently asked questions

An open-source MCP (Model Context Protocol) server that enables AI agents to record and retrieve learning activities through xAPI-compliant Learning Record Stores Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.