recent_observations
Pack: fmi · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/recent_observations for the schema, then POST the same URL with its arguments for the data.
Returns time-series weather observations for a named place in Finland over the last 1–48 hours (default 6 h), with one row per parameter per timestamp including lat/lon, parameter name, and value.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
place | string | yes | |
parameters | string | no | |
hours | number | no | 1-48 (default 6) |
Example call
Arguments
{
"place": "Helsinki"
}
curl
curl -X POST https://gateway.pipeworx.io/fmi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recent_observations","arguments":{"place":"Helsinki"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('recent_observations', {
"place": "Helsinki"
});
More examples
{
"place": "Oulu",
"parameters": "temperature,humidity",
"hours": 12
}
Response shape
Always returns: observations
| Field | Type | Description |
|---|---|---|
observations | array | Array of observation points from recent hours |
Full JSON Schema
{
"type": "object",
"properties": {
"observations": {
"type": "array",
"description": "Array of observation points from recent hours",
"items": {
"type": "object",
"properties": {
"lat": {
"type": "number",
"description": "Latitude coordinate"
},
"lon": {
"type": "number",
"description": "Longitude coordinate"
},
"time": {
"type": "string",
"description": "ISO 8601 timestamp"
},
"parameter": {
"type": "string",
"description": "Weather parameter name"
},
"value": {
"type": "string",
"description": "Parameter value"
}
},
"required": [
"lat",
"lon",
"time",
"parameter",
"value"
]
}
}
},
"required": [
"observations"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the fmi pack
{
"mcpServers": {
"fmi": {
"url": "https://gateway.pipeworx.io/fmi/mcp"
}
}
}
See Getting Started for client-specific install steps.