Skip to main content
Glama

AirNow MCP Server

by prsantos-com

get-current-observations-by-reporting-area-by-zip-code

Retrieve current Air Quality Index (AQI) values and categories for a specific reporting area using a Zip code. Supports multiple formats including JSON, XML, and CSV. Includes nearby area data if no reporting area is found within a specified distance.

Instructions

Get current AQI values and categories for a reporting area by Zip code.

Input Schema

NameRequiredDescriptionDefault
distanceNoIf no reporting area is associated with the Zip code, current observations from a nearby reporting area within this distance (in miles) will be returned, if available. Example: 150
formatYesFormat of the payload file returned. Example: application/json
zipCodeYesZip code to get the current observations for. Example: 94954

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "distance": { "description": "If no reporting area is associated with the Zip code, current observations from a nearby reporting area within this distance (in miles) will be returned, if available. Example: 150", "type": "string" }, "format": { "description": "Format of the payload file returned. Example: application/json", "enum": [ "text/csv", "application/json", "application/xml" ], "type": "string" }, "zipCode": { "description": "Zip code to get the current observations for. Example: 94954", "type": "string" } }, "required": [ "zipCode", "format" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prsantos-com/airnow-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server