EdStem MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EdStem MCPWhat did the professor say about the final exam on Ed?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EdStem MCP
An MCP server that lets you ask Claude any question and have it pull the answer from your Ed Discussion (edstem.org) posts. It searches Ed's live API, reranks the hits with Cohere Rerank 3.5 for relevance, and hands the most relevant threads to Claude, which reads them and writes a cited answer.
How it works
you ask Claude ─▶ list_courses ─▶ search_ed (Ed keyword search ─▶ Cohere rerank)
│
▼
get_ed_thread (full thread, markdown)
│
▼
Claude synthesizes a cited answerCohere is used only as a second-stage reranker — not for embeddings or answer
generation. If COHERE_API_KEY is unset, search still works using Ed's native
ordering.
Related MCP server: Piazza MCP Server
Tools
Tool | What it does |
| List your Ed courses and their |
| Keyword search + Cohere rerank; returns thread summaries with relevance scores. |
| Full thread (question + answers + comments) as markdown. |
| Most recent threads in a course. |
There's also an answer_from_ed prompt that scripts the search→read→cite flow.
Setup
1. Get your keys
Ed API token: https://edstem.org/us/settings/api-tokens
Cohere API key (optional but recommended): https://dashboard.cohere.com/api-keys
2. Install
With uv (recommended):
uv syncOr with pip:
python -m venv .venv && source .venv/bin/activate
pip install -e .3. Configure credentials
Copy .env.example to .env and fill it in:
cp .env.example .envED_API_TOKEN=your-ed-token
COHERE_API_KEY=your-cohere-key
# EU users: ED_API_BASE=https://eu.edstem.org/api/Connect to Claude Code
Pass the credentials inline (no .env needed):
claude mcp add edstem \
-e ED_API_TOKEN=your-ed-token \
-e COHERE_API_KEY=your-cohere-key \
-- uv run edstem-mcpIf you installed with pip into a venv, replace uv run edstem-mcp with the path
to the installed edstem-mcp executable (e.g. .venv/bin/edstem-mcp).
Then just ask, e.g. "What did the staff say about the HW3 deadline on Ed?"
Develop / debug
Exercise the tools in the MCP inspector:
uv run mcp dev src/edstem_mcp/server.pyNotes
The Ed API is unofficial and in beta; endpoints may change.
Keep
.envout of version control (already in.gitignore).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/RichieRish05/EdStemMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server