districtapi-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@districtapi-mcp What school district serves 1600 Pennsylvania Ave, Washington DC?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
districtapi-mcp
mcp-name: dev.districtapi/districtapi-mcp
MCP server for districtapi.dev — US school district and school data for AI agents.
Expose school district lookups as tools to any MCP-compatible AI assistant (Claude, Cursor, Copilot, etc.).
Installation
pip install districtapi-mcpOr run directly with uvx (no install needed):
uvx districtapi-mcpRelated MCP server: unofficial-magister-mcp
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"districtapi": {
"command": "uvx",
"args": ["districtapi-mcp"],
"env": {
"DISTRICTAPI_KEY": "your_api_key_here"
}
}
}
}Cursor / other MCP clients
{
"mcpServers": {
"districtapi": {
"command": "uvx",
"args": ["districtapi-mcp"],
"env": {
"DISTRICTAPI_KEY": "your_api_key_here"
}
}
}
}Get a free API key at districtapi.dev.
Available Tools
Tool | Description |
| Find the district serving a US street address |
| Get full district profile by NCES LEA ID |
| Search districts by name and/or state |
| List all schools in a district |
| Get full school profile by NCES school ID |
| Find schools within a radius of an address |
Example
Once configured, you can ask your AI assistant:
"What school district serves 1600 Pennsylvania Ave, Austin TX, and how many students are enrolled?"
The assistant will call lookup_district_by_address and return the full district profile.
Links
Website: districtapi.dev
REST API docs: districtapi.dev/docs
License
MIT
Available Tools
6 toolsfind_schools_near_addressA
Find public schools within a radius of a US street address.
Args: address: Full US street address radius_miles: Search radius in miles (default 5.0, max 25.0)
Inputs: address (required), radius_miles.
get_districtA
Get full profile for a school district by its NCES LEA ID.
Args: nces_id: 7-digit NCES Local Education Agency ID, e.g. "4807380"
Inputs: nces_id (required).
get_district_schoolsA
List all schools in a district.
Args: nces_id: 7-digit NCES LEA ID of the district
Inputs: nces_id (required).
get_schoolA
Get full profile for a school by its NCES school ID.
Args: nces_id: 12-digit NCES school ID
Inputs: nces_id (required).
lookup_district_by_addressA
Find the public school district serving a US street address.
Returns the district name, NCES ID, state, enrollment, school count, per-pupil expenditure, and demographic breakdown.
Args: address: Full US street address, e.g. "1600 Pennsylvania Ave, Austin, TX"
Inputs: address (required).
search_districtsA
Search for school districts by name, optionally filtered by state.
Args: name: Full or partial district name, e.g. "Austin" or "Austin ISD" state: Two-letter state code to narrow results, e.g. "TX" (optional)
Inputs: name (required), state.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct resource and action: address-to-district, district-by-ID, district-search, schools-in-district, school-by-ID, and schools-near-address. The two address-based tools are clearly differentiated by return type (district vs schools).
All tool names follow a consistent verb_noun pattern with optional qualifiers (by_address, near_address, by ID). Verbs (lookup, get, search, find) are semantically distinct and used appropriately, and snake_case is used throughout.
With 6 tools, the set is well-scoped for a school district information API. Each tool addresses a distinct query need without unnecessary redundancy or bloat.
The domain is read-only lookup, and the set covers all natural entry points: by address, by name, by district ID, and by school ID, plus the ability to list schools within a district or near an address. No critical gaps are evident.
Maintenance
Related MCP Connectors
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Agent-native MCP server over 49M+ US public and government records, privacy-first, always current.
MCP server for querying Tulsa County, Oklahoma property and parcel data for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for exploring Texas public school data through conversational interfaces, enabling campus search, district details, geospatial lookup, comparisons, and transfer insights using TEA data.161Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server for accessing Dutch school schedules from Magister. Enables Claude and other MCP-compatible AI assistants to query school schedules, drop-off times, and pick-up times.48 npm7MIT
- AlicenseAqualityDmaintenanceMCP server providing access to comprehensive UK school data from official government sources, including search, details, near-postcode, comparisons, Ofsted ratings, and DfE education datasets.11MIT
- FlicenseNot gradedqualityCmaintenanceUnifies school information, real estate transaction data, and school zone lookup into a single MCP server, allowing users to query school details, property prices, and attendance boundaries.-