DistrictAPI

dev.districtapiPublished by districtapi.devv0.1.3Updated Oct 24, 2026

US public school districts and schools by address — enrollment, demographics, boundaries

VerifiedSTDIODesktop onlyLocation & LifestyleData & Analytics

Overview

AI-generated overview

DistrictAPI is a local MCP server that lets an assistant look up US school districts and schools by address, name, state or NCES ID.

What you can do
Find the school district serving a US street address and get its full profile, including enrollment and demographics, by NCES LEA ID. Search districts by name and state, and list all schools within a district. Get full school profiles by NCES school ID and find schools within a radius of an address.
When to use it
Useful when you need US school district or school facts — which district covers an address, enrollment and demographic figures, district boundaries, or nearby schools — inside an AI assistant session.
Requirements
Runs locally as a Python package (pip install or uvx), configured in an MCP client such as Claude Desktop or Cursor. Requires a DISTRICTAPI_KEY environment variable, available as a free tier of 500 requests per month from the provider. Network access to the provider's API is needed.
Before you install
The DISTRICTAPI_KEY is a secret sent to the provider's service; keep it out of shared configs and repositories. Usage counts against the free tier's monthly request limit, and heavier use may require a paid plan. Lookups are read-only.

Installation

In SourceWeft

  1. Open DistrictAPI in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

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

bash
pip install districtapi-mcp

Or run directly with uvx (no install needed):

bash
uvx districtapi-mcp

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "districtapi": {      "command": "uvx",      "args": ["districtapi-mcp"],      "env": {        "DISTRICTAPI_KEY": "your_api_key_here"      }    }  }}

Cursor / other MCP clients

json
{  "mcpServers": {    "districtapi": {      "command": "uvx",      "args": ["districtapi-mcp"],      "env": {        "DISTRICTAPI_KEY": "your_api_key_here"      }    }  }}

Get a free API key at districtapi.dev.

Available Tools

ToolDescription
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

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

License

MIT

Source: README.md at commit 01bc0b4

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.1.3LatestOct 4, 2026
  2. v0.1.2Sep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.