Islamic Sources (@IslamicSources)
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Islamic Sources (@IslamicSources)Find Quran verses about patience."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Islamic Sources (@IslamicSources) — Waqf MCP Federation Gateway
أصولٌ رقمية لأثرٍ باقٍ — An open, edge-native Model Context Protocol (MCP) gateway aggregating authentic Islamic knowledge sources into a single, high-performance interface for AI assistants and developers.
🌐 Live Portal: mcp.waqf.dev | 📖 Agent Docs: llms.txt | 🔒 Security: SECURITY.md | 🤝 Contributing: CONTRIBUTING.md
⚖️ Aggregator & Licensing Notice
Islamic Sources (@IslamicSources) operates strictly as a neutral aggregator and edge federation gateway.
Independence & Ownership: WaqfTech does not own, manage, or operate upstream Islamic MCP servers (e.g.
bahouth.tafsir.net,mcp.tafsir.net,mcp.turath.io,maheralfahel.net), nor are we affiliated with their day-to-day operations.Licensing Scope: The Waqf Digital Public License (Waqf-DPL 1.0) applies strictly to the gateway aggregator code and technical infrastructure, NOT to the underlying Islamic texts or content.
Source Licensing: Each upstream MCP server retains its own independent license, copyright, and terms of use, which must be verified directly at its respective source.
Unaltered Verbatim Transmission: We do not author, add to, edit, or alter responses or texts from the underlying Islamic sources. All Quranic verses, Hadith narrations, Tafsir commentaries, and scholarly search results are relayed verbatim from their original upstream providers.
Provided "As Is": The gateway service is provided strictly on an "as is" and "as available" basis without warranties of any kind. For authoritative scholarly verification, consult the respective source institutions directly.
Related MCP server: Islamic Content MCP Server
🌟 Overview
Instead of forcing users to configure 10+ independent Islamic MCP servers in their AI IDEs (Claude Desktop, Cursor, Antigravity, VS Code), @IslamicSources serves as a federated gateway:
Single Entrypoint: Add
https://mcp.waqf.dev/mcponce to access Quran, Hadith, Tafsir, and Islamic heritage books.Stateless Edge Architecture: Zero Durable Objects; runs on Cloudflare Workers with modern Streamable HTTP.
High-Speed Universal Cache (D1 SQLite): Caches immutable Islamic texts with SHA-256 keys, providing
< 5msrepeat lookups.Collision Defense & Normalization: Namespaces provider tools (
bahouth__get_verse,tafsir_net__fetch_ayah,turath__get_book) and provides unified canonical tools (waqf_quran_get_ayah,waqf_hadith_search,waqf_turath_search_books).Context Window Protection: Supports
?suite=coreto expose only curated canonical tools and prevent prompt token bloat.Multi-lingual Landing Page: Built with Astro 7+, Arabic-first (RTL default), English, Turkish, Indonesian, and Malaysian, using
dev.waqftech.orgdesign tokens with zero embedded strings (lang/{lang}.json).Agent & LLM Discovery: Standardized
llms.txtand comprehensivellms-full.txtexplaining the gateway, tools, and schemas in full detail for autonomous agents.Rich Social Preview: Automated Open Graph and Twitter summary cards for clean sharing across Twitter/X, Telegram, WhatsApp, and developer forums.
🔌 Currently Federated Islamic MCP Servers
Upstream Server | Host | Transport | Focus & Key Tools |
Tafsir.net Specialized Suite |
| SSE ( | Authentic Tafsir sources, Qira'at variants, Nuzool, word morphology ( |
Bahouth Quran & Tafsir |
| JSON-RPC 2.0 | Quranic root analysis, verse words, morphology, and verse topics ( |
Turath Islamic Heritage Library |
| JSON-RPC 2.0 | Search across thousands of classical Islamic books, authors, and page texts ( |
Sheikh Maher Al-Fahel Library |
| SSE ( | Hadith sciences, scholarly critique, and verified publications ( |
Fihris Islamic Web Search |
| JSON-RPC 2.0 | Curated search across 38+ authentic Islamic scholarship portals and fatwas ( |
🚀 Client Configuration (Quickstart)
Add the following configuration block to your AI tool of choice:
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"waqf-islamic-suite": {
"url": "https://mcp.waqf.dev/mcp"
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"waqf-islamic-suite": {
"url": "https://mcp.waqf.dev/mcp"
}
}
}Antigravity / Gemini CLI (mcp_config.json)
{
"mcpServers": {
"waqf-islamic-suite": {
"url": "https://mcp.waqf.dev/mcp"
}
}
}VS Code (Cline / Roo Code / Continue)
{
"mcpServers": {
"waqf-islamic-suite": {
"url": "https://mcp.waqf.dev/mcp"
}
}
}Query Profiles (Context Optimization)
https://mcp.waqf.dev/mcp?suite=core: (Recommended) Exposes only unified canonical tools (waqf_quran_get_ayah,waqf_hadith_search,waqf_turath_search_books). Preserves context window!https://mcp.waqf.dev/mcp?suite=quran: Exposes only Quran and Tafsir tools.https://mcp.waqf.dev/mcp?suite=turath: Exposes only Hadith and classical heritage library tools.https://mcp.waqf.dev/mcp?suite=search: Exposes only contemporary scholarly web search tools (fihris).https://mcp.waqf.dev/mcp: Full federation suite (all canonical + all namespaced tools).
💻 Developer Code Integration & SDKs
🛡️ Cloudflare WAF Bot Protection Notice: Cloudflare's Automated Bot Defense automatically challenges or drops requests bearing default generic scrapers (e.g.
Python-urllib/3.x). When callinghttps://mcp.waqf.dev/mcpprogrammatically, always supply a customUser-Agentheader (e.g.User-Agent: my-app/1.0.0).
1. Python (httpx / requests)
import httpx
headers = {
"User-Agent": "WaqfClient/1.0 (https://waqf.dev)",
"Content-Type": "application/json",
}
# Discover canonical tools (preserves token budget)
tools_resp = httpx.post(
"https://mcp.waqf.dev/mcp?suite=core",
json={"jsonrpc": "2.0", "id": 1, "method": "tools/list"},
headers=headers,
)
print("Available Tools:", [t["name"] for t in tools_resp.json()["result"]["tools"]])
# Call canonical Quran verse lookup (with automatic upstream fallback)
ayah_payload = {
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "waqf_quran_get_ayah",
"arguments": {"surah": 112, "ayah": 1}
}
}
ayah_resp = httpx.post("https://mcp.waqf.dev/mcp", json=ayah_payload, headers=headers)
print("Ayah Result:", ayah_resp.json()["result"]["content"][0]["text"])2. TypeScript (@modelcontextprotocol/sdk)
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHttpClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
// Cloudflare WAF requires a custom User-Agent for programmatic clients
const transport = new StreamableHttpClientTransport(
new URL("https://mcp.waqf.dev/mcp?suite=core"),
{
headers: {
"User-Agent": "WaqfApp/1.0.0 (contact@example.com)",
},
}
);
const client = new Client({ name: "waqf-app", version: "1.0.0" });
await client.connect(transport);
// List available canonical tools
const { tools } = await client.listTools();
console.log("Federated Tools:", tools.map(t => t.name));
// Call canonical Quran lookup with automatic fallback
const result = await client.callTool({
name: "waqf_quran_get_ayah",
arguments: { surah: 112, ayah: 1 },
});
console.log("Ayah Result:", (result.content[0] as { text: string }).text);3. cURL (Command Line)
# 1. List canonical tools (saving tokens with ?suite=core)
curl -s -X POST "https://mcp.waqf.dev/mcp?suite=core" \
-H "Content-Type: application/json" \
-H "User-Agent: WaqfClient/1.0" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# 2. Call canonical Quran verse lookup (with automatic fallback)
curl -s -X POST "https://mcp.waqf.dev/mcp" \
-H "Content-Type: application/json" \
-H "User-Agent: WaqfClient/1.0" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "waqf_quran_get_ayah",
"arguments": { "surah": 112, "ayah": 1 }
}
}'🏗️ Repository Architecture
Following AGENTS.cloudflare.md and cf-monorepo-scaffold:
waqf-mcp/
├── apps/
│ ├── api/ # Cloudflare Worker MCP Gateway (mcp.waqf.dev)
│ │ ├── src/
│ │ │ ├── adapters/ # IMcpProvider, JsonRpcMcpAdapter, SseMcpAdapter
│ │ │ ├── canonical/ # High-level normalized Waqf tools
│ │ │ ├── core/ # ProviderRegistry, FederationRouter, SchemaNormalizer
│ │ │ ├── services/ # D1CacheService, D1TelemetryService
│ │ │ └── index.ts # Stateless Streamable HTTP Worker entrypoint
│ │ └── wrangler.jsonc
│ │
│ └── web/ # Multi-lingual Astro 7+ Landing Page
│ ├── src/
│ │ ├── components/ # HeroSection, ServersSection, ConfigSection, SubmitForm, FaqSection
│ │ ├── layouts/ # BaseLayout (Tajawal, WaqfTech design tokens)
│ │ ├── lang/ # ar.json, en.json, tr.json, id.json, ms.json
│ │ └── pages/ # index.astro (ar), [lang]/index.astro (en, tr, id, ms)
│ └── astro.config.mjs
│
├── packages/
│ ├── db/ # Cloudflare D1 SQLite database (Drizzle ORM)
│ │ ├── src/schema.ts # mcp_logs, mcp_cache, mcp_submissions
│ │ └── drizzle/ # Auto-generated SQL migrations
│ │
│ └── types/ # Shared TypeScript interfaces & DTOs
│ └── src/index.ts
│
├── pnpm-workspace.yaml # Monorepo workspace configuration
├── AGENTS.md # AI and developer invariants
└── package.json🛠️ Developer Commands (Powered by aube)
This repository strictly usesaube as the package manager. Never use npm or raw yarn.
# Install dependencies across all packages
aube install
# Run automated Vitest test suite
aube test
# Run TypeScript typechecks across the monorepo
aube run typecheck
# Start local Cloudflare Worker API & Astro Web concurrently
aube run dev
# Build production assets
aube run build🤝 Contributing & Security
Security Vulnerabilities: Please review our Security Policy for private responsible disclosure procedures.
Contributing: Please read CONTRIBUTING.md for architectural invariants, testing protocols, and guide to adding new Islamic MCP providers.
🛡️ License
The gateway software is part of the WaqfTech digital waqf initiative and is open source under the Waqf Digital Public License (Waqf-DPL 1.0).
As declared in the Aggregator Notice, the Waqf-DPL license applies strictly to the gateway aggregator code and technical edge infrastructure. Each federated Islamic MCP server and text corpus retains its own independent license and copyright from its respective source institution.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
- 0bridgeOAuthdev.0bridge
Every service you connect, one MCP endpoint for all your AI tools. Sign in once.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables fetching and searching canonical hadith texts (Arabic and English) with cross-references and citation-safe URLs for assistants, built on FastMCP.3GPL 3.0
- AlicenseAqualityAmaintenanceConnects AI assistants to authentic Islamic content including Qur'an, Hadith, and resources in multiple languages via over 80 tools.12792 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server to search and retrieve passages from a corpus of 7,872 classical Islamic books via the Sahifah API, with full citations and mu'tabar filtering.13 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides AI clients with fast, hallucination-free access to the Quran through 13 MCP tools, covering search, navigation, morphology, tafsir, translations, and surah background over stdio and Streamable HTTP.MIT