qibla
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/qibla for the schema, then POST the same URL with its arguments for the data.
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 — 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.