Vinkius
PurpleAir

PurpleAir MCP. Check air quality across 50K+ global sensor points.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

PurpleAir MCP on Cursor AI Code Editor MCP Client PurpleAir MCP on Claude Desktop App MCP Integration PurpleAir MCP on OpenAI Agents SDK MCP Compatible PurpleAir MCP on Visual Studio Code MCP Extension Client PurpleAir MCP on GitHub Copilot AI Agent MCP Integration PurpleAir MCP on Google Gemini AI MCP Integration PurpleAir MCP on Lovable AI Development MCP Client PurpleAir MCP on Mistral AI Agents MCP Compatible PurpleAir MCP on Amazon AWS Bedrock MCP Support

Just plug in your AI agents and start using Vinkius.

PurpleAir connects your AI agent to one of the world’s largest air quality datasets. It monitors PM2.5, temperature, and humidity from over 50,000 sensors globally.

You can check real-time conditions near an address, track wildfire smoke spikes, or pull historical data for compliance reports—all through natural conversation.

What your AI agents can do

Get indoor sensors

Lists all sensors measuring air quality inside buildings, homes, or enclosed spaces for indoor health checks.

Get outdoor sensors

Retrieves current readings (PM2.5, temp, humidity) from ambient outdoor sensors across a region.

Get pm25 sensors

Finds and returns data only from sensors specifically measuring PM2.5 concentrations for health monitoring.

+ 7 more capabilities included
Get Real-Time Data by Location

You query the current PM2.5, temperature, humidity, and other metrics from a single sensor at a known coordinate.

Track Historical Trends (CSV Export)

The agent retrieves time-series data over custom date ranges and formats it as CSV for immediate spreadsheet analysis.

Map Sensors by Geographic Area

You define a bounding box (two opposing corners) to find every sensor operating within that city section or neighborhood.

Filter by Sensor Type

You narrow the search to only indoor monitors (get_indoor_sensors) or only outdoor ambient stations (get_outdoor_sensors).

Determine Nearby Monitors

The agent pinpoints and returns all active PurpleAir sensors closest to a specific GPS address.

Supported MCP Clients

OAuth 2.0 Compatible
Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
Vinkius runs on Zendesk Zendesk
+ other MCP clients
Included with Plan

Waiting for input…

AI Agent

PurpleAir MCP Server: 10 Tools for Air Quality Data

These tools give your AI client direct access to every mechanism needed to query, map, and analyze air quality data from the global PurpleAir sensor network.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using PurpleAir on Vinkius
get019d8472

get indoor sensors

Lists all sensors measuring air quality inside buildings, homes, or enclosed spaces for indoor health checks.

get019d8472

get outdoor sensors

Retrieves current readings (PM2.5, temp, humidity) from ambient outdoor sensors across a region.

get019d8472

get pm25 sensors

Finds and returns data only from sensors specifically measuring PM2.5 concentrations for health monitoring.

get019d8472

get sensor data

Gets the current air quality metrics (PM2.5, temp, etc.) from a single, specific PurpleAir sensor location.

get019d8472

get sensor history

Pulls time-series data for any requested field (PM2.5, humidity) at regular intervals over a defined time range.

get019d8472

get sensor history csv

Retrieves the same historical air quality measurements as `get_sensor_history`, but outputs them in CSV format.

get019d8472

get sensors by bounding box

Returns all active sensors located within a defined geographic box, useful for city-wide mapping projects.

get019d8472

get sensors by index

Gets fresh readings for specific sensors when you already know their unique index numbers.

get019d8472

get sensors near me

Identifies and lists the nearest PurpleAir monitors to a given GPS coordinate, sorted by proximity.

list019d8472

list sensors

Provides metadata about sensors, allowing you to filter the entire network by type or update time.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with PurpleAir, then connect any of our 4,900+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 4,900+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
PurpleAir MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by PurpleAir. 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.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This server provides 10 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.

Checking air quality used to mean opening multiple government websites and copy-pasting coordinates into spreadsheets.

Before this server, checking an area's pollution meant manually pulling data from different regional sources. You'd find one site for outdoor PM2.5, another for indoor metrics, and a third just for temperature. Then you spent hours trying to align timestamps and merge disparate CSV files.

Now, your agent handles it all. Tell the AI client what area and what time frame you need. It runs `get_sensors_by_bounding_box` across multiple sensor types, pulls the raw data streams, and hands you a unified analysis of PM2.5 trends in one go.

PurpleAir MCP Server: Get immediate air quality reports.

You no longer have to guess which sensor index is the right one or run 10 separate queries just to cover a neighborhood. You tell your agent, 'Show me all outdoor sensors near this address.' The agent uses `get_sensors_near_me` and provides readings from multiple metrics immediately.

What's different now is that you get actionable data instantly—a single call yields the context of an entire area, not just a handful of isolated numbers. That saves hours on field reports alone.

What you can do with this MCP connector

This server connects your AI agent directly to PurpleAir's network—one of the biggest datasets for hyperlocal air quality. You get real-time metrics like PM2.5, temperature, and humidity from over fifty thousand sensors globally. It lets you check what's going on with air quality near any address or coordinate.

