Skip to content
Grok

DistrictAPI for Grok

dev.districtapi/districtapi-mcp

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

client:Grok transport:stdio runtime:pypi

Install DistrictAPI in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

DistrictAPI in other clients