Piazza MCP Server

Browse, search, and read content from Piazza course forums.

README.md

piazza-mcp

An MCP server that lets AI agents browse your Piazza course forums — search posts, read questions/answers, and discover relevant course content.

Install

Requires uv (brew install uv).

Claude Code

claude mcp add --scope user piazza --env PIAZZA_EMAIL=you@school.ca --env PIAZZA_PASSWORD=your-password -- uvx piazza-mcp@latest

VS Code

Add to .vscode/mcp.json:

{
  "mcp": {
    "servers": {
      "piazza": {
        "command": "uvx",
        "args": ["piazza-mcp@latest"],
        "env": {
          "PIAZZA_EMAIL": "you@school.ca",
          "PIAZZA_PASSWORD": "your-password"
        }
      }
    }
  }
}

Credentials are your Piazza login email and password.

Tools

Tool Description
list_classes() List active enrolled Piazza classes
set_class(network_id) Select a class, get available folders
search_posts(query, folder, limit) Search by keyword, folder, or both
get_post(post_number) Read full post with answers and follow-ups

Development

git clone https://github.com/smchase/piazza-mcp
cd piazza-mcp
uv sync --group dev

Use a local clone in your MCP client:

claude mcp add piazza-dev --env PIAZZA_EMAIL=you@school.ca --env PIAZZA_PASSWORD=your-password -- uv --directory /path/to/piazza-mcp run piazza-mcp

Tools 4

list_classesList active enrolled Piazza classes
set_classSelect a class, get available folders
search_postsSearch by keyword, folder, or both
get_postRead full post with answers and follow-ups

Environment Variables

PIAZZA_EMAILrequiredYour Piazza login email address
PIAZZA_PASSWORDrequiredYour Piazza login password

Try it

List all the classes I am currently enrolled in on Piazza.
Search for posts about 'midterm exam' in the 'General' folder of my current class.
Get the full content and instructor answers for post number 42.
Find recent discussions regarding the latest assignment in my CS101 class.

Frequently Asked Questions

What are the key features of Piazza MCP Server?

List active enrolled Piazza classes. Search posts by keywords or specific folders. Retrieve full discussion threads including answers and follow-ups. Select specific course networks for targeted searching.

What can I use Piazza MCP Server for?

Quickly finding answers to common questions in large course forums. Summarizing instructor responses to complex assignment queries. Aggregating relevant study materials from multiple course folders. Automating the retrieval of course announcements and updates.

How do I install Piazza MCP Server?

Install Piazza MCP Server by running: claude mcp add --scope user piazza --env PIAZZA_EMAIL=you@school.ca --env PIAZZA_PASSWORD=your-password -- uvx piazza-mcp@latest

What MCP clients work with Piazza MCP Server?

Piazza 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 Piazza MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare