Connect your study tools to an AI agent.

Model Context Protocol (MCP) gives a supported agent structured tools for reading study context and recording real outcomes. The server runs locally over standard input/output.

Structured study actions instead of guessed shell commands

Understand the starting point

List courses, inspect due work, see available session targets, and retrieve study history.

Create review material

Turn a local chapter into flashcards or quiz questions and save them in StudyLoop’s expected format.

Record progress

Record a card result or update a backlog topic after the learner has actually practised.

Manage a live session

Check the available session choices and end the active session through the same local authority as the Web UI.

Use the installed command, or point at a source checkout

If the StudyLoop installer put studyloop-mcp on your path, this is the smallest generic MCP configuration:

MCP configuration
{
  "mcpServers": {
    "studyloop-mcp": {
      "command": "studyloop-mcp",
      "args": []
    }
  }
}

For a development checkout, keep the path absolute and replace the example:

MCP configuration from source
{
  "mcpServers": {
    "studyloop-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--project",
        "/absolute/path/to/studyloop/packages/studyloop",
        "studyloop-mcp"
      ]
    }
  }
}

The server uses your StudyLoop configuration

It opens the same local database and study paths as the CLI and Web UI. Test with non-sensitive material first.

A useful agent turn has a visible beginning and end

  1. 1
    list_session_options

    Find what is actually available

    The agent sees real courses, lessons, topics, session types, and installed agents instead of inventing choices.

  2. 2
    get_study_context

    Check due work and recent progress

    This gives the conversation a starting point without treating notes as proof of learning.

  3. 3
    get_study_history

    Reconnect with earlier attempts

    The agent can notice wins and struggles on the chosen topic before asking the next question.

  4. 4
    record_topic_progress

    Write only after evidence exists

    Record an outcome when the learner has explained, retrieved, built, or debugged something.

Plan tools depend on your version

Create and edit plans through the Web UI or CLI. The development branch now adds record_plan_learning to append a learning record to an existing plan before publishing it elsewhere. That tool is not in the v0.2.0 tag. There is still no MCP tool for creating a plan or returning its full Markdown.

Check the tools your connected server actually lists. If the new tool is absent, do not substitute a review-card write: it records a different kind of progress.

Source of truth

Inspect the server and tests

The public repository contains the registered tools and a real stdio protocol smoke test.

Browse MCP source →