Quran.com API integration MCP server that exposes Quran.com REST API v4 endpoints as MCP tools (chapters, verses, search, tafsir, audio, etc.).
https://github.com/djalal/quran-mcp-serverFinally, a proper bridge between AI applications and the world's most comprehensive Quran database. Stop wrestling with manual API integrations when you need structured Islamic text data.
Building applications that work with Quran content usually means choosing between limited local datasets or manually wrangling the Quran.com API. You end up writing custom wrappers, handling pagination, managing translations across dozens of languages, and dealing with complex verse referencing systems.
The Quran MCP Server eliminates this entire category of integration work by exposing Quran.com's complete REST API v4 as ready-to-use MCP tools.
Complete Quran Data Access: All 114 chapters, 6,236 verses, with full metadata including revelation context, verse keys, and structural organization (Juzs, Hizbs, Rub el Hizbs).
Multi-Language Translation Support: Access to dozens of translations across languages, with detailed translator information and authentication chains.
Scholarly Commentary Integration: Full tafsir (commentary) access from classical and contemporary Islamic scholars, properly attributed and cross-referenced.
Advanced Search Capabilities: Semantic search across Arabic text, translations, and transliterations with contextual results.
Audio Resources: Complete recitation metadata with multiple reciters and recitation styles for audio-enabled applications.
Islamic Education Platforms: Build interactive learning tools where students can ask questions about specific verses and get contextual translations, commentary, and cross-references instantly.
// Student asks: "What does Quran say about patience?"
await mcpClient.callTool('search', {
query: 'patience sabr',
language: 'en'
});
// Returns structured results with verse keys, translations, and context
Research Applications: Scholars and researchers can perform complex queries across the entire corpus, comparing translations and accessing commentary without manual lookup.
Multilingual Content Systems: Applications serving diverse Muslim communities can dynamically serve content in users' preferred languages with proper scholarly attribution.
AI-Powered Islamic Assistants: Build chatbots or AI assistants that can reference Quranic text accurately with proper context and multiple interpretation perspectives.
The server handles all the complexity of the Quran.com API - pagination, rate limiting, error handling, and data normalization - presenting everything through clean MCP tool interfaces.
Claude Desktop Integration takes 30 seconds:
{
"mcpServers": {
"quran-api": {
"command": "docker",
"args": ["run", "-i", "--rm", "--init", "quran-mcp-server"]
}
}
}
Custom Applications connect through standard MCP protocol:
import { MCPClient } from '@modelcontextprotocol/client';
const client = new MCPClient();
const verses = await client.callTool('verses_by_chapter', {
chapter_number: 2,
translations: [131, 20], // Multiple translations
per_page: 50
});
Instead of spending weeks learning Quran.com's API structure, handling authentication, managing rate limits, and building your own caching layer, you get immediate access to the entire platform through battle-tested MCP tools.
The server includes comprehensive error handling, automatic retries, and verbose logging modes for debugging. Docker deployment means consistent behavior across environments.
Key Technical Advantages:
The server supports both development and production workflows with Docker containerization, environment-based configuration, and monitoring capabilities.
Multiple deployment options accommodate different infrastructure needs - from local development with ts-node to containerized production deployments.
Built-in verbose logging provides detailed request/response tracking for debugging and monitoring API usage patterns.
Repository: github.com/djalal/quran-mcp-server
License: MIT
Requirements: Node.js 22+, Docker (optional)
Transform your Islamic content integration from a multi-week project into a single configuration file update.