How to integrate Iqair airvisual MCP with Hermes

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows. This guide explains the easiest and most robust way to connect your Iqair airvisual account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Iqair airvisual logoIqair airvisual
Api Key

Iqair airvisual is an API service providing real-time and historical global air quality data. It helps users monitor pollution levels for healthier decision-making.

10 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Iqair airvisual account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Iqair airvisual with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Iqair airvisual with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Iqair airvisual

Ask your agent to connect to Iqair airvisual, or simply request any Iqair airvisual-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Iqair airvisual connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Iqair airvisual or request any Iqair airvisual-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Iqair airvisual MCP server, and what's possible with it?

The Iqair airvisual MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Iqair airvisual account. It provides structured and secure access to rich global air quality data, so your agent can perform actions like retrieving real-time AQI, forecasting pollution, checking historical trends, and ranking cities worldwide by air quality on your behalf.

  • Real-time city and station air quality: Instantly fetch current air quality and weather data for any supported city or monitoring station, based on precise location or station ID.
  • Air quality forecasting: Ask your agent to provide air quality forecasts for specific cities, helping you plan activities based on pollution trends.
  • Historical AQI analysis: Retrieve historical air quality index readings for cities to analyze patterns, spot trends, or track improvements over time.
  • World AQI rankings: Get live rankings of cities worldwide based on current AQI data, or easily find the most and least polluted cities globally.
  • Location-based discovery: Let your agent list supported countries, states, and cities, or pinpoint the nearest air quality stations and cities using GPS coordinates or IP address.

Way Forward

With Iqair airvisual connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS

Supported Tools

Every Iqair airvisual action and event your agent gets out of the box.

Get Air Quality Forecast Data

Tool to retrieve air quality forecast data for a specified city, state, and country.

Get Cities

Tool to list supported cities in a specified state and country.

Get City Air Quality

Tool to retrieve air quality data for a specific city.

Get supported countries

Tool to list all supported countries.

Get Historical AQI Data

Tool to retrieve historical air quality data for a city.

Get Nearest City Air Quality

Tool to retrieve air quality data for the nearest city based on latitude/longitude or IP.

Get Nearest Station Air Quality

Tool to get nearest station air quality.

Get States

Tool to list supported states in a specified country.

Get Station by ID

Fetches current air quality and weather data for a specific location by station/city/state/country names.

Get World AQI Rankings

Retrieves air quality ranking data.

FAQ

Frequently asked questions

With a standalone Iqair airvisual MCP server, the agents and LLMs can only access a fixed set of Iqair airvisual tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Iqair airvisual and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Iqair airvisual tools.

Yes, absolutely. You can configure which Iqair airvisual scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Iqair airvisual data and credentials are handled as safely as possible.

Start with Iqair airvisual.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Iqair airvisual tool your agent needs.Free to start.

Start building