Look up US school districts and schools by address, NCES ID, name, state, or proximity.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by DistrictAPI.
lookup_district_by_addressFind the district serving a US street address
get_districtGet full district profile by NCES LEA ID
search_districtsSearch districts by name and/or state
get_district_schoolsList all schools in a district
get_schoolGet full school profile by NCES school ID
find_schools_near_addressFind schools within a radius of an address
The DistrictAPI MCP server exposes US public school district and school data from districtapi.dev to MCP-compatible AI assistants. It supports lookups based on addresses, district names, states, NCES LEA IDs, NCES school IDs, and geographic proximity.
Address-based workflows can identify the district serving a US street address or return schools within a specified radius. Identifier-based workflows can retrieve a full district profile or a full school profile. Search and relationship tools support broader exploration: search for districts by name or state, then list all schools associated with a selected district.
These capabilities suit agents answering questions about school service areas, district enrollment and demographics, school locations, or the schools belonging to a district. The available material does not specify the individual fields returned in each profile beyond the listed district and school data categories.
The package runs as an MCP server and makes DistrictAPI functionality available as callable tools. An MCP-compatible assistant can select the appropriate operation from the tool set based on a userβs request. For example, an address question can use lookup_district_by_address, while a request for schools close to an address can use find_schools_near_address.
The six exposed tools are:
lookup_district_by_address: identifies the district serving a US street address.get_district: retrieves a district profile using an NCES LEA ID.search_districts: searches districts by name, state, or both.get_district_schools: lists the schools in a district.get_school: retrieves a school profile using an NCES school ID.find_schools_near_address: finds schools within a radius of an address.Install the Python package with pip install districtapi-mcp, or launch it without a separate installation by running uvx districtapi-mcp. Configure the MCP client to use uvx as the command and districtapi-mcp as its argument.
Set DISTRICTAPI_KEY in the server environment. The README directs users to districtapi.dev to obtain a free API key. A Claude Desktop or Cursor configuration uses the same command, argument, and environment-variable pattern shown for other MCP clients.
A typical server entry has this structure:
The DistrictAPI MCP server is scoped to US school district and school data. Address operations require a US street address, and profile retrieval by identifier requires the relevant NCES LEA ID or NCES school ID. The provided documentation does not state a historical-data range, update schedule, rate limits, supported address formats, or the exact response schema.
The README names Claude and Cursor among compatible MCP clients and also describes support for MCP-compatible AI assistants generally. The serverβs license is MIT. REST API documentation and package details are linked from the project README at districtapi.dev/docs and PyPI.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/districtapi)<a href="https://allmcps.com/mcp/districtapi"><img src="https://allmcps.com/api/badge/districtapi?style=directory" alt="DistrictAPI on AllMCPs" /></a>