How to Use the AQICN MCP in Claude Code
Run terminal-based air quality pipelines, pipe AQI data into shell scripts, and automate environmental monitoring via this dedicated AQICN MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect AQICN MCP to Claude Code
Create your Vinkius account to connect AQICN 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.
Build CLI-driven pollution alerts with Claude Code
Claude Code integrates this MCP Server directly into your terminal workflow. You can pipe the output of `get_city_feed` directly into shell scripts to trigger system alerts or log local pollution spikes to your server console. Because Claude Code runs headless, you can script complex cron jobs that check regional air quality daily. It uses the raw JSON payloads to trigger local notifications without needing a heavy web browser or graphical interface.
Query global station coordinates from the command line
Use `get_map_bounds` to inspect global sensor grids directly from your terminal prompt. Claude Code queries the bounding boxes you define, instantly returning active sensor IDs and current wind or PM2.5 readings. This makes manual API testing obsolete. You get immediate shell feedback, allowing you to quickly check sensor health or verify regional coverage maps during server deployments.
Audit sensor networks with fast command-line lookups
When a specific sensor goes offline, Claude Code calls `get_station_feed` using the station's UID to diagnose the failure. It checks the live pollutant values and weather conditions to determine if the node is reporting empty fields. You can also use `search_stations` to quickly find backup sensors in the same zip code. Claude Code compares the active feeds in your terminal, letting you swap out dead sensor IDs in your production config files instantly.
Set up AQICN 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 seeaqicn-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest AQICN transactions." It will automatically discover and invoke the available AQICN tools.
claude mcp add --transport http aqicn-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 AQICN MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the AQICN MCP today
We host it, we monitor it, we maintain it. You just paste one token.