Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read-only Piazza access: activity, search, unread posts, full threads, and course info
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
PIAZZA_EMAIL, PIAZZA_PASSWORD, PIAZZA_COOKIE_FILE, PIAZZA_ANONYMIZE_STUDENTS, PIAZZA_FENCE_CONTENT, PIAZZA_MIN_INTERVAL, PIAZZA_CACHE_TTLค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"piazza": {
"command": "uvx",
"args": [
"mcp-piazza"
],
"env": {
"PIAZZA_EMAIL": "ใส่ค่าของคุณ",
"PIAZZA_PASSWORD": "ใส่ค่าของคุณ",
"PIAZZA_COOKIE_FILE": "ใส่ค่าของคุณ",
"PIAZZA_ANONYMIZE_STUDENTS": "ใส่ค่าของคุณ",
"PIAZZA_FENCE_CONTENT": "ใส่ค่าของคุณ",
"PIAZZA_MIN_INTERVAL": "ใส่ค่าของคุณ",
"PIAZZA_CACHE_TTL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add piazza --env PIAZZA_EMAIL='ใส่ค่าของคุณ' --env PIAZZA_PASSWORD='ใส่ค่าของคุณ' --env PIAZZA_COOKIE_FILE='ใส่ค่าของคุณ' --env PIAZZA_ANONYMIZE_STUDENTS='ใส่ค่าของคุณ' --env PIAZZA_FENCE_CONTENT='ใส่ค่าของคุณ' --env PIAZZA_MIN_INTERVAL='ใส่ค่าของคุณ' --env PIAZZA_CACHE_TTL='ใส่ค่าของคุณ' -- uvx mcp-piazzaเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"piazza": {
"command": "uvx",
"args": [
"mcp-piazza"
],
"env": {
"PIAZZA_EMAIL": "ใส่ค่าของคุณ",
"PIAZZA_PASSWORD": "ใส่ค่าของคุณ",
"PIAZZA_COOKIE_FILE": "ใส่ค่าของคุณ",
"PIAZZA_ANONYMIZE_STUDENTS": "ใส่ค่าของคุณ",
"PIAZZA_FENCE_CONTENT": "ใส่ค่าของคุณ",
"PIAZZA_MIN_INTERVAL": "ใส่ค่าของคุณ",
"PIAZZA_CACHE_TTL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"piazza": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-piazza"
],
"env": {
"PIAZZA_EMAIL": "ใส่ค่าของคุณ",
"PIAZZA_PASSWORD": "ใส่ค่าของคุณ",
"PIAZZA_COOKIE_FILE": "ใส่ค่าของคุณ",
"PIAZZA_ANONYMIZE_STUDENTS": "ใส่ค่าของคุณ",
"PIAZZA_FENCE_CONTENT": "ใส่ค่าของคุณ",
"PIAZZA_MIN_INTERVAL": "ใส่ค่าของคุณ",
"PIAZZA_CACHE_TTL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
PIAZZA_EMAIL envPIAZZA_COOKIE_FILE envPIAZZA_ANONYMIZE_STUDENTS envPIAZZA_FENCE_CONTENT envPIAZZA_MIN_INTERVAL envPIAZZA_CACHE_TTL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jadenpxrk ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: PIAZZA_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 23 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A read-only Model Context Protocol server for Piazza. It works with every MCP client: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Zed, Cline, Codex, Gemini CLI, Goose, opencode, JetBrains, LM Studio, Continue, and others.
Ask your assistant about your courses:
The server only reads data. It cannot post, edit, endorse, or delete.
uvx mcp-piazza login
You can also skip this step. If the server has no session, the first tool call opens the same page and shows its link.
uvx with the argument mcp-piazza. For example: claude mcp add --scope user --transport stdio piazza -- uvx mcp-piazza # Claude Code
codex mcp add piazza -- uvx mcp-piazza # Codex CLI
See docs/clients.md for Claude Desktop, Cursor, VS Code, Windsurf, Zed, Gemini CLI, and other clients.
| Tool | Purpose |
|---|---|
list_courses | List your courses with ID, course number, term, role, active status, and folders. |
get_course_info | Get the course page: description, syllabus, office hours, general information, and staff with emails. |
get_unread_counts | Count unread posts in each active course. |
recent_activity | List posts with new activity since a time (24h, 7d, 2026-10-01), in all active courses or one course. |
list_posts | List post summaries. Filters: all, unread, following, unresolved, unanswered, mine, starred. Optional folder and paging. |
search_posts | Search posts by keywords in one course or in all active courses. |
get_post | Read one full thread: question, instructor answer, student answer, followups, replies, and poll data. |
get_posts | Read up to 20 full threads in one call. |
get_post_history | Show every version of a post, with a diff between versions. |
list_instructor_notes | List notes and polls written by instructors. |
get_attachment | Open an image or file from a post. The model can see images. |
get_course_stats | Get the data from the course Statistics page. |
Every tool accepts a course ID, a course number such as CSE 12 or cse12, or part of the course name.
| Prompt | Purpose |
|---|---|
catch_up | Read all posts since a time and summarize them, with actions for you. |
before_asking | Find out if a question was already asked and answered. |
exam_prep | Read all posts about an exam or topic and collect the facts. |
Many clients show prompts as slash commands.
| Skill | Purpose |
|---|---|
piazza-catch-up | The catch_up steps, for agents that use skills. |
piazza-exam-prep | The exam_prep steps. |
piazza-before-asking | The before_asking steps. |
Skills work in Claude Code, Cursor, Codex, opencode, and other agents. They need the server. To install them:
npx skills add jadenpxrk/mcp-piazza
| Resource | Content |
|---|---|
piazza://courses | Your courses |
piazza://courses/{course_id}/posts/{number} | One full thread |
See docs/tools.md for parameters and output fields, and docs/workflows.md for examples.
Piazza has no public API. This server uses piazza-api, which logs in as the Piazza website does.
| Method | How | Use it when |
|---|---|---|
| Login page | mcp-piazza login, or the link from the first tool call | Most people. The page offers the three methods below. |
| Browser session | mcp-piazza login --browser | You are logged in to piazza.com in Chrome, Arc, Brave, Edge, Firefox, Safari, Chromium, Vivaldi, or Opera. This works with school SSO. |
| Password | mcp-piazza login --password | You want to type your email and password in the terminal. |
| Session cookie | mcp-piazza login --cookie | You want to paste the session_id cookie from the browser developer tools. |
| Environment variables | PIAZZA_EMAIL, PIAZZA_PASSWORD | You want automatic login when the session expires. |
All methods save only the session cookies to ~/.config/mcp-piazza/cookies.json with file mode 600. They do not save your password. When the session expires, the next tool call opens the login page again. mcp-piazza logout deletes the session.
| Variable | Default | Purpose |
|---|---|---|
PIAZZA_EMAIL | none | Account email for automatic login. |
PIAZZA_PASSWORD | none | Account password for automatic login. |
PIAZZA_COOKIE_FILE | ~/.config/mcp-piazza/cookies.json | Path of the saved session. |
PIAZZA_ANONYMIZE_STUDENTS | false | Replace student names with pseudonyms. |
PIAZZA_FENCE_CONTENT | true | Mark post text as untrusted data. |
PIAZZA_KEEP_UNREAD | false | Mark unread posts unread again after the server reads them. |
PIAZZA_MIN_INTERVAL | 0.5 | Minimum seconds between Piazza requests. |
PIAZZA_CACHE_TTL | 60 | Seconds to keep feeds and posts in memory. 0 turns off the cache. |
See docs/configuration.md for examples and the command line.
PIAZZA_KEEP_UNREAD restore.<< >> markers, and the server instructions tell the model to treat it as data.PIAZZA_ANONYMIZE_STUDENTS=true, other students show as Student 3f2a1c. Staff keep their names. Your own posts show as you.piazza.com.See docs/privacy.md for the full model and its limits.
uv sync
uv run pytest # offline tests, no Piazza account needed uv run ruff check src tests uv run ruff format src tests uv run mypy src
See AGENTS.md for the project layout and rules.
PIAZZA_KEEP_UNREAD=true to mark unread posts unread again.get_course_info shows the names of the resource sections only.get_post returns the poll data as Piazza sends it.get_course_stats returns an error.MIT. This project is not affiliated with Piazza.