HadithDB logo

HadithDB

Read-only MCP access to Quran, tafsir, hadith, commentary, navigation, research, and Quran audio data.

Install HadithDB

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://hadithunlocked.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

HadithDB MCP server exposes read-only Quran, tafsir, hadith, commentary, research, navigation, and audio tools over Streamable HTTP. It connects MCP clients to the Hadith Unlocked data service at `/mcp` and returns Arabic and English fields when available, with source metadata and bounded response profiles. Use it for source-aware Islamic research, exact record lookup, Quran browsing, or audio playback data. The server is stateless and does not create MCP sessions.

Use cases

  • Search Quran ayahs and translations
  • Research an ayah with selected tafsir sources
  • Retrieve hadith details and commentary
  • Navigate Mushaf pages and Quran passages
  • Generate playback data for Quran passages

Key features

  • Read-only Streamable HTTP MCP transport
  • Quran, tafsir, hadith, and commentary search
  • Source-aware Islamic research tools
  • Mushaf page and passage navigation
  • Quran audio URLs with timing segments
  • Arabic and English source fields

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

10/10 checks healthy over the last 53d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How HadithDB works

What HadithDB MCP server does

The HadithDB MCP server gives MCP clients read-only access to Quran and hadith content from Hadith Unlocked. Records can include Arabic text, English translations, chapter information, grading, narrator chains, report text, tafsir, and hadith commentary. Arabic and English values remain separate, and unavailable language fields are returned as null rather than generated.

The server supports both focused retrieval and broader research workflows. Quran tools cover ayah search, tafsir lookup, page and passage navigation, Mushaf layout information, and editorial headings. Hadith tools search reports, retrieve complete details, inspect commentary, and expose verified related references. Quran audio tools return playback and timing data rather than playing audio themselves.

How it works

The HadithDB MCP server uses a read-only, stateless Streamable HTTP endpoint at POST /mcp. It accepts JSON-RPC requests for initialization, health checks, tool discovery, tool calls, skills, and resource reads. Clients should not expect an Mcp-Session-Id header because the service does not create sessions.

Research tools assemble evidence from multiple source types. research_islamic_topic accepts a question, short Arabic or English queries, optional hadith references, and a depth setting. research_quran_ayah starts with a surah and ayah, then can be called again with grounded concepts based on the returned texts. Results distinguish direct tafsir, exact reports, source-linked reports, and conceptual candidates. Coverage states identify material that was found, searched without a match, not searched, or unavailable.

Tools and capabilities

Available capabilities include:

  • Search Quran translations and canonical ayahs with pagination.
  • Find tafsir works and retrieve commentary with selectable response profiles.
  • Search hadith and retrieve detailed records, attribution, grading, isnad, matn, and related references.
  • List, search, and look up hadith commentaries by source, reference, or entry ID.
  • Research Quran ayahs and Islamic topics using bounded, source-aware dossiers.
  • Inspect Quran pages, sections, subsections, passages, headings, ranges, and word boundaries.
  • List Quran reciters and obtain surah or passage audio URLs with ayah timing segments.

Long responses support compact, default, and full profiles where applicable. Research dossiers include identifiers, omissions, excerpts, and truncation indicators so clients can request consequential material separately.

Setup and configuration

Connect an MCP client to https://hadithunlocked.com/mcp using Streamable HTTP. The public schema is available at https://hadithunlocked.com/mcp-server/schema.json; it describes the running server, protocol versions, tools, and input/output schemas without requiring authentication or MCP initialization.

Deployments can set HADITHDB_MCP_HADITH_BASE_URL and HADITHDB_MCP_QURAN_BASE_URL to change backing services. MCP_ALLOWED_ORIGINS adds browser origins, while MCP_RATE_LIMIT_WINDOW_MS and MCP_RATE_LIMIT_PER_IP adjust rate limits. These settings are optional overrides, not prerequisites for the public endpoint.

Limitations and notes

Search requests enforce a ten-second deadline, scan no more than six underlying pages per call, and reject logical offsets above 500. Research has a 25-second total deadline and depth-dependent source and call limits. Dossiers are bounded rather than exhaustive surveys and are not generated rulings.

Audio calls return URLs and millisecond boundaries; the client must play, seek, and stop the media. Incomplete timing coverage produces an error, and media-fragment support depends on the player. Request limits include a 64 KiB body cap and per-IP rate limiting. When source text is truncated or omitted, inspect the returned flags and identifiers before relying on it.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about HadithDB

HadithDB is an MCP server that connects clients to Hadith Unlocked’s Quran and hadith data through a read-only Streamable HTTP endpoint. Its main tools search and retrieve Quran, tafsir, hadith, and commentary; research Islamic topics and ayahs; navigate Quran pages and passages; and return Quran audio playback data.

Connect an MCP client to `https://hadithunlocked.com/mcp` over Streamable HTTP. The public schema at `/mcp-server/schema.json` documents the available tools and does not require authentication or MCP initialization.

Yes, HadithDB supports Quran tafsir research through `research_quran_ayah`, `research_islamic_topic`, tafsir search, and tafsir lookup tools. Ayah research can select source sets by depth or use an explicit `tafsirs` selection.

Yes, HadithDB returns Quran audio URLs, playback fragments, passage boundaries, and ordered ayah timing segments. The MCP client must play the URL and handle seeking and stopping.

HadithDB can retrieve commentary through its commentary listing, search, and lookup tools, with `full` response profiles available where supported. Responses may still be bounded or truncated, so clients should inspect truncation flags and retrieve omitted sources when needed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHadithDB AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hadithdb?style=directory)](https://allmcps.com/mcp/hadithdb)
HTML Embed
<a href="https://allmcps.com/mcp/hadithdb"><img src="https://allmcps.com/api/badge/hadithdb?style=directory" alt="HadithDB on AllMCPs" /></a>