Coursera API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Coursera. No Coursera API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/coursera.md and add Bowmark's Coursera MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-coursera https://api.bowmark.ai/mcp/site/courseraPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-coursera": {
"url": "https://api.bowmark.ai/mcp/site/coursera"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-coursera","type":"http","url":"https://api.bowmark.ai/mcp/site/coursera"}'Run this in a terminal.
codex mcp add bowmark-coursera --url https://api.bowmark.ai/mcp/site/courseraIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/courseraIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/courseraAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/courseraFunctions
Open a function to see its parameters and run it with your own API key.
searchSearches Coursera's course catalog.POST /v1/sites/coursera/search
Parameters
Topic or skill, e.g. "machine learning"; omit for popular picks.
1-based, default 1.
1–12, default 12 (a page holds 12).
curl -X POST https://api.bowmark.ai/v1/sites/coursera/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"machine learning"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.coursera.search({ query: "machine learning" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.coursera.search({"query": "machine learning"}))Responsereturns CourseraSearchPageinterface CourseraResult { name: string; url: string; productType: string | null; // "COURSE" | "SPECIALIZATION" | "PROFESSIONAL CERTIFICATE" | "GUIDED PROJECT" | "DEGREE" … partners: string[]; // universities / companies offering it rating: number | null; // 0–5 ratingCount: number | null; difficulty: string | null; // "BEGINNER" | "INTERMEDIATE" | "ADVANCED" | "MIXED" duration: string | null; // Coursera's bucket, e.g. "ONE_TO_THREE_MONTHS" skills: string[]; isFree: boolean; isPartOfCourseraPlus: boolean; image: string | null; } interface CourseraSearchPage { results: CourseraResult[]; // this page's rows, in Coursera's own order total: number | null; // Coursera's own count of courses for the query, across all pages page: number; pageCount: number | null; returned: number; warnings: string[]; }