CleanAirData MCP
This official MCP server provides read-only access to historical air quality data, including PM2.5 levels, Clean Air Scores, and annual trends for US cities. It allows AI agents to query specific city metrics, compare air quality between two locations, and retrieve rankings of cities based on their historical performance, ensuring transparency by indicating if data is copied from a nearby source.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
MCP endpoint (Streamable HTTP)
https://cleanairdata.org/api/mcpWhat you can do with it
- Retrieve historical air quality scores and PM2.5 data for a specific city
- Compare air quality metrics between two different cities side by side
- Rank cities based on their historical Clean Air Scores
get_city_air_qualitycompare_citiesrank_cities
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http cleanairdata-mcp https://cleanairdata.org/api/mcpCodex
Codex configuration
codex mcp add cleanairdata-mcp --url https://cleanairdata.org/api/mcpCursor
Cursor configuration
{
"mcpServers": {
"cleanairdata-mcp": {
"url": "https://cleanairdata.org/api/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"cleanairdata-mcp": {
"type": "streamableHttp",
"url": "https://cleanairdata.org/api/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"cleanairdata-mcp": {
"type": "http",
"url": "https://cleanairdata.org/api/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http cleanairdata-mcp https://cleanairdata.org/api/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"cleanairdata-mcp": {
"url": "https://cleanairdata.org/api/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"cleanairdata-mcp": {
"serverUrl": "https://cleanairdata.org/api/mcp"
}
}
}Other data and analytics servers
Do you run CleanAirData MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.