get_measurements
ActiveTool of Openaq
declared in 0.1.0
Get a historical time series (hourly or daily aggregates) for a single OpenAQ sensor (sensor id from find_stations), newest first. Use for pollutant trends over time at one station/parameter.
Parameters schema
{
"type": "object",
"examples": [
{
"limit": 20,
"parameter": "pm25",
"location_id": 2178
},
{
"limit": 50,
"location_id": 5847
}
],
"required": [
"sensor_id"
],
"properties": {
"limit": {
"type": "number",
"description": "Number of data points (1-1000, default 24)."
},
"period": {
"type": "string",
"description": "Aggregation: \"hours\" (default) or \"days\"."
},
"_apiKey": {
"type": "string",
"description": "OpenAQ API key (optional; the gateway supplies one)."
},
"sensor_id": {
"type": "number",
"description": "OpenAQ sensor id (a station+parameter pair, from find_stations)."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Openaq
https://github.com/pipeworx-io/mcp-openaq
1/7 registries