About Air-Pollution
Air-Pollution is a Node.js and Express.js MCP server that retrieves air pollution data from the OpenWeather API. It supports lookups by coordinates or by city and country.
Key features
- 01Fetches air pollution data
- 02Looks up locations by latitude and longitude
- 03Looks up locations by city and country
- 04Manages API keys with dotenv
Use cases
- 01Checking pollution data for a coordinate
- 02Looking up pollution data for a city
MCP support
Provides an MCP server for fetching air pollution data from OpenWeather based on location.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEAir-Pollution
This project is a Model Context Protocol (MCP) Server built using Node.js + Express.js that interacts with the OpenWeather API. It allows users to fetch air pollution data based on latitude & longitude or city & country. The backend ensures secure API key management using dotenv and handles API requests efficiently.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.