opensensemap_area_average
Pack: opensensemap · Endpoint: https://gateway.pipeworx.io/opensensemap/mcp
Average one phenomenon across all citizen science sensors (openSenseMap / senseBox network) in an area — hyperlocal neighborhood-level temperature, PM2.5/PM10 air quality, humidity, pressure or noise from many independent community stations. Give either a bounding box or a center point + radius_km. Aggregates the latest reading per sensor over the recent window client-side (the network has no fast server-side aggregation).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
phenomenon | string | yes | Exact phenomenon / sensor title, e.g. “PM2.5”, “PM10”, “Temperatur”, “rel. Luftfeuchte”, “Luftdruck”, “Lautstärke” |
latitude | number | no | Center latitude (use with longitude + radius_km, instead of bbox) |
longitude | number | no | Center longitude |
radius_km | number | no | Radius in km around the center, 0.1-25 (default 5) |
bbox | string | no | Bounding box as “west,south,east,north” in degrees, e.g. “13.3,52.45,13.5,52.55” (overrides center+radius) |
window_hours | number | no | How far back to look for each sensor’s latest reading, 1-24 hours (default 2) |
Example call
Arguments
{
"phenomenon": "PM2.5",
"latitude": 52.52,
"longitude": 13.405,
"radius_km": 5
}
curl
curl -X POST https://gateway.pipeworx.io/opensensemap/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"opensensemap_area_average","arguments":{"phenomenon":"PM2.5","latitude":52.52,"longitude":13.405,"radius_km":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('opensensemap_area_average', {
"phenomenon": "PM2.5",
"latitude": 52.52,
"longitude": 13.405,
"radius_km": 5
});
More examples
{
"phenomenon": "Temperatur",
"bbox": "13.3,52.45,13.5,52.55",
"window_hours": 2
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"opensensemap": {
"url": "https://gateway.pipeworx.io/opensensemap/mcp"
}
}
}
See Getting Started for client-specific install steps.