get_surah
Pack: quran · Endpoint: https://gateway.pipeworx.io/quran/mcp
Get the full text of a surah (chapter) of the Quran by its number (1-114). Returns every ayah (verse) in the chosen edition. Use an English translation edition (e.g. en.asad, en.sahih) for English, or quran-uthmani for the Arabic text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
number | number | yes | Surah number, 1-114. |
edition | string | no | Edition identifier. Default ‘en.asad’ (English translation). Other examples: ‘en.sahih’ (English), ‘quran-uthmani’ (Arabic). |
Example call
Arguments
{
"number": 1
}
curl
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_surah","arguments":{"number":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_surah', {
"number": 1
});
More examples
{
"number": 2,
"edition": "quran-uthmani"
}
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.