Skip to content
Cursor

DistrictAPI for Cursor

dev.districtapi/districtapi-mcp

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

client:Cursor transport:stdio runtime:pypi

Install DistrictAPI in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "districtapi-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "districtapi-mcp"
      ],
      "env": {
        "DISTRICTAPI_KEY": "<DISTRICTAPI_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

DistrictAPI in other clients