AirNow MCP Server

AirNow MCP Server

A Model Context Protocol implementation that enables LLMs to access real-time, forecasted, and historical U.S. air quality data through the AirNow API.

Category
Visit Server

Tools

get-contour-maps-by-bounding-box-combined-ozone-pm25

Get current or historical combined Ozone and PM2.5 contour maps in KML by geographic bounding box.

get-contour-maps-by-geographic-bounding-box-ozone

Get current or historical Ozone contour maps in KML by geographic bounding box.

get-contour-maps-by-geographic-bounding-box-pm25

Get current or historical PM2.5 contour maps in KML by geographic bounding box.

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

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

get-current-observations-by-reporting-area-by-lat-long

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

get-forecast-by-lat-long

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

README

AirNow MCP Server

Overview

The unofficial AirNow MCP Server is a Model Context Protocol (MCP) implementation that enables integration between large language models (LLMs) and the AirNow API for U.S. air quality data. This server provides a comprehensive set of tools that allows LLMs to access and utilize real-time, forecasted, and historical air quality information.

Key Features

  • Direct access to AirNow API resources through standardized MCP tools
  • Natural language interface for querying air quality data
  • Support for current, forecasted, and historical AQI, observations, and contour maps
  • Easy integration via NPX/Docker

About the AirNow API

The AirNow API provides access to official U.S. air quality data, including:

  • Current and Forecasted Air Quality Index (AQI):
    Retrieve real-time and forecasted AQI values for ozone, PM2.5, and PM10 for specific locations or regions.

  • Observations and Reporting Areas:
    Access air quality observations by ZIP code, latitude/longitude, bounding box, or reporting area.

  • Air Quality Maps:
    Obtain contour maps for ozone and PM2.5, available as images or data overlays.

  • Historical Data:
    Query historical air quality data for supported pollutants.

  • Health Recommendations:
    The API provides health recommendations and cautionary statements based on AQI levels.

For detailed information on endpoints, parameters, and response formats, log in with your AirNow API account and go to the AirNow API Web Services Documentation.

Available Tools

Forecasts

  • forecast_by_lat_long – Get current or historical forecasted AQI values and categories for a reporting area by latitude and longitude.
  • forecast_by_zip_code – Get current or historical forecasted AQI values and categories for a reporting area by Zip code.

Contour Maps

  • contour_maps_by_geographic_bounding_box_ozone – Get current or historical ozone contour maps in KML.
  • contour_maps_by_geographic_bounding_box_pm25 – Get current or historical PM2.5 contour maps in KML.
  • contour_maps_by_bounding_box_combined_ozone_pm25 – Get current or historical contour maps in KML for combined ozone and PM2.5 values.

Observations

  • current_observations_by_reporting_area_by_lat_long – Get current AQI values and categories for a reporting area by latitude and longitude.
  • current_observations_by_reporting_area_by_zip_code – Get current AQI values and categories for a reporting area by Zip code.
  • observations_by_monitoring_site_by_geographic_bounding_box – Get AQI values or data concentrations for a specified date and time range and set of parameters within a geographic area of interest.

Historical Data

  • historical_observations_by_reporting_area_by_lat_long – Get historical AQI values and categories for a reporting area by latitude and longitude.
  • historical_observations_by_reporting_area_by_zip_code – Get historical AQI values and categories for a reporting area by Zip code.

Requirements

  • An AirNow API key, which you can obtain by requesting an AirNow API Account.
  • For use with NPX, Node.js >= v22.14.0 is required.

Configuration

Claude Desktop

Add one of these configurations to your claude_desktop_config.json:

NPX

{
  "mcpServers": {
    "airnow-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@prsantos/airnow-mcp-server"
      ],
      "env":{
        "AIRNOW_API_KEY": "<YOUR-AIRNOW-API-KEY>",
        "LOG_LEVEL": "<ANY-LOG-LEVEL>" // Optional. Not setting will default to "info"
      }
    }
  }
}

Docker

{
  "mcpServers": {
    "airnow-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AIRNOW_API_KEY",
        "-e",
        "LOG_LEVEL",
        "prsantos/airnow-mcp-server"
      ],
      "env":{
        "AIRNOW_API_KEY": "<YOUR-AIRNOW-API-KEY>",
        "LOG_LEVEL": "<ANY-LOG-LEVEL>" // Optional. Not setting will default to "info"
      }
    }
  }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured