How to Use the AQICN MCP in Cursor
Inject live air quality data from AQICN into your code with Cursor's AI agent.
Works with every AI agent you already use
…and any MCP-compatible client
Connect AQICN MCP to Cursor
Create your Vinkius account to connect AQICN to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Code with Real-Time AQI Data
The `get_city_feed` and `get_ip_feed` tools let your agent fetch current air quality and inject it directly into your editor. Ask the agent to write a function that uses the AQI in Chicago, and it will call the tool and generate code that works with the real response. Stop writing code against stale, hardcoded mock data. Your agent gets the live API response structure, so the functions and types it generates are correct from the start. It saves a ton of debugging time.
Generate Location-Based Logic
Use the `get_map_bounds` tool to find all monitoring stations within a geographic area. You can tell your agent to find all sensors in a given rectangle and then write a function to process that list. It's ideal for building location-aware features. Cursor's agent calls the tool, gets the station list, and scaffolds the code for you. This is perfect if you're building a map interface or any feature that depends on sensor density in a particular region.
Build Apps with this MCP Server
Chain the `search_stations` and `get_station_feed` tools to build complex logic right in your editor. Have your agent find a specific station by name, grab its unique ID, and then pull its detailed data feed. It’s a two-step process that the agent handles for you. This lets you write and test code that responds to specific sensor conditions. For instance: “Find the ‘Main St’ station, get its data, and write a Python script to alert me if PM2.5 is over 50.” This MCP server makes that happen in seconds.
Set up AQICN MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the AQICN MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent AQICN transactions." If the MCP tools are loaded correctly, Cursor will call the AQICN tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"aqicn-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by AQICN. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
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 Cursor
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.