Skip to main content
Glama

AirNow MCP Server

by prsantos-com

get-forecast-by-lat-long

Retrieve current or historical air quality index (AQI) forecasts for any location using latitude and longitude. Supports multiple output formats including JSON, CSV, and XML.

Instructions

Get current or historical forecasted AQI values and categories for a reporting area by latitude and longitude.

Input Schema

NameRequiredDescriptionDefault
dateNoDate of forecast. Format: YYYY-MM-DD. Example: 2012-02-01
distanceNoReturn a forecast from a nearby reporting area within this distance (in miles). Example: 150
formatYesFormat of the payload file returned. Example: application/json
latitudeYesLatitude in decimal degrees. Example: 38.33
longitudeYesLongitude in decimal degrees. Example: -122.28

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date": { "description": "Date of forecast. Format: YYYY-MM-DD. Example: 2012-02-01", "type": "string" }, "distance": { "description": "Return a forecast from a nearby reporting area within this distance (in miles). Example: 150", "type": "string" }, "format": { "description": "Format of the payload file returned. Example: application/json", "enum": [ "text/csv", "application/json", "application/xml" ], "type": "string" }, "latitude": { "description": "Latitude in decimal degrees. Example: 38.33", "type": "string" }, "longitude": { "description": "Longitude in decimal degrees. Example: -122.28", "type": "string" } }, "required": [ "latitude", "longitude", "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