This guide walks you through connecting Iqair airvisual to Mastra AI using the Composio tool router. By the end, you'll have a working Iqair airvisual agent that can check city and nearest station air quality, fetch AQI forecasts and history, list supported locations, and view world AQI rankings through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Iqair airvisual account through Composio's Iqair airvisual MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.


