School Choice Compass
Officialby open-us-data
README.md
# school-choice-compass-mcp
An MCP server that lets AI assistants answer questions about U.S. private school choice with the open data of [School Choice Compass](https://schoolchoicecompass.com): education savings accounts, vouchers, tax-credit scholarships, family tax credits and town tuitioning in each state, the private schools on the states' official participation lists, and the federal scholarship tax credit that starts in 2027.
It reads the site's static JSON files at `https://schoolchoicecompass.com/data/v1/` and nothing else. You need no key or account. Files are cached in memory for six hours, so a normal session makes a handful of requests.
Every amount, rule and deadline comes from the program's official page, state law or the IRS, and each answer links that source and the date it was checked. School Choice Compass is independent: it is not run by a state, a program administrator, a school or a scholarship organization.
## Tools
| Tool | What it answers |
|---|---|
| `list_jurisdictions` | Every state or territory with a program card: number of programs, kinds of help, size of the official school list, scholarship organizations, federal credit participation. |
| `get_state_programs(state)` | All programs of one state: type, who runs it, amount and application window as the official page states them, plus the official school list, scholarship organizations, published tuition and federal credit status. |
| `get_program(state, program)` | One program in full: amount, eligibility and application window, each with its official sources and check date. `program` takes the name, the short name (`TEFA`, `Students First ESA`) or a word of it. |
| `find_private_schools(state, city?, grade?, program?, name?, limit?)` | Schools on the state's official list that have a profile on the site: town, ZIP, grades, programs and the tuition the school publishes on its own website. `city` also takes a 5-digit ZIP; `grade` takes `PK`, `K` or `1`-`12`. |
| `federal_tax_credit(state?)` | The federal scholarship tax credit (26 U.S.C. 25F): rules with sources, the IRS list of participating states and the timeline. With `state`, whether that state is on the IRS list. |
| `search(query, state?, limit?)` | Program names and types and school names, towns and ZIPs across all covered states, or one state. Every word must match. |
`state` takes a two-letter postal code (`TX`, `dc`, `PR`) or a name (`Texas`, `New Hampshire`). When a town is not found, the answer lists the closest town names.
Every answer ends with two lines like these:
```
Source: School Choice Compass (schoolchoicecompass.com), data as of 2026-11-27; official source: https://educate.iowa.gov/pk-12/educational-choice/education-savings-account
Not legal, tax or financial advice; confirm with the program.
```
Some things the data does not do, and the answers say so:
- A school file lists only the schools that have a profile page; the list page linked in the answer names every school on the official list. Where a state limits reuse of its list (Wisconsin), the answer links the state's own file.
- A program marked as not yet confirmed has no amount or eligibility checked on an official page yet; the answer points to the program's official site.
- Being on an official list means the state accepted the school for a program. It says nothing about quality, seats or admission. Tuition is what the school published on its own website on the date shown, not a quote.
## Resources
| URI | Content |
|---|---|
| `school-choice-compass://openapi.json` | The OpenAPI 3.1 description of the data files. |
| `school-choice-compass://dataset.json` | Totals, the file list and the terms of use as the dataset states them. |
| `school-choice-compass://data-dates.json` | When each state's program facts were checked, when each official school list was retrieved, and the date of the IRS list. |
## Install
Node.js 20 or newer. Run it straight from GitHub:
```sh
npx -y github:open-us-data/school-choice-compass-mcp
```
Or from a local copy:
```sh
git clone https://github.com/open-us-data/school-choice-compass-mcp.git
cd school-choice-compass-mcp
npm ci
npm test
```
### Claude Desktop
Edit `claude_desktop_config.json` (Settings, Developer, Edit Config):
```json
{
"mcpServers": {
"school-choice-compass": {
"command": "npx",
"args": ["-y", "github:open-us-data/school-choice-compass-mcp"]
}
}
}
```
With a local copy, use `"command": "node"` and `"args": ["/absolute/path/to/school-choice-compass-mcp/bin/school-choice-compass-mcp.js"]`.
### Cursor
`~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project):
```json
{
"mcpServers": {
"school-choice-compass": {
"command": "npx",
"args": ["-y", "github:open-us-data/school-choice-compass-mcp"]
}
}
}
```
### VS Code
`.vscode/mcp.json` in the workspace:
```json
{
"servers": {
"school-choice-compass": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:open-us-data/school-choice-compass-mcp"]
}
}
}
```
### HTTP
```sh
node bin/school-choice-compass-mcp.js --http --port 3000
```
This serves Streamable HTTP at `http://127.0.0.1:3000/mcp` (stateless, POST only) and a health check at `/healthz`. It binds to localhost unless you pass `--host`.
### Docker
```sh
docker build -t school-choice-compass-mcp .
docker run -i --rm school-choice-compass-mcp
```
### Settings
| Variable | Default | Meaning |
|---|---|---|
| `SCC_CACHE_TTL_SECONDS` | `21600` | How long a downloaded file is reused. |
| `SCC_BASE_URL` | `https://schoolchoicecompass.com/data/v1/` | Base URL of the data files (for testing against a copy). |
Requests are sent with the User-Agent `school-choice-compass-mcp/<version> (+https://schoolchoicecompass.com/open-data/)`.
## Tests
```sh
npm test # offline, against recorded data files in test/fixtures
npm run test:live # one smoke test against the live files (about 5 requests)
```
`npm run record-fixtures` downloads fresh copies of every data file, one request per second. The tests take expected counts and texts from those files, so they keep passing when the data changes.
## Data, licence and attribution
The code in this repository is MIT licensed (see `LICENSE`).
The data is not part of that licence. The data files say:
- The compilation is licensed [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Facts are not subject to copyright; each record links its source. Tuition is what each school publishes on its own website; lists that only allow a link are not copied.
- Attribution: cite School Choice Compass (https://schoolchoicecompass.com/) under CC BY 4.0, and the official source linked in each record.
- General information from official sources on the dates shown, not legal, tax or financial advice. Confirm amounts, eligibility and deadlines with the program before acting.
Terms: <https://schoolchoicecompass.com/terms/>. Sources: <https://schoolchoicecompass.com/sources/>.
Never tell a family that a child qualifies or how much they will get; quote the rule and the amount as the official page states them. Tax questions about state credits or the federal credit belong with a tax professional.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues