prayer_times

Pack: prayer-times · 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/prayer_times for the schema, then POST the same URL with its arguments for the data.

Islamic prayer times (salah times: Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha, plus Imsak and Midnight) for a location today. Provide either city+country or latitude+longitude. Returns timings, Gregorian and Hijri (Islamic calendar) dates, timezone, and the calculation method used.

Parameters

NameTypeRequiredDescription
citystringnoCity name, e.g. “London”. Requires country.
countrystringnoCountry name or code, e.g. “UK”. Requires city.
latitudenumbernoLatitude in decimal degrees. Use with longitude as an alternative to city+country.
longitudenumbernoLongitude in decimal degrees. Use with latitude.
methodnumbernoPrayer-time calculation method. Default 2 = ISNA (Islamic Society of North America); 3 = MWL (Muslim World League); 4 = Umm al-Qura (Makkah); and others.

Example call

Arguments

{
  "city": "London",
  "country": "UK"
}

curl

curl -X POST https://gateway.pipeworx.io/prayer-times/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"prayer_times","arguments":{"city":"London","country":"UK"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('prayer_times', {
  "city": "London",
  "country": "UK"
});

More examples

{
  "latitude": 51.5074,
  "longitude": -0.1278,
  "method": 3
}

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 prayer-times pack
{
  "mcpServers": {
    "prayer-times": {
      "url": "https://gateway.pipeworx.io/prayer-times/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026