schooldigger-k-12-school-data-api
4.0
The SchoolDigger K-12 School Data API MCP Server provides comprehensive data on schools and districts across the U.S., useful for analysis and data display.
The SchoolDigger K-12 School Data API MCP Server is a comprehensive solution for accessing detailed information about schools and school districts across the United States. With over 15 years of data collection experience, this service provides users with a unified platform to access essential metrics concerning school performance, demographics, and rankings. It is specifically designed for nationwide applications, making it an invaluable tool for analysis, data display, and more.
Features
- School Directory: Access detailed information for over 120,000 public, charter, and private schools, including their names, addresses, contact details, and geographical coordinates.
- District Directory: Get data on over 18,000 school districts, including their names, addresses, and member schools.
- Student Metrics: Obtain insights into student demographics, including ethnicity, pupil/teacher ratios, and free-reduced lunch program statistics.
- Standardized Test Scores: Access test scores at various levels, including state, district, and school levels, with the capability to view proficiency breakdowns.
- School Rankings: View state-wide rankings calculated by SchoolDigger for elementary, middle, and high schools, as well as district and city rankings.
MCP Tools
- GetSchool: Retrieve a specific school record.
- GetSchools: Search for schools based on various criteria.
- GetDistrict: Retrieve a specific district record.
- GetDistricts: Search for districts based on various criteria.
- GetRankSchools: Retrieve a ranking list of schools.
- GetRankDistricts: Retrieve a ranking list of districts.
- Autocomplete: Provides a quick list of schools for client-typed autocomplete searches.
Usage with Different Platforms
python
python
import requests
url = 'https://api.schooldigger.com/v1.2/schools'
params = {
'st': 'CA',
'city': 'Los Angeles',
'appID': 'YOUR_APP_ID',
'appKey': 'YOUR_APP_KEY'
}
response = requests.get(url, params=params)
data = response.json()
print(data)
javascript
javascript
fetch('https://api.schooldigger.com/v1.2/schools?st=CA&city=Los Angeles&appID=YOUR_APP_ID&appKey=YOUR_APP_KEY')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));