Learn API

● Active

ai.foreverlearning/learn

The learning system for your app: tutoring with memory and safety on our Cognitive Operating System.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "learn": {
      "command": "npx",
      "args": [
        "-y",
        "@foreverlearning/learn-mcp@0.1.17"
      ],
      "env": {
        "FOREVERLEARNING_API_KEY": "<your FOREVERLEARNING_API_KEY>",
        "FOREVERLEARNING_BASE_URL": "https://developers-api.foreverlearning.ai/v1"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env FOREVERLEARNING_API_KEY='<your FOREVERLEARNING_API_KEY>' --env FOREVERLEARNING_BASE_URL=https://developers-api.foreverlearning.ai/v1 --transport stdio learn -- npx -y @foreverlearning/learn-mcp@0.1.17
OpenAI Codex CLI
codex mcp add learn --env FOREVERLEARNING_API_KEY='<your FOREVERLEARNING_API_KEY>' --env FOREVERLEARNING_BASE_URL=https://developers-api.foreverlearning.ai/v1 -- npx -y @foreverlearning/learn-mcp@0.1.17
VS Code
code --add-mcp '{"name":"learn","type":"stdio","command":"npx","args":["-y","@foreverlearning/learn-mcp@0.1.17"],"env":{"FOREVERLEARNING_API_KEY":"<your FOREVERLEARNING_API_KEY>","FOREVERLEARNING_BASE_URL":"https://developers-api.foreverlearning.ai/v1"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • FOREVERLEARNING_API_KEYsecretYour Learn server key, from My APIs in the developer console. Needed only for test turns; the docs tools work without it.
  • FOREVERLEARNING_BASE_URLThe API host, ending in /v1.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Education & Reference
Version
0.1.17
Registry
active
Published
Dec 1, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 4, 2026

Looks healthy: Learn API is maintained, open source, hosted endpoint answering without a key.

Maintained
Active
Last commit 8 days ago (Nov 26, 2026), 0 open issues.
Official registry
Active
Published as ai.foreverlearning/learn in the official MCP registry, version 0.1.17.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
Local package or hosted
Ships as a local package (npm) that runs on your machine, and as a hosted endpoint at developers.foreverlearning.ai that receives what your client sends it.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Dec 4, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

A

Grade A · Production-ready

Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit 8 days ago.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption0/20

    0 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/ai-foreverlearning-learn?utm_source=report-badge"><img src="https://serverdex.io/server/ai-foreverlearning-learn/report-badge.svg" alt="Learn API — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

Live check

checked Dec 4, 2026, 10:07 UTCStatus history & uptime →
● Working491 msprotocol 2025-06-18v0.1.17toolsresourcesprompts

The endpoint answered the MCP handshake as "Learn API" and listed 5 tools. Answering since Dec 1, 2026.

Context cost ≈ 1.7k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 5 tools.

Tools (5)

  • learn_guide3 params

    Read the Learn API integration guide (snapshot of 2026-11-30, learn-mcp 0.1.13), whole or by topic, or one of its runnable examples. Runnable examples are here; a kit's finished code is in learn_starter_file. Use it for any question about building with the Learn API: preparing a session, the four kinds of help, sending a turn and accepting it only on its final done event, the safety status, receipts, errors and recovery. For exact request and response fields, use learn_contract. Answer only from what it says; if it does not cover something, say so instead of guessing. Topics: access, setup, content, display-name, learner, learner-id, controls, diagnostic, files, turn, safety, team, receipts, timing, saved, open-session, long-sessions, recovery, errors, privacy, price, examples. Examples: README.md, prepare.mjs, quest.ts, quest.py, quest.sh, server.ts. Other guide pages, with page: performance (Fast today. Faster every release., https://developers.foreverlearning.ai/docs/performance/; topics: expect, by-turn-type, edge-cases, faster, checked-first, wait); pricing (Pay only for what you use., https://developers.foreverlearning.ai/pricing/; topics: 5-per-turn-that-succeeds, 3-per-text-turn, memory-that-outlives-the-session, safety-that-reads-the-whole-conversation, understand-what-youll-pay, an-api-built-for-your-organization); security (Build the boundary into your integration., https://developers.foreverlearning.ai/security/; topics: keep-secrets-on-the-server, protect-account-changes, respect-the-person-behind-the-conversation, make-escalation-explicit, report-a-concern); changelog (Know what the contract says., https://developers.foreverlearning.ai/changelog/; topics: 100-free-attempts-with-learn-and-conversations, learn-replies-arrive-as-soon-as-they-are-checked, fifty-free-attempts-with-learn-and-conversations, learn-learning-sessions, replies-regenerate-before-a-turn-fails, failed-turns-resolve-cleanly, characters-that-carry-the-moment, conversations-api-release

    Show parameters
    • topicstringA topic id from the list (for example "turn", "safety", "errors") or words from its heading. Leave it out for the whole guide.
    • examplestringA runnable example file to read instead, for example "quest.ts" or "README.md".
    • pagestringAnother guide page to read instead of the integration guide: "performance", "pricing", "security", "changelog"; with topic, one of its sections.
  • learn_contract2 params

    Read the Learn API contract (OpenAPI 3.1 and JSON Schema, snapshot of 2026-11-30). With no arguments: every operation, by method, path and operationId. With operation (an operationId such as "developerChat", or "POST /v1/chat"): that operation with every schema it uses filled in. With file: one whole contract file (large). Use only fields the contract defines. For how and why to use an operation, use learn_guide.

    Show parameters
    • operationstringAn operationId, or a method and path such as "GET /v1/requests/{request_id}".
    • filestringOne whole contract file.
  • learn_kit1 param

    With no kit, list every Build with Learn kit; with a kit id, read that kit: where to run it, its verified prompt word for word, its check (what the finished app shows, with a real reply), and its finished checkpoint folder in learn-tutor-starter. The kits are step-by-step builds with the Learn API, from a first tutor page to embedding Learn in an existing app; each prompt for coding assistants is verified as written. Start here, with no kit, when the developer wants to add tutoring, a tutor, homework help or learning help to an app with the Learn API. Kits: 01-first-tutor, 02-four-kinds-of-help, 03-photos-of-work, 04-remember-the-learner, 05-safety-status, embed, class. The checkpoint folder's files are in learn_starter_file.

    Show parameters
    • kitstringA kit id such as "01-first-tutor" or "embed", a step number, or words from its title. Leave it out to list every kit.
  • learn_starter_file2 params

    List or read the files of a kit's finished checkpoint folder in learn-tutor-starter (MIT). These are a kit's finished checkpoint files; the guide's standalone runnable examples are in learn_guide. With only kit, list the folder's files; with path, read one file. The kit itself (prompt, check) is in learn_kit.

    Show parameters
    • kitstringrequiredThe kit id, for example "01-first-tutor".
    • pathstringA file path inside the kit folder, for example "learn.ts" or "public/app.js". Leave it out to list the folder's files.
  • learn_search1 param

    Search the Learn API docs by plain words. Returns matching guide sections, pages, contract operations, examples and kits, each with the call that reads it. Use it when you don't know where something lives; when you do, call the specific tool directly.

    Show parameters
    • querystringrequiredPlain words, for example "photo upload", "what changed" or "developerChat".

Checked by Serverdex with a plain initialize + tools/list call to developers.foreverlearning.ai/mcp/learn, no credentials, about once a day. A failed check is never a removal.

What this server can touch

Across the fleet →

None of its 5 tools match a sensitive capability — they read or look things up. Still review before use.

On GitHub

read Nov 27, 2026
Stars
0
Forks
0
Last push
Nov 26, 2026
License
MIT

TypeScript

From the README

Learn API for coding assistants Give your coding assistant the Learn API's own guide, contract and verified Build with Learn kits, plus a test turn with your own key. @foreverlearning/learn-mcp is an MCP server. Ask your assistant to "add a tutor to this app", and it can read how the Learn API works, follow a kit whose prompt we verify before we publish it, and send one test turn with your key to show you Learn's reply. What your assistant gets It also offers two prompts, first-tutor and embed-learn (the verified prompts for "Your first tutor in ten minutes" and "Embed Learn in your app"), and the guide, contract, examples and kit files as resources. Before you start • Node 24 or later. • For test turns: a developer workspace with Learn and a server key from My APIs in the developer console. The docs tools need no key. Put your key in your environment, not in a config file you commit: To test on staging, set FOREVERLEARNINGBASEURL=https://developers-api-staging.foreverlearning.ai/v1. Install The server reads the key from the environment it starts in.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://developers.foreverlearning.ai/mcp/learn

The most-starred Education & Reference servers in the index, with their live-check result.

ServerStarsLast pushLive check
Honcho8,269Nov 2026Needs sign-in
Zotero MCP6,110Nov 2026Local / not checked
Tolgee4,167Dec 2026Working
LearnHouse2,502Nov 2026Needs sign-in
obsei1,457Dec 2026Local / not checked

Learn API: questions people ask

Is Learn API a remote or a local MCP server?
According to its entry in the official MCP registry, Learn API ships as a hosted endpoint (streamable-http) that your client connects to by URL and as a local package (npm) that your client starts on your machine. Use the hosted endpoint when your client supports Streamable HTTP; use the package when you want it to run locally.
Does Learn API need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Dec 4, 2026. Individual tools may still ask for a key when called.
Is Learn API safe to use?
Looks healthy: Learn API is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Local package or hosted; credentials: None needed to connect. Serverdex check of Dec 4, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Learn API still maintained?
Active: the repository's last commit 8 days ago. Last push Nov 26, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 27, 2026.
What tools does Learn API expose?
5 tools as listed by the server itself during the live check, including learn_guide, learn_contract, learn_kit, learn_starter_file, learn_search. The full list with parameters is in the Live check section above.
How do I add Learn API to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.

More from foreverlearning-engineering

All 2 servers by foreverlearning-engineering →
  1. Conversations APIRealistic conversation practice for your app: characters, a Coach and feedback on our Cognitive OS.
Browse all Education & Reference →

Add the badge to your site

Show visitors that Learn API is listed here — it’s also the link we check for a free listing.

Learn API — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/ai-foreverlearning-learn?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Learn API — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Learn API — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/ai-foreverlearning-learn?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/ai-foreverlearning-learn) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/ai-foreverlearning-learn) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/ai-foreverlearning-learn)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/ai-foreverlearning-learn"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/ai-foreverlearning-learn"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/ai-foreverlearning-learn"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).