Getting Current Air Quality Reads

If you need to know the current status at a specific spot, get_sensor_data pulls the latest metrics (PM2.5, temp, etc.) from one single sensor location. You can narrow that search down even further; use get_pm25_sensors if you only care about PM2.5 concentrations for health monitoring. For indoor checks—like verifying air quality in a home or office—you'll run get_indoor_sensors.

If you need to check ambient outdoor conditions across an area, get_outdoor_sensors grabs the current readings from those regional stations. When you know the exact sensor index number, get_sensors_by_index gives you fresh data without having to locate it first.

Mapping and Locating Sensors

You don't always know where the air quality issue is; sometimes you just need to find a monitor. To pinpoint the closest working PurpleAir sensor to a GPS coordinate, run get_sensors_near_me. This lists all active monitors nearby, sorted by how close they are. If you’re doing city-wide mapping projects and know two opposing corners of an area, use get_sensors_by_bounding_box to find every single sensor operating within that defined geographic box.

For general metadata about the whole network—like filtering all sensors by type or checking their last update time—you'll use list_sensors.

Deep Dive & Historical Analysis

For compliance reports or tracking pollution spikes, you need history. get_sensor_history pulls a time-series log for any field you specify (like PM2.5 or humidity) over a defined date range and regular interval. If your client needs to dump that data straight into Excel or Google Sheets, use get_sensor_history_csv. This function grabs the exact same historical measurements but formats them as CSV text, making it ready for immediate spreadsheet analysis.

You can also get current readings from multiple sensors when you know their unique index numbers using get_sensors_by_index.

When you combine these tools—say, checking a bounding box to find all sensors, then running get_sensor_data on three of them, and finally pulling a 72-hour CSV history for the worst reading—your agent handles the whole process through natural conversation. It's pure data access.

Built · Hosted · Managed by Vinkius PurpleAir MCP Server - Real-Time Air Quality Data Server ID 019d8472-bebb-7360-946f-af56a430785f
Vinkius Inspector
Compliance Grade A+
Score 98.33/100
Vinkius Inspector Badge — Score 98.33/100

Common Questions About PurpleAir MCP

How do I check air quality for a whole city with PurpleAir MCP Server? +

Use the get_sensors_by_bounding_box tool. You provide the northwest and southeast coordinates, and it returns current readings from every sensor within that defined area.

Can I get historical data in CSV format using PurpleAir MCP Server? +

Yes, use get_sensor_history_csv. This tool pulls time-series metrics (PM2.5, temperature) over a specific date range and formats the output directly into CSV for spreadsheet analysis.

Which tool should I use if I only care about PM2.5 levels? +

Use get_pm25_sensors. This tool is specialized; it filters all available sensors and returns data exclusively focused on the critical PM2.5 concentration, simplifying your query.

What if I only want to check air quality inside a building? +

You need get_indoor_sensors. This tool isolates measurements from enclosed spaces, giving you crucial data for HVAC optimization and assessing workplace health risks.

What do I need to know about using `list_sensors` for metadata retrieval? +

The list_sensors tool lets you pull basic sensor information and location details without fetching real-time pollution readings. You must use the fields parameter to specify exactly which data points (like name, latitude, or longitude) you want returned. This keeps your requests clean and efficient.

When using `get_sensor_history`, how do I calculate averages for a specific time range? +

You control the aggregation level with the average parameter, which takes an integer representing seconds. For example, to get hourly averages, you pass 3600; for daily averages, use 86400. Remember to pair this with your start and end Unix timestamps.

What coordinate format does `get_sensors_by_bounding_box` require? +

The tool requires two pairs of coordinates: the Northwest (nwlat, nwlng) corner and the Southeast (selat, selng) corner. You must ensure your latitude/longitude values are correct for both points to successfully define the entire search area.

What core metrics can I expect when using `get_outdoor_sensors`? +

This tool consistently returns current PM2.5, temperature, and humidity readings for every outdoor sensor it finds. It's reliable for immediate air quality checks across a region, making it ideal for tracking daily pollution changes.

How do I find air quality near my address? +

Use the get_sensors_near_me tool with your latitude and longitude. Alternatively, search for sensors by bounding box using get_sensors_by_bounding_box with corner coordinates. The API will return nearby sensors with current PM2.5, temperature, and humidity readings.

Can I get historical air quality data? +

Yes. Use get_sensor_history with a sensor index and time range (Unix timestamps). You can specify which fields to retrieve (PM2.5, temperature, humidity) and set an averaging interval (e.g. 3600 for hourly averages). For spreadsheet analysis, use get_sensor_history_csv to get data in CSV format.

What does PM2.5 mean and why is it important? +

PM2.5 refers to fine particulate matter smaller than 2.5 micrometers — about 30 times smaller than a human hair. These particles can penetrate deep into lungs and enter the bloodstream, causing respiratory and cardiovascular health effects. The WHO guideline is 5 µg/m³ annual average. PurpleAir sensors measure PM2.5 in real-time, making them essential for health advisories and pollution monitoring.

Built & Managed by Vinkius 30s setup 10 tools

We've already built the connector for PurpleAir. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 10 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.