Read-only search of the Quran, hadith and classical books of the four Sunni schools, with citations.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Read a passage by its ref: the Arabic text, its stored translation when there is one, its citation, the edition's attribution and neighbouring passages.
A passage ref from search.
Neighbouring passages of the same edition to add on each side.
Language of titles and of the translation attached.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http library https://bayanlibrary.com/mcp
Read a passage by its ref: the Arabic text, its stored translation when there is one, its citation, the edition's attribution and neighbouring passages.
| Argument | Type | Description |
|---|---|---|
| ref* | string | A passage ref from search. |
| context | integer | Neighbouring passages of the same edition to add on each side. |
| language | string | Language of titles and of the translation attached. |
{
"type": "object",
"title": "get_passageArguments",
"required": [
"ref"
],
"properties": {
"ref": {
"type": "string",
"title": "Ref",
"maxLength": 22,
"minLength": 22,
"description": "A passage ref from search."
},
"context": {
"type": "integer",
"title": "Context",
"default": 0,
"maximum": 3,
"minimum": 0,
"description": "Neighbouring passages of the same edition to add on each side."
},
"language": {
"enum": [
"ar",
"en",
"fr"
],
"type": "string",
"title": "Language",
"default": "en",
"description": "Language of titles and of the translation attached."
}
}
}Read one verse of the Quran or a run of verses: the Arabic text, the translation with its credit, and refs to the tafsir passages linked to them.
| Argument | Type | Description |
|---|---|---|
| aya* | integer | |
| sura* | integer | |
| end_aya | any | Last verse of a range of at most 10 verses. |
| language | string | Language of titles and of the translation attached. |
{
"type": "object",
"title": "get_verseArguments",
"required": [
"sura",
"aya"
],
"properties": {
"aya": {
"type": "integer",
"title": "Aya",
"maximum": 286,
"minimum": 1
},
"sura": {
"type": "integer",
"title": "Sura",
"maximum": 114,
"minimum": 1
},
"end_aya": {
"anyOf": [
{
"type": "integer",
"maximum": 286,
"minimum": 1
},
{
"type": "null"
}
],
"title": "End Aya",
"default": null,
"description": "Last verse of a range of at most 10 verses."
},
"language": {
"enum": [
"ar",
"en",
"fr"
],
"type": "string",
"title": "Language",
"default": "en",
"description": "Language of titles and of the translation attached."
}
}
}Find works of the library by title, author or slug; a slug restricts a search to its work.
| Argument | Type | Description |
|---|---|---|
| query* | string | A title, an author or a slug, in Arabic or Latin letters. |
| language | string | Language of titles and of the translation attached. |
{
"type": "object",
"title": "lookup_workArguments",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"title": "Query",
"maxLength": 200,
"minLength": 1,
"description": "A title, an author or a slug, in Arabic or Latin letters."
},
"language": {
"enum": [
"ar",
"en",
"fr"
],
"type": "string",
"title": "Language",
"default": "en",
"description": "Language of titles and of the translation attached."
}
}
}Find passages, hadith and works of Bayān's library. Each passage or hadith comes with its ref, its citation and its public url.
| Argument | Type | Description |
|---|---|---|
| kinds | array | What to find: passages, hadith, works. |
| limit | integer | Hits to return. |
| query* | string | Words to find, in Arabic, English or French. |
| works | any | Restrict passages and hadith to these works (slugs from lookup_work). |
| language | string | Language of titles and of the translation attached. |
{
"type": "object",
"$defs": {
"OpenKind": {
"enum": [
"passage",
"hadith",
"work"
],
"type": "string",
"title": "OpenKind",
"description": "What a search finds in the open library."
}
},
"title": "searchArguments",
"required": [
"query"
],
"properties": {
"kinds": {
"type": "array",
"items": {
"$ref": "#/$defs/OpenKind"
},
"title": "Kinds",
"default": [
"passage",
"hadith",
"work"
],
"maxItems": 3,
"minItems": 1,
"description": "What to find: passages, hadith, works."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 8,
"maximum": 10,
"minimum": 1,
"description": "Hits to return."
},
"query": {
"type": "string",
"title": "Query",
"maxLength": 200,
"minLength": 2,
"description": "Words to find, in Arabic, English or French."
},
"works": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 20
},
{
"type": "null"
}
],
"title": "Works",
"default": null,
"description": "Restrict passages and hadith to these works (slugs from lookup_work)."
},
"language": {
"enum": [
"ar",
"en",
"fr"
],
"type": "string",
"title": "Language",
"default": "en",
"description": "Language of titles and of the translation attached."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.