API and MCP
The website is public. The REST API and the HTTP MCP server require an API key. Local stdio MCP does not, because it runs as a process you start. The OpenAPI document is at /api/openapi.
REST
- GET /api/v1/permits
- GET /api/v1/permits/{id}
- GET /api/v1/sources
- GET /api/v1/changes
- GET /api/v1/stats
- GET /api/v1/operators
Send the key as Authorization: Bearer or X-API-Key. Filters include state, county, city, operator, status, permitType, minConfidence, issuedFrom, issuedTo, filedFrom, filedTo, q, limit, and offset. Snake-case aliases such as permit_type and min_confidence are accepted.
curl -s -H "Authorization: Bearer $HSA_API_KEY" \ "https://hyperscaleatlas.com/api/v1/permits?state=VA&operator=amazon&minConfidence=80"
MCP tools
search_permits, get_permit, list_sources, recent_changes, stats, and list_operators. Run npm run mcp for stdio. Run npm run mcp:http for streamable HTTP on port 38472 at POST /mcp, with the same API key.
{
"mcpServers": {
"hyperscale-atlas": {
"command": "npm",
"args": ["run", "mcp"],
"cwd": "/opt/hyperscale-atlas"
}
}
}Keys
Hyperscale Atlas keys start with hsa_. ASHLAR_API_KEYS in the environment is a comma-separated list checked in constant time. npm run key:create stores a hashed key in Postgres and prints the secret once. The sample key in .env.example is refused when NODE_ENV is production.