Bring Air Quality
to Vercel AI SDK
Create your Vinkius account to connect OpenAQ to Vercel AI SDK and start using all 9 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the OpenAQ MCP Server?
Connect OpenAQ, the world's largest open air quality database, to any AI agent and monitor real-time pollution levels, track air quality trends, and access data from thousands of monitoring stations globally through natural language.
What you can do
- Live Monitoring — Get the latest PM2.5, O3, NO2, SO2, and CO readings from any location worldwide
- Historical Analysis — Query time-series measurement data with date range filters for trend analysis
- Location Discovery — Browse monitoring stations by country, city, or geographic area
- Sensor Tracking — View active sensor devices and their measurement parameters
- Parameter Reference — Look up all measurable air quality parameters with units and classifications
- Global Coverage — Access data from 100+ countries with thousands of active monitoring locations
How it works
- Subscribe to this server
- Enter your free OpenAQ API Key
- Start monitoring air quality from Claude, Cursor, or any MCP-compatible client
Built-in capabilities (9)
Includes location counts and city counts per country. List countries with monitoring stations
Useful for getting current air quality status without querying full history. Get latest measurements per location
Get details for a specific location
Filter by country, city, parameter, or geographic bounding box. Returns location details including coordinates, sensor counts, and whether the station is an official monitor. List air quality monitoring locations
Filter by location, parameter, date range, and value range. Returns readings with timestamps. Get historical air quality measurements
Get details for a specific parameter
5, PM10, O3 (ozone), NO2, SO2, CO, etc. Includes units and whether each is a core parameter. List measurable air quality parameters
Get details for a specific sensor
Filter by location, parameter type, or active status. List air quality sensors
Why Vercel AI SDK?
The Vercel AI SDK gives every OpenAQ tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 9 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same OpenAQ integration everywhere
- —
Built-in streaming UI primitives let you display OpenAQ tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
OpenAQ in Vercel AI SDK
Why run OpenAQ with Vinkius?
The OpenAQ connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 9 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect OpenAQ using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
OpenAQ and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect OpenAQ to Vercel AI SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
OpenAQ for Vercel AI SDK
Every request between Vercel AI SDK and OpenAQ is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get an OpenAQ API Key?
Visit OpenAQ Platform, create a free account, and generate your API key from the dashboard. Free tier includes 1,000 requests/hour.
What air quality parameters can I monitor?
PM2.5, PM10, O3 (ozone), NO2, SO2, CO, BC (black carbon), and more. Use get_parameters to see the full list with units and classifications.
Can I get historical air quality data?
Yes! Use get_measurements with date_from and date_to parameters in ISO 8601 format to retrieve time-series data for any location and parameter.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
HelpCrunch
12 toolsEngage customers with live chat, email automation, and a knowledge base that reduces support workload and boosts satisfaction.

SonarCloud
9 toolsMerge your SaaS DevOps workflow with SonarCloud to review AI code and prevent production vulnerabilities.

GrabFood Partner
12 toolsAutomate GrabFood restaurant operations — manage orders, update menus, control store status, and run marketing campaigns directly from any AI agent.

GrowingIO
10 toolsLeading product analytics platform in China — manage events, segments, and metrics via AI.
