Skip to main content
Glama

DeepLearning.AI MCP Server (dlai-mcp)

License: MIT Python 3.10+ Model Context Protocol

一个模型上下文协议(Model Context Protocol,MCP)服务器,为 AI 代理(Claude Desktop、Cursor、Antigravity、自定义代理循环)提供对 learn.deeplearning.ai 上 DeepLearning.AI 短课程的直接编程式访问。

专为自主记笔记代码与实验提取即时课程研究而设计。


功能特性

  • 📚 完整课程目录访问:浏览超过 100 门 DeepLearning.AI 短课程,包含合作伙伴、主题和时长信息。

  • 📑 完整教学大纲与课程大纲:查询模块层级结构、课时索引、时长和课时类型。

  • 🎙️ 带时间戳的视频转录文本:提取带有结构化时间戳标记([00:14])的字幕轨道,以便精确引用。

  • 💻 Jupyter Lab 与代码提取:以清晰的 Markdown 格式阅读 .ipynb 笔记本和代码练习。

  • 零认证直接 API:无需浏览器开销的高速公共 tRPC 查询。

  • 🔍 离线 SQLite 缓存与 FTS5 搜索:对所有同步材料执行基于 BM25 排序的即时全文搜索。

  • 🔐 交互式 CLI 登录:通过简单的一次性登录命令(dlai-mcp login)验证您的账户。


Related MCP server: Coursera MCP

安装

使用 uv(推荐)

# Clone the repository
git clone https://github.com/WilliamAxelC/deeplearning.ai-MCP-Server.git
cd deeplearning.ai-MCP-Server

# Create virtual environment and install
uv venv
source .venv/bin/activate
uv pip install -e .

使用 pip

pip install -e .

快速入门与 CLI 命令

1. 交互式认证(公共数据可选,已报名实验必需)

dlai-mcp login

将打开一个 Chromium 浏览器窗口,供您登录 DeepLearning.AI 账户。

2. 检查状态与本地缓存统计

dlai-mcp status

3. 预取课程转录文本以供离线代理访问

# Sync a specific course by slug
dlai-mcp sync --course chatgpt-prompt-eng

# Or sync all courses
dlai-mcp sync --all

4. 通过 CLI 搜索已索引的课程转录文本

dlai-mcp search "temperature parameter"

5. 启动 MCP 服务器

# Standard stdio mode (for Claude Desktop / Cursor / Antigravity)
dlai-mcp serve

# Or SSE / HTTP network mode
dlai-mcp serve --transport sse --port 8000

配置 MCP 客户端

Claude Desktop 配置(claude_desktop_config.json

{
  "mcpServers": {
    "deeplearning-ai": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/deeplearning.ai-MCP-Server",
        "run",
        "dlai-mcp",
        "serve"
      ]
    }
  }
}

Cursor / Antigravity 配置

{
  "mcpServers": {
    "deeplearning-ai": {
      "command": "/path/to/deeplearning.ai-MCP-Server/.venv/bin/dlai-mcp",
      "args": ["serve"]
    }
  }
}

可用的 MCP 工具

工具

参数

描述

list_courses

query: Optional[str], partner: Optional[str], topic: Optional[str]

列出并筛选短课程。

get_course_structure

course_slug: str

获取教学大纲、模块和所有课时。

get_lesson_transcript

course_slug: str, lesson_slug_or_index: str, include_timestamps: bool

获取带时间戳的转录文本。

get_lesson_lab

course_slug: str, lesson_slug_or_index: str, raw_json: bool

提取 Jupyter 笔记本代码和 Markdown。

search_course_content

query: str, course_slug: Optional[str], limit: int

对转录文本执行 SQLite FTS5 BM25 搜索。

sync_course

course_slug: str, force_refresh: bool

预取并索引整个课程到 SQLite。

get_auth_status

检查当前活跃的用户会话和账户详细信息。


作者

  • William Axel C@WilliamAxelC)- williamaxelcuangdinata@gmail.com


许可证

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WilliamAxelC/deeplearning.ai-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server