Skip to main content
Glama

notetaker-mcp

An MCP server that lets Claude fetch transcripts from your enrolled learn.deeplearning.ai short courses so it can summarize them and hand the notes off to another tool (Notion, Obsidian, a file — via a second MCP server or a follow-up Claude action).

Status: working v1. Personal use, unofficial, not affiliated with DeepLearning.AI.

Tools it exposes

Tool

What it does

list_enrolled_courses

Every course you're enrolled in; specializations flattened into their child courses.

list_lessons

Lessons for one course, grouped by module in playback order.

get_lesson_transcript

Full transcript for one video lesson (plain or timestamped format).

get_lesson_frame

Screenshot a single video frame at a chosen timestamp (low/360p by default, high/full HD optional). Optional save_path writes JPEG to disk. Requires ffmpeg.

get_lesson_slides

Auto-detect scene changes and return one still per slide. Optional save_dir writes JPEGs to disk with absolute paths in the response. min_gap_seconds dedupes near-duplicates. include_images=false returns just timestamps + paths for building a chapter index cheaply. Requires ffmpeg.

Claude does the summarizing. A separate MCP (e.g. the official Notion MCP) does the note-saving. This server intentionally does one thing: get transcript data out of deeplearning.ai.

Related MCP server: Canvas LMS MCP Server

How auth works

  1. One-time: notetaker-mcp login opens your real installed Chrome (isolated profile, no shared cookies) at learn.deeplearning.ai/login. You sign in with Google (or whatever you use). Playwright saves the browser session (cookies + localStorage) to ~/.notetaker-mcp/session.json with 0600 perms via atomic replace.

  2. Every call after that: the server loads that session and hits the same internal tRPC endpoints the deeplearning.ai frontend uses. Silent, no browser window.

  3. When the session expires (typically weeks): tools raise a clear Session expired. Run: notetaker-mcp login error. Re-run the login command; the persistent Chrome profile means Google won't re-challenge you.

No password ever touches disk — only the session cookies.

