get_ayah
Pack: quran · Endpoint: https://gateway.pipeworx.io/quran/mcp
Get a single ayah (verse) of the Quran by reference — either surah:ayah (e.g. “2:255” for Ayat al-Kursi) or a global ayah number (1-6236). Returns the verse text in the chosen edition (translation like en.asad / en.sahih, or Arabic via quran-uthmani).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
reference | string | yes | Verse reference: “surah:ayah” like “2:255”, or a global ayah number like “262”. |
edition | string | no | Edition identifier. Default ‘en.asad’. Use ‘quran-uthmani’ for Arabic. |
Example call
curl -X POST https://gateway.pipeworx.io/quran/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_ayah","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"quran": {
"url": "https://gateway.pipeworx.io/quran/mcp"
}
}
}
See Getting Started for client-specific install steps.