How to Use the IQAir MCP in Claude Code
Connect IQAir to your terminal with Claude Code. Run headless data pipelines and automate air quality monitoring from the shell.
Works with every AI agent you already use
…and any MCP-compatible client
Connect IQAir MCP to Claude Code
Create your Vinkius account to connect IQAir to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automate IQAir queries via Claude Code
Pipe the output of `get_nearest_city_air_quality` directly into your shell scripts. Claude Code executes the fetch and returns the raw data for downstream processing. It's ideal for cron jobs or CI/CD checks. You get the exact pollution index and weather metrics in your terminal window without any GUI interference.
Map global regions with Claude Code
Use `list_supported_cities` to build a configuration list for your monitors. Claude Code crawls the hierarchy to map out available data points efficiently. It handles the recursive nature of country-to-state lookups. You get a clean list of valid locations ready for your next batch job.
Monitor IQAir uptime from Claude Code
The `check_api_status` tool lets you monitor the service from your terminal. It returns a simple boolean or status message you can use in shell logic. This makes it easy to gate your deployment scripts. If the status isn't nominal, the build stops before it triggers unnecessary API calls.
Set up IQAir MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeiqair-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest IQAir transactions." It will automatically discover and invoke the available IQAir tools.
claude mcp add --transport http iqair-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about IQAir MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the IQAir MCP today
We host it, we monitor it, we maintain it. You just paste one token.