qibla
Pack: prayer-times · Endpoint: https://gateway.pipeworx.io/prayer-times/mcp
Qibla direction (compass bearing toward the Kaaba in Mecca) for a given latitude/longitude, in degrees from true north.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | Latitude in decimal degrees. |
longitude | number | yes | Longitude in decimal degrees. |
Example call
Arguments
{
"latitude": 51.5074,
"longitude": -0.1278
}
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":"qibla","arguments":{"latitude":51.5074,"longitude":-0.1278}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('qibla', {
"latitude": 51.5074,
"longitude": -0.1278
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"prayer-times": {
"url": "https://gateway.pipeworx.io/prayer-times/mcp"
}
}
}
See Getting Started for client-specific install steps.