{
  "markdown": "# districtapi-mcp\n\n<!-- Links this package to its entry in the official MCP registry -->\nmcp-name: dev.districtapi/districtapi-mcp\n\nMCP server for [districtapi.dev](https://districtapi.dev) — US school district and school data for AI agents.\n\nExpose school district lookups as tools to any MCP-compatible AI assistant (Claude, Cursor, Copilot, etc.).\n\n## Installation\n\n```bash\npip install districtapi-mcp\n```\n\nOr run directly with `uvx` (no install needed):\n\n```bash\nuvx districtapi-mcp\n```\n\n## Configuration\n\n### Claude Desktop\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"districtapi\": {\n      \"command\": \"uvx\",\n      \"args\": [\"districtapi-mcp\"],\n      \"env\": {\n        \"DISTRICTAPI_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\n### Cursor / other MCP clients\n\n```json\n{\n  \"mcpServers\": {\n    \"districtapi\": {\n      \"command\": \"uvx\",\n      \"args\": [\"districtapi-mcp\"],\n      \"env\": {\n        \"DISTRICTAPI_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\nGet a free API key at [districtapi.dev](https://districtapi.dev).\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `lookup_district_by_address` | Find the district serving a US street address |\n| `get_district` | Get full district profile by NCES LEA ID |\n| `search_districts` | Search districts by name and/or state |\n| `get_district_schools` | List all schools in a district |\n| `get_school` | Get full school profile by NCES school ID |\n| `find_schools_near_address` | Find schools within a radius of an address |\n\n## Example\n\nOnce configured, you can ask your AI assistant:\n\n> \"What school district serves 1600 Pennsylvania Ave, Austin TX, and how many students are enrolled?\"\n\nThe assistant will call `lookup_district_by_address` and return the full district profile.\n\n## Links\n\n- **Website:** [districtapi.dev](https://districtapi.dev)\n- **PyPI:** [pypi.org/project/districtapi-mcp](https://pypi.org/project/districtapi-mcp)\n- **REST API docs:** [districtapi.dev/docs](https://districtapi.dev/docs)\n\n## License\n\nMIT\n",
  "bytes": 2069,
  "sha": "6725c748c3145d4633680d5ae753248c40065aff4e0f786b5e4d67bea503d3ab",
  "repo_slug": "districtapi/districtapi-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_dev_districtapi_districtapi_mcp_f1c28962/readme"
}