Bayān Library MCP
A read-only MCP server providing access to the Bayān library's collection of the Quran, hadith collections, and classical Islamic texts in Arabic with English and French translations. It allows agents to search for passages, retrieve specific verses or passages with context, and look up works in the catalogue, all with built-in citation support.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://bayanlibrary.com/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (4)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to bayanlibrary.com ·
- Passed Endpoint is on the registry namespace domain ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Search for specific Quranic verses or hadiths by query
- Retrieve full text of a passage with surrounding context
- Look up classical Islamic works by title or author
- Get translations and tafsir references for Quranic verses
Source and maintenance
Protocol and capabilities
- Server
- bayan-library 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 4 advertised
- Resources
- 4 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
search — Search the library
Find passages, hadith and works of Bayān's library. Each passage or hadith comes with its ref, its citation and its public url.
{
"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."
}
}
}{
"type": "object",
"$defs": {
"OpenKind": {
"enum": [
"passage",
"hadith",
"work"
],
"type": "string",
"title": "OpenKind",
"description": "What a search finds in the open library."
},
"WorkView": {
"type": "object",
"title": "WorkView",
"required": [
"slug",
"title",
"title_ar",
"author",
"era"
],
"properties": {
"era": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Era"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Kind",
"default": null,
"description": "The discipline the library shelves the work under."
},
"slug": {
"type": "string",
"title": "Slug"
},
"title": {
"type": "string",
"title": "Title",
"description": "The work's title in the requested language (Arabic for ar)."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author"
},
"title_ar": {
"type": "string",
"title": "Title Ar"
}
},
"additionalProperties": false
},
"CitationView": {
"type": "object",
"title": "CitationView",
"required": [
"work",
"work_ar",
"author",
"volume",
"page_start",
"page_end",
"number",
"edition",
"reference"
],
"properties": {
"work": {
"type": "string",
"title": "Work",
"description": "The work's title in the requested language (Arabic for ar)."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author"
},
"number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Number",
"description": "The hadith or entry number the corpus states, when it states one."
},
"volume": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Volume"
},
"edition": {
"type": "string",
"title": "Edition",
"description": "The edition the passage is read in."
},
"work_ar": {
"type": "string",
"title": "Work Ar",
"description": "The work's title as printed, in Arabic."
},
"page_end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page End"
},
"reference": {
"type": "string",
"title": "Reference",
"description": "The whole reference, worded in the requested language."
},
"page_start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page Start"
}
},
"description": "Where a passage sits, as it is cited.",
"additionalProperties": false
},
"SearchHitView": {
"type": "object",
"title": "SearchHitView",
"required": [
"kind",
"ref",
"title",
"snippet",
"citation",
"url",
"work"
],
"properties": {
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ref",
"description": "The public passage ref, for a passage or a hadith."
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"description": "The public page of the passage or hadith."
},
"kind": {
"$ref": "#/$defs/OpenKind"
},
"work": {
"anyOf": [
{
"$ref": "#/$defs/WorkView"
},
{
"type": "null"
}
],
"description": "The work, for a work hit."
},
"title": {
"type": "string",
"title": "Title"
},
"snippet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Snippet"
},
"citation": {
"anyOf": [
{
"$ref": "#/$defs/CitationView"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"title": "SearchView",
"required": [
"query",
"semantic",
"hits"
],
"properties": {
"hits": {
"type": "array",
"items": {
"$ref": "#/$defs/SearchHitView"
},
"title": "Hits"
},
"query": {
"type": "string",
"title": "Query"
},
"semantic": {
"type": "boolean",
"title": "Semantic",
"description": "Whether the semantic stage took part; false means words only."
}
},
"additionalProperties": false
}{
"title": "Search the library",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_passage — Read a passage
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.
{
"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."
}
}
}{
"type": "object",
"$defs": {
"WorkView": {
"type": "object",
"title": "WorkView",
"required": [
"slug",
"title",
"title_ar",
"author",
"era"
],
"properties": {
"era": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Era"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Kind",
"default": null,
"description": "The discipline the library shelves the work under."
},
"slug": {
"type": "string",
"title": "Slug"
},
"title": {
"type": "string",
"title": "Title",
"description": "The work's title in the requested language (Arabic for ar)."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author"
},
"title_ar": {
"type": "string",
"title": "Title Ar"
}
},
"additionalProperties": false
},
"CitationView": {
"type": "object",
"title": "CitationView",
"required": [
"work",
"work_ar",
"author",
"volume",
"page_start",
"page_end",
"number",
"edition",
"reference"
],
"properties": {
"work": {
"type": "string",
"title": "Work",
"description": "The work's title in the requested language (Arabic for ar)."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author"
},
"number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Number",
"description": "The hadith or entry number the corpus states, when it states one."
},
"volume": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Volume"
},
"edition": {
"type": "string",
"title": "Edition",
"description": "The edition the passage is read in."
},
"work_ar": {
"type": "string",
"title": "Work Ar",
"description": "The work's title as printed, in Arabic."
},
"page_end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page End"
},
"reference": {
"type": "string",
"title": "Reference",
"description": "The whole reference, worded in the requested language."
},
"page_start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page Start"
}
},
"description": "Where a passage sits, as it is cited.",
"additionalProperties": false
},
"NeighbourView": {
"type": "object",
"title": "NeighbourView",
"required": [
"ref",
"text",
"citation"
],
"properties": {
"ref": {
"type": "string",
"title": "Ref"
},
"text": {
"type": "string",
"title": "Text"
},
"citation": {
"$ref": "#/$defs/CitationView"
}
},
"additionalProperties": false
},
"AttributionView": {
"type": "object",
"title": "AttributionView",
"required": [
"edition",
"details",
"source_url"
],
"properties": {
"details": {
"$ref": "#/$defs/EditionAttributionSchema",
"description": "What the library records of the printed edition and of its digital source (``digital_source``)."
},
"edition": {
"type": "string",
"title": "Edition"
},
"source_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Url",
"description": "The full edition online, for a public-domain edition only."
}
},
"description": "The edition a passage is read in, as the reader credits it (D-029, D-034).",
"additionalProperties": false
},
"TranslationView": {
"type": "object",
"title": "TranslationView",
"required": [
"text",
"language",
"translator",
"machine_translated",
"translation_verified"
],
"properties": {
"text": {
"type": "string",
"title": "Text"
},
"language": {
"enum": [
"ar",
"en",
"fr"
],
"type": "string",
"title": "Language"
},
"translator": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Translator",
"description": "Who the published translation is by."
},
"machine_translated": {
"type": "boolean",
"title": "Machine Translated",
"description": "The translation is the library's machine rendering, not a published one."
},
"translation_verified": {
"type": "boolean",
"title": "Translation Verified",
"description": "A machine rendering checked against its Arabic by a second reading; always true for a published one."
}
},
"additionalProperties": false
},
"EditionAttributionSchema": {
"type": "object",
"title": "EditionAttributionSchema",
"properties": {
"place": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Place",
"default": null
},
"editor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Editor",
"default": null
},
"year_g": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Year G",
"default": null
},
"year_h": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Year H",
"default": null
},
"printing": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Printing",
"default": null
},
"publisher": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Publisher",
"default": null
},
"edition_basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Edition Basis",
"default": null
},
"digital_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Digital Source",
"default": null
},
"numbering_scheme": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Numbering Scheme",
"default": null
},
"pagination_basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Pagination Basis",
"default": null
}
},
"description": "D-034: what the source metadata establishes about the printed\nedition (clients render the localized label from these fields)."
}
},
"title": "PassageView",
"required": [
"ref",
"kind",
"text",
"translation",
"citation",
"work",
"attribution",
"url",
"before",
"after"
],
"properties": {
"ref": {
"type": "string",
"title": "Ref"
},
"url": {
"type": "string",
"title": "Url"
},
"kind": {
"enum": [
"passage",
"hadith"
],
"type": "string",
"title": "Kind"
},
"text": {
"type": "string",
"title": "Text",
"description": "The Arabic text as the edition prints it."
},
"work": {
"$ref": "#/$defs/WorkView"
},
"after": {
"type": "array",
"items": {
"$ref": "#/$defs/NeighbourView"
},
"title": "After"
},
"before": {
"type": "array",
"items": {
"$ref": "#/$defs/NeighbourView"
},
"title": "Before"
},
"citation": {
"$ref": "#/$defs/CitationView"
},
"attribution": {
"$ref": "#/$defs/AttributionView"
},
"translation": {
"anyOf": [
{
"$ref": "#/$defs/TranslationView"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"title": "Read a passage",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_verse — Read Quran verses
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.
{
"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."
}
}
}{
"type": "object",
"$defs": {
"CitationView": {
"type": "object",
"title": "CitationView",
"required": [
"work",
"work_ar",
"author",
"volume",
"page_start",
"page_end",
"number",
"edition",
"reference"
],
"properties": {
"work": {
"type": "string",
"title": "Work",
"description": "The work's title in the requested language (Arabic for ar)."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author"
},
"number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Number",
"description": "The hadith or entry number the corpus states, when it states one."
},
"volume": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Volume"
},
"edition": {
"type": "string",
"title": "Edition",
"description": "The edition the passage is read in."
},
"work_ar": {
"type": "string",
"title": "Work Ar",
"description": "The work's title as printed, in Arabic."
},
"page_end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page End"
},
"reference": {
"type": "string",
"title": "Reference",
"description": "The whole reference, worded in the requested language."
},
"page_start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page Start"
}
},
"description": "Where a passage sits, as it is cited.",
"additionalProperties": false
},
"OpenVerseView": {
"type": "object",
"title": "OpenVerseView",
"required": [
"sura",
"aya",
"text",
"translation"
],
"properties": {
"aya": {
"type": "integer",
"title": "Aya"
},
"sura": {
"type": "integer",
"title": "Sura"
},
"text": {
"type": "string",
"title": "Text"
},
"translation": {
"anyOf": [
{
"$ref": "#/$defs/VerseTranslationView"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"TafsirRefView": {
"type": "object",
"title": "TafsirRefView",
"required": [
"ref",
"url",
"citation",
"first_aya",
"last_aya"
],
"properties": {
"ref": {
"type": "string",
"title": "Ref"
},
"url": {
"type": "string",
"title": "Url"
},
"citation": {
"$ref": "#/$defs/CitationView"
},
"last_aya": {
"type": "integer",
"title": "Last Aya"
},
"first_aya": {
"type": "integer",
"title": "First Aya"
}
},
"additionalProperties": false
},
"VerseTranslationView": {
"type": "object",
"title": "VerseTranslationView",
"required": [
"text",
"translator"
],
"properties": {
"text": {
"type": "string",
"title": "Text"
},
"translator": {
"type": "string",
"title": "Translator"
}
},
"additionalProperties": false
}
},
"title": "VersesView",
"required": [
"sura",
"aya",
"end_aya",
"verses",
"translation_credit",
"text_source",
"tafsirs",
"url"
],
"properties": {
"aya": {
"type": "integer",
"title": "Aya"
},
"url": {
"type": "string",
"title": "Url"
},
"sura": {
"type": "integer",
"title": "Sura"
},
"verses": {
"type": "array",
"items": {
"$ref": "#/$defs/OpenVerseView"
},
"title": "Verses"
},
"end_aya": {
"type": "integer",
"title": "End Aya"
},
"tafsirs": {
"type": "array",
"items": {
"$ref": "#/$defs/TafsirRefView"
},
"title": "Tafsirs"
},
"text_source": {
"type": "string",
"title": "Text Source",
"description": "The source of the Arabic text."
},
"translation_credit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Translation Credit",
"description": "Who the translation is by, as the Quran space credits it."
}
},
"additionalProperties": false
}{
"title": "Read Quran verses",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}lookup_work — Find a work
Find works of the library by title, author or slug; a slug restricts a search to its work.
{
"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."
}
}
}{
"type": "object",
"$defs": {
"WorkView": {
"type": "object",
"title": "WorkView",
"required": [
"slug",
"title",
"title_ar",
"author",
"era"
],
"properties": {
"era": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Era"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Kind",
"default": null,
"description": "The discipline the library shelves the work under."
},
"slug": {
"type": "string",
"title": "Slug"
},
"title": {
"type": "string",
"title": "Title",
"description": "The work's title in the requested language (Arabic for ar)."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author"
},
"title_ar": {
"type": "string",
"title": "Title Ar"
}
},
"additionalProperties": false
}
},
"title": "WorksView",
"required": [
"query",
"works"
],
"properties": {
"query": {
"type": "string",
"title": "Query"
},
"works": {
"type": "array",
"items": {
"$ref": "#/$defs/WorkView"
},
"title": "Works"
}
},
"additionalProperties": false
}{
"title": "Find a work",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
0 advertised
Resources
4 advertised
skill://cite-sources/SKILL.md
skill://cite-sources/SKILL.mdskill://compare-schools/SKILL.md
skill://compare-schools/SKILL.mdskill://explain-verse/SKILL.md
skill://explain-verse/SKILL.mdskill://verify-hadith/SKILL.md
skill://verify-hadith/SKILL.md90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-26: 1 of 1 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1691 ms
- 95th percentile latency
- 1691 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1691 ms · metadata changed · 4 tool(s), 4 resource(s), 0 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http baya-n-library-mcp https://bayanlibrary.com/mcpCodex
codex mcp add baya-n-library-mcp --url https://bayanlibrary.com/mcpCursor
{
"mcpServers": {
"baya-n-library-mcp": {
"url": "https://bayanlibrary.com/mcp"
}
}
}Cline
{
"mcpServers": {
"baya-n-library-mcp": {
"type": "streamableHttp",
"url": "https://bayanlibrary.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"baya-n-library-mcp": {
"type": "http",
"url": "https://bayanlibrary.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http baya-n-library-mcp https://bayanlibrary.com/mcpClaude Desktop
https://bayanlibrary.com/mcpWindsurf
{
"mcpServers": {
"baya-n-library-mcp": {
"serverUrl": "https://bayanlibrary.com/mcp"
}
}
}Let your agent find its tools
Find servers like Bayān Library MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run Bayān Library MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.