Skip to main content
Glama

AirNow MCP Server

by prsantos-com

get-forecast-by-zip-code

Retrieve current or historical air quality forecast data by Zip code, specifying format and optional date or distance. Access AQI values and categories for informed decision-making.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
dateNoDate to get the forecast for. Format: YYYY-MM-DD. Example: 2012-02-01
distanceNoDistance in miles to search for the forecast. Example: 150
formatYesFormat of the payload file returned. Example: application/json
zipCodeYesZip code to get the forecast for. Example: 94954

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date": { "description": "Date to get the forecast for. Format: YYYY-MM-DD. Example: 2012-02-01", "type": "string" }, "distance": { "description": "Distance in miles to search for the forecast. 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 forecast 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