Coursera MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add mcp-coursera -- npx -y @striderlabs/mcp-coursera
README.md

Search courses, get details, enroll, track progress, and view certificates.

@striderlabs/mcp-coursera

MCP (Model Context Protocol) server for Coursera — search courses, get details, enroll, track progress, and view certificates.

Tools

Tool Description
search_courses Search courses by topic, skill, difficulty level
get_course_details Get full course info: syllabus, duration, instructor, reviews
enroll_course Enroll in a course (requires login)
get_my_courses List enrolled courses and progress
get_certificates View earned certificates

Requirements

  • Node.js 18+
  • Playwright (installed automatically)

Installation

npm install @striderlabs/mcp-coursera
# Install browser binaries
npx playwright install chromium

Configuration

Environment Variables

Variable Required Description
BROWSERBASE_CDP_URL Optional Browserbase CDP endpoint for cloud browsers
COURSERA_EMAIL For auth tools Your Coursera account email
COURSERA_PASSWORD For auth tools Your Coursera account password

Claude Desktop / MCP Client

Add to your MCP client config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "coursera": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-coursera"],
      "env": {
        "COURSERA_EMAIL": "your@email.com",
        "COURSERA_PASSWORD": "yourpassword",
        "BROWSERBASE_CDP_URL": "wss://connect.browserbase.com?apiKey=YOUR_KEY"
      }
    }
  }
}

With Browserbase (Cloud Browsers)

Browserbase provides cloud browser infrastructure. Set BROWSERBASE_CDP_URL to connect:

BROWSERBASE_CDP_URL="wss://connect.browserbase.com?apiKey=YOUR_API_KEY" npx @striderlabs/mcp-coursera

Without BROWSERBASE_CDP_URL, a local Chromium instance is launched.

Usage Examples

Search for Courses

search_courses(query="machine learning", difficulty="beginner", limit=5)

Get Course Details

get_course_details(course_url="https://www.coursera.org/learn/machine-learning")

Enroll in a Course

enroll_course(course_url="https://www.coursera.org/learn/python")

Check Progress

get_my_courses()

View Certificates

get_certificates()

Authentication

Tools that access personal data (enroll_course, get_my_courses, get_certificates) require Coursera credentials. Provide them via:

  1. Environment variables (recommended): COURSERA_EMAIL and COURSERA_PASSWORD
  2. Tool arguments: Pass email and password directly in the tool call

Credentials are never stored or transmitted beyond the browser session.

Development

git clone <repo>
cd mcp-coursera
npm install
npx playwright install chromium
npm run build
npm start

License

MIT

Tools (5)

search_coursesSearch courses by topic, skill, difficulty level
get_course_detailsGet full course info: syllabus, duration, instructor, reviews
enroll_courseEnroll in a course (requires login)
get_my_coursesList enrolled courses and progress
get_certificatesView earned certificates

Environment Variables

BROWSERBASE_CDP_URLBrowserbase CDP endpoint for cloud browsers
COURSERA_EMAILYour Coursera account email
COURSERA_PASSWORDYour Coursera account password

Configuration

claude_desktop_config.json
{"mcpServers": {"coursera": {"command": "npx", "args": ["-y", "@striderlabs/mcp-coursera"], "env": {"COURSERA_EMAIL": "your@email.com", "COURSERA_PASSWORD": "yourpassword", "BROWSERBASE_CDP_URL": "wss://connect.browserbase.com?apiKey=YOUR_KEY"}}}}

Try it

Search for beginner-level machine learning courses on Coursera.
Get the syllabus and instructor details for the course at https://www.coursera.org/learn/machine-learning.
List all the courses I am currently enrolled in and check my progress.
Show me all the certificates I have earned on Coursera.

Frequently Asked Questions

What are the key features of Coursera MCP Server?

Search for courses by topic, skill, and difficulty level. Retrieve detailed course information including syllabus and instructor details. Automated course enrollment. Track course progress and list enrolled courses. View earned certificates.

What can I use Coursera MCP Server for?

Finding new courses to build specific professional skills. Quickly reviewing course syllabi to determine if a course fits your learning goals. Managing and tracking progress across multiple active Coursera enrollments. Easily accessing and verifying earned certificates.

How do I install Coursera MCP Server?

Install Coursera MCP Server by running: npm install @striderlabs/mcp-coursera && npx playwright install chromium

What MCP clients work with Coursera MCP Server?

Coursera MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Coursera MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare