edstem-cli reads and posts on Ed Discussion using your personal Ed API token. It covers threads, lesson content, quiz slides, and Ed-hosted files, and it never touches your Ed password or browser session.
Who it’s for
- Students who want unit threads, lesson content, and grading responses without opening a browser tab per unit.
- Teaching staff scripting attendance or content checks across units.
- Scripts, CI jobs, and AI agents — see Ed Discussion CLI for scripts and agents for
--jsonoutput, exit codes, and MCP tools.
Three surfaces, one Ed identity
edstem
The command-line tool. Every command supports
--json, --yaml, --table, and --fields.edstem-mcp
An MCP server that runs on your machine, using the same
EDSTEM_TOKEN.Remote MCP
Hosted, for apps that can’t run a local program — or a version you host yourself on Cloudflare.
Start here
Install and sign in
Install the CLI, create an Ed API token, and save it.
Threads
List, search, show, and read threads in a unit.
Lessons and slides
Read lesson content, mark lessons read, and submit quiz answers.
MCP server
Connect an MCP client, running locally or hosted.