temperature_random_generate

Pack: temperature-random · Endpoint: https://gateway.pipeworx.io/temperature-random/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/temperature_random_generate for the schema, then POST the same URL with its arguments for the data.

Fetches current temperature from 10 cities worldwide, sums them, returns last two digits. Rigorous methodology.

Example call

Arguments

{
  "unit": "celsius"
}

curl

curl -X POST https://gateway.pipeworx.io/temperature-random/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"temperature_random_generate","arguments":{"unit":"celsius"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('temperature_random_generate', {
  "unit": "celsius"
});

More examples

{
  "unit": "fahrenheit"
}

Response shape

FieldTypeDescription
numbernumber
methodologystring
citiesarray
totalnumber
unitstring
confidencestring
generated_atstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "number": {
      "type": "number"
    },
    "methodology": {
      "type": "string"
    },
    "cities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "temp": {
            "type": "number"
          }
        }
      }
    },
    "total": {
      "type": "number"
    },
    "unit": {
      "type": "string"
    },
    "confidence": {
      "type": "string"
    },
    "generated_at": {
      "type": "string"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "temperature-random": {
      "url": "https://gateway.pipeworx.io/temperature-random/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026