Powerschool
БесплатноНе проверенA FastMCP server for PowerSchool that enables students to check grades, assignments, grade history, and attendance through the Model Context Protocol.
Описание
A FastMCP server for PowerSchool that enables students to check grades, assignments, grade history, and attendance through the Model Context Protocol.
README
A FastMCP server for PowerSchool that enables students to check grades, assignments, grade history, and attendance through the Model Context Protocol.
Features
This MCP server provides the following tools for students:
- get_student_info: Get current student information (name, ID, grade level, school)
- get_current_grades: View current grades for all courses
- get_assignments: List assignments (optionally filter by course)
- get_grade_history: View historical grade data with date filtering
- get_courses: List all enrolled courses/sections
- get_attendance: View attendance records
- get_server_info: Check server configuration and status
Configuration
Required Environment Variables
You need to configure the following environment variables to connect to your PowerSchool instance:
# PowerSchool server URL (without trailing slash)
POWERSCHOOL_URL=https://your-school.powerschool.com
# OAuth2 Client Credentials from PowerSchool Plugin
POWERSCHOOL_CLIENT_ID=your_client_id
POWERSCHOOL_CLIENT_SECRET=your_client_secret
# Student Authentication (for password grant type)
POWERSCHOOL_USERNAME=student_username
POWERSCHOOL_PASSWORD=student_password
PowerSchool Setup
This server requires a PowerSchool plugin with OAuth2 enabled. Your PowerSchool administrator needs to:
- Install a PowerSchool plugin with
<oauth/>enabled inplugin.xml - Configure API permissions for student data access
- Generate OAuth2 client credentials (client ID and secret)
- Enable the necessary API endpoints:
/ws/v1/student- Student information/ws/v1/student/grades- Grade data/ws/v1/student/assignments- Assignment data/ws/v1/student/sections- Course/section data/ws/v1/student/attendance- Attendance data
For more information about PowerSchool's API, see:
Local Development
Setup
Fork the repo, then run:
git clone <your-repo-url>
cd mcp-powerschool
conda create -n mcp-powerschool python=3.13
conda activate mcp-powerschool
pip install -r requirements.txt
Configure Environment Variables
Create a .env file or set environment variables:
export POWERSCHOOL_URL=https://your-school.powerschool.com
export POWERSCHOOL_CLIENT_ID=your_client_id
export POWERSCHOOL_CLIENT_SECRET=your_client_secret
export POWERSCHOOL_USERNAME=your_username
export POWERSCHOOL_PASSWORD=your_password
Test Locally
python src/server.py
# then in another terminal run:
npx @modelcontextprotocol/inspector
Open http://localhost:3000 and connect to http://localhost:8000/mcp using "Streamable HTTP" transport (NOTE THE /mcp!).
Available Tools
Once connected, you can test the following tools:
- get_server_info - Verify configuration
- get_student_info - Get student details
- get_current_grades - View all current grades
- get_courses - List enrolled courses
- get_assignments - View assignments (optional: pass section_id)
- get_grade_history - View historical grades (optional: pass start_date, end_date)
- get_attendance - View attendance records
Deployment
Option 1: One-Click Deploy to Render
- Click the "Deploy to Render" button above
- Configure the required environment variables in Render's dashboard:
POWERSCHOOL_URLPOWERSCHOOL_CLIENT_IDPOWERSCHOOL_CLIENT_SECRETPOWERSCHOOL_USERNAMEPOWERSCHOOL_PASSWORD
Option 2: Manual Deployment
- Fork this repository
- Connect your GitHub account to Render
- Create a new Web Service on Render
- Connect your forked repository
- Render will automatically detect the
render.yamlconfiguration - Add the required environment variables in Render's dashboard
Your server will be available at https://your-service-name.onrender.com/mcp (NOTE THE /mcp!)
Usage with AI Assistants
You can connect this MCP server to various AI assistants that support the Model Context Protocol:
Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"powerschool": {
"url": "https://your-service-name.onrender.com/mcp"
}
}
}
Poke
You can connect your MCP server to Poke at poke.com/settings/connections.
To test the connection explicitly, ask poke something like: Tell the subagent to use the "powerschool" integration's "get_current_grades" tool.
If you run into persistent issues of poke not calling the right MCP (e.g. after you've renamed the connection), you may send clearhistory to poke to delete all message history and start fresh.
Example Usage
Here are some example queries you can make through your AI assistant:
- "What are my current grades?"
- "Show me my assignments for math class"
- "What's my attendance record this semester?"
- "How have my grades changed over the last month?"
- "List all my courses and teachers"
- "Show me my student information"
API Reference
PowerSchool API Endpoints
This server uses the PowerSchool REST API. The main endpoints are:
GET /ws/v1/student- Get student informationGET /ws/v1/student/grades- Get current gradesGET /ws/v1/student/assignments- Get all assignmentsGET /ws/v1/student/assignments/section/{id}- Get assignments for a sectionGET /ws/v1/student/sections- Get enrolled sections/coursesGET /ws/v1/student/attendance- Get attendance recordsGET /ws/v1/student/grades/history- Get historical grades
Authentication
The server uses OAuth2 for authentication with PowerSchool. It supports both:
- Client Credentials Grant - For server-to-server authentication
- Password Grant - For student username/password authentication
The authentication token is automatically cached and refreshed as needed.
Security Notes
⚠️ Important Security Considerations:
Credentials Storage: Store credentials securely using environment variables or secret management services. Never commit credentials to version control.
HTTPS: Always use HTTPS in production to protect credentials and student data in transit.
Access Control: This server is designed for individual student use. Each deployment should be configured with credentials for a single student.
Token Security: Authentication tokens are cached in memory and automatically refreshed. They are never persisted to disk.
Production Deployment: When deploying to production, ensure your hosting platform (like Render) properly secures environment variables.
Troubleshooting
Configuration Issues
If you get configuration errors, verify:
- All required environment variables are set
- PowerSchool URL doesn't have a trailing slash
- Client ID and secret are correct
- Student credentials are valid (if using password grant)
Connection Issues
If the server can't connect to PowerSchool:
- Verify PowerSchool URL is accessible
- Check that the PowerSchool plugin is installed and OAuth is enabled
- Ensure API endpoints are enabled for student access
- Check firewall rules if running on-premises
Authentication Issues
If authentication fails:
- Verify client credentials are correct
- Check that student username/password are valid
- Ensure the OAuth2 grant type (password or client_credentials) is enabled
Use the get_server_info tool to check configuration status.
Development
Adding New Tools
You can add more PowerSchool API endpoints by:
- Adding a method to the
PowerSchoolAPIclass - Creating a corresponding MCP tool with
@mcp.tooldecorator - Following the existing pattern for error handling and response format
Example:
@mcp.tool(description="Get school calendar events")
def get_calendar() -> dict:
try:
client = get_api_client()
result = client._make_request("/ws/v1/student/calendar")
return {
"success": True,
"data": result
}
except Exception as e:
return {
"success": False,
"error": str(e)
}
License
This project is open source and available under the MIT License.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For issues related to:
- This MCP Server: Open an issue on GitHub
- PowerSchool API: Contact PowerSchool support or your school administrator
- MCP Protocol: See Model Context Protocol Documentation
Установка Powerschool
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/443pablo/mcp-powerschoolFAQ
Powerschool MCP бесплатный?
Да, Powerschool MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Powerschool?
Нет, Powerschool работает без API-ключей и переменных окружения.
Powerschool — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Powerschool в Claude Desktop, Claude Code или Cursor?
Открой Powerschool на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Powerschool with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