Requirements

  • macOS or Linux (Windows probably fine, untested).

  • Python 3.10+ (uv will fetch its own if you don't have one).

  • Google Chrome installed. Google's OAuth flow refuses Playwright's bundled Chromium, so we drive the real Chrome instead.

  • uv: brew install uv.

  • ffmpeg — needed for get_lesson_frame and get_lesson_slides only. Install with brew install ffmpeg. The transcript tools work without it.

Install

git clone https://github.com/sibtihaj/notetaker-mcp.git
cd notetaker-mcp
uv sync
uv run playwright install chromium

The Chromium install is only used as a fallback if Chrome isn't found.

Sign in

uv run notetaker-mcp login

A Chrome window opens. Sign in, wait for your dashboard to load, then press Enter in the terminal. You should see Saved session (N deeplearning.ai cookies) where N is around 20.

If Google somehow still blocks you, wipe the profile and try again:

uv run notetaker-mcp reset-profile
uv run notetaker-mcp login

Wire it into Claude Code

From an interactive Claude Code terminal session:

claude mcp add notetaker -- uv --directory /Users/syedhaque/Desktop/personal-notetaker-MCP run notetaker-mcp serve

Adjust the absolute path if you cloned somewhere else. Confirm it's registered:

claude mcp list

Then in Claude:

List my enrolled deeplearning.ai courses.

Show me the lessons for Agentic AI.

Get the transcript for the "Welcome!" lesson and summarize it as 5 bullet takeaways. Save the summary as a new page in my Notion "Course Notes" DB.

The last step uses whichever Notion MCP you have installed. This server has no dependency on Notion — it only produces transcripts.

Running the server directly

Rarely useful outside Claude Code, but handy for debugging:

uv run notetaker-mcp serve

Speaks MCP JSON-RPC over stdio. Send it an initialize message + tools/list to smoke test.

Reverse-engineering notes

If deeplearning.ai changes their API and something breaks, the endpoint reference and the probe scripts used to discover them are in docs/api-notes.md and scripts/. Re-run uv run python scripts/probe.py <course-url> against your session to see what endpoints are actually being called now.

Caveats

  • Unofficial scraper. If deeplearning.ai reworks their platform, tools will break until updated. Fine for personal use; do not distribute or run at scale.

  • Short courses only (learn.deeplearning.ai). Coursera-hosted specializations are a different backend and are not supported.

  • Session file is sensitive. It's equivalent to your logged-in cookies. Protect it the same way.

License

MIT

Available Tools

6 tools
get_lesson_frameA

Screenshot a single video frame from a lesson at the given timestamp.

Args: course_slug: from list_enrolled_courses. lesson_slug: from list_lessons (the short id like "pu5xbv"). timestamp_seconds: where in the video to grab the frame. quality: "low" 640x360 (default, fast); "high" full HD (slower). save_path: if set, write the JPEG to this path ( and $VARS expanded; parent dirs auto-created) so downstream tools can reference it. The absolute path is included in the response. include_image: default True. Set False to skip the inline image (useful with save_path when the caller only needs the file).

Returns a JSON summary text block, plus a caption + inline image (unless include_image=False). Requires ffmpeg on PATH.

Inputs: course_slug (required), lesson_slug (required), timestamp_seconds (required), quality, +2 more.

get_lesson_slidesA

Auto-detect slide changes in a lesson video and return one frame per slide.

Args: course_slug: from list_enrolled_courses. lesson_slug: from list_lessons. threshold: 0..1 scene-change sensitivity. 0.3 catches slide changes; raise to 0.5+ to only cut on very distinct visuals. max_frames: cap total frames returned. Prevents very long lectures from swamping the response. min_gap_seconds: skip candidates that fall within this many seconds of the previously kept frame — suppresses near-duplicates from small on-camera movements while the slide hasn't changed. 0 disables the dedup. save_dir: if set, write each JPEG to this directory (created if missing). Filenames are "{course_slug}--{lesson_slug}--{index:03d}-{seconds}s.jpg". Absolute saved paths are included in the JSON summary so downstream tools can reference them. include_images: default True. Set False to get only timestamps + saved paths (structured data), skipping inline image content — useful for building a chapter index without image tokens.

Returns a JSON summary block first (course/lesson/frame list with timestamps and saved paths), then per-frame caption + inline image unless include_images=False. Requires ffmpeg.

Inputs: course_slug (required), lesson_slug (required), save_dir, threshold, +3 more.

get_lesson_transcriptA

Fetch the full transcript for one video lesson.

Args: course_slug: from list_enrolled_courses. lesson_slug: from list_lessons (the short lesson id like "pu5xbv"). format: "plain" gives one flowing text block; "timestamped" gives lines prefixed with [M:SS] markers.

Returns {course_name, lesson_name, duration_seconds, transcript}. Only video lessons have transcripts; other lesson types raise an error.

Inputs: course_slug (required), lesson_slug (required), format.

list_enrolled_coursesA

List every course you're enrolled in on learn.deeplearning.ai.

Specializations are flattened into their constituent courses. Each item has slug, name, type ("course"|"short_course"), progress_percent, and (for courses inside a specialization) the parent specialization info.

Use the returned slug when calling list_lessons or get_lesson_transcript.

Inputs: no named parameters. Returns: result

list_lessonsA

List lessons for one course, grouped by module in playback order.

Args: course_slug: from list_enrolled_courses, e.g. "agentic-ai".

Returns a dict with course_name, total_duration_seconds, and modules — each module has a name and a lessons array of {slug, index, name, type, video_id, duration_seconds}. Pass the lesson slug (not the numeric video_id) to get_lesson_transcript.

Inputs: course_slug (required).

pingA

Health check.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct function: enrolling data, lesson structure, transcript text, a single video frame, slide extraction, and health checking. The only adjacent pair is get_lesson_frame and get_lesson_slides, but one is explicitly a single timestamped frame while the other detects multiple slide boundaries, so the separation is clear.

    Naming Consistency5/5

    The core tools consistently follow a verb_noun pattern: list_enrolled_courses, list_lessons, get_lesson_transcript, get_lesson_frame, get_lesson_slides. ping is a standard exception for health checks and doesn't create confusion.

    Tool Count5/5

    Six tools is a well-scoped set for a read-only course-content access server. Each one serves a necessary step in traversing courses → lessons → transcript/frames/slides without redundancy.

    Completeness4/5

    The core workflow of listing courses, exploring lessons, and retrieving transcripts or visual content is fully represented. There is no note-creation or course-search capability, but the server appears focused on content extraction rather than note storage, so this is a minor rather than critical gap.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers