Skip to content
bayanlibrary avatar

Bayān library

com.bayanlibrary/library

Read-only access to the Quran, hadith, and classical Sunni books with citations.

CCM score
67 of 100
tools
4
transport
HTTP
last updated
Nov 27, 2026
Open website

Own this MCP server? Claim it

What it does

  • Searches with search across passages, hadith, and works, filterable by author, death year, genre, school, and language
  • Reads text with get_passage and get_verse, returning Arabic, stored translations with credits, and linked tafsir references
  • Connects over remote HTTP at no cost with no account or key; ChatGPT and Claude Code setups are covered in the docs
  • Designed for research, study, and citing sources, though it gives texts and references only, with no rulings or hadith grading

Install

$ npx -y add-mcp https://bayanlibrary.com/mcp --name library -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http library https://bayanlibrary.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 4 tools

Verified live against the running server on Nov 27, 2026.

searchFind passages, hadith and works of Bayān's library. Each passage or hadith comes with its ref, its citation and its public url.5 params

Find passages, hadith and works of Bayān's library. Each passage or hadith comes with its ref, its citation and its public url.

Parameters* required
kindsarray
What to find: passages, hadith, works.
languagestring
Language of titles and of the translation attached.one of ar · en · frdefault: en
limitinteger
Hits to return.default: 8
query*string
Words to find, in Arabic, English or French.
worksvalue
Restrict passages and hadith to these works (slugs from lookup_work).
get_passageRead a passage by its ref: the Arabic text, its stored translation when there is one, its citation, the edition's attribution and neighbouring passages.3 params

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.

Parameters* required
contextinteger
Neighbouring passages of the same edition to add on each side.default: 0
languagestring
Language of titles and of the translation attached.one of ar · en · frdefault: en
ref*string
A passage ref from search.
get_verseRead 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.4 params

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.

Parameters* required
aya*integer
end_ayavalue
Last verse of a range of at most 10 verses.
languagestring
Language of titles and of the translation attached.one of ar · en · frdefault: en
sura*integer
lookup_workFind works of the library by title, author or slug; a slug restricts a search to its work.2 params

Find works of the library by title, author or slug; a slug restricts a search to its work.

Parameters* required
languagestring
Language of titles and of the translation attached.one of ar · en · frdefault: en
query*string
A title, an author or a slug, in Arabic or Latin letters.

Details

Website
bayanlibrary.com/en/developers
Categories
Research & Academic, Docs & Knowledge Bases, Learning & Teaching
Transport
HTTP
Registry
MCP registry, active
Resources
4
Tools verified
Nov 27, 2026

Questions

How do I add the Bayān library MCP server to Claude Code?

Run claude mcp add --transport http library https://bayanlibrary.com/mcp in a terminal to connect it over streamable HTTP. Once connected, the agent can search and read passages from the library.

What can an agent do with the Bayān library server?

It gives read-only access to the Quran, hadith and classical books of the four Sunni schools, with citations. The four tools are search, get_passage, get_verse and lookup_work, and each passage or hadith comes with its ref and public url.

Does the Bayān library server let an agent read Quran verses and tafsir?

Yes, the get_verse tool reads one verse or a run of verses, returning the Arabic text, the translation with its credit and refs to linked tafsir passages. The get_passage tool then reads any of those passages by ref.

Where does the Bayān library server stand among research servers?

It is listed in the Research & Academic category on Claude Marketplaces, which it ranks in the top 100 on. Other servers in that category include NotebookLM, Arxiv Mcp Server, Paper Search, PaperBanana and Zotero.

Similar to Bayān library

More Research & Academic