QQ

quran/quran-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

128 stars 29 forks 品質 73 トレンド 21NOASSERTION

quran/quran-mcp は、https://github.com/quran/quran-mcp. からインポートされたMCPサーバー候補です。

概要

quran/quran-mcp は、https://github.com/quran/quran-mcp. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

正典コーランテキスト、翻訳、タフシル注釈を提供するMCPサーバーで、quran.com から提供されています。

これは何だ

Quran-mcpは、AIアシスタントにクルアーンへのグラウンディングアクセスを提供するモデルコンテキストプロトコルサーバーです。訓練データ(誤引用、捏造、節の混乱)に依存する代わりに、AIは構造化されたツール呼び出しを通じて検証済みテキストを取得します。

なぜこれが重要なのか: ムスリムにとってクルアーンは神の文字通りの言葉です。誤引用は許容される誤りモードではありません。このサーバーは、AIアシスタントが正確に引用し、適切に出典を付け、解釈を創作するのではなく学術的な解説に委ねられるように存在しています。

能力

  • クルアーンテキスト — 複数のキラート(ハフス、ワルシュ、カルーンなど)で書かれたアラビア語テキスト
  • 翻訳 — 30+言語にわたる50+翻訳
  • タフシル — 15+人の学者(イブン・カティール、アル・タバリ、アル・クルトゥビ、アル・サアディなど)による古典および現代の注釈
  • Search — コーランの本文、翻訳、タフシル(文献文献)を横断した全文検索
  • 形態論 — 語彙レベルの文法分析、語根一致、パラダイム表
  • Mushafビューア — ビジュアルMushafページレンダリング

クイックスタート

リモートMCPサーバーとして(推奨)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

quran-mcp

An MCP server providing canonical Quran text, translations, and tafsir commentary — sourced from quran.com.

What this is

quran-mcp is a Model Context Protocol server that gives AI assistants grounded access to the Quran. Instead of relying on training data (which can misquote, fabricate, or confuse verses), the AI fetches verified text through structured tool calls.

Why this matters: For Muslims, the Quran is the literal word of God. Misquoting it is not an acceptable error mode. This server exists so AI assistants can cite accurately, attribute properly, and defer to scholarly commentary rather than inventing interpretations.

Capabilities

  • Quran text — Arabic text in multiple qira’at (Hafs, Warsh, Qaloon, etc.)
  • Translations — 50+ translations across 30+ languages
  • Tafsir — Classical and modern exegesis from 15+ scholars (Ibn Kathir, al-Tabari, al-Qurtubi, al-Sa’di, and more)
  • Search — Full-text search across Quran text, translations, and tafsir
  • Morphology — Word-level grammatical analysis, root concordance, paradigm tables
  • Mushaf viewer — Visual mushaf page rendering

Quick start

Add to your MCP client configuration:

{
  "mcpServers": {
    "quran": {
      "url": "https://mcp.quran.ai",
      "type": "http"
    }
  }
}

Works with Claude Desktop, ChatGPT, and any MCP-compatible client.

Self-hosted

git clone https://github.com/quran/quran-mcp.git
cd quran-mcp
cp .env.example .env        # fill in database password
docker compose up -d         # starts postgres + server

The server runs at http://localhost:8088.

For integration patterns beyond basic hosting, see docs/SETUP.md. It documents both MCP-server composition (for sibling servers such as quran-mcp-auth) and client-style consumption (for apps such as quran-mcp-admin).

Project structure

src/quran_mcp/
  server.py              Entry point
  mcp/                   Client-facing MCP surface
    tools/               fetch_quran, search_tafsir, etc.
    resources/           MCP resources
    prompts/             MCP prompts
  lib/                   Business logic and utilities
  middleware/            Request pipeline (rate limiting, grounding, logging)
  apps/                  Frontend apps (documentation site, mushaf viewer)
  assets/                Static files
tests/                   Test suite
codev/                   Development methodology (specs, plans, protocols)

Development

uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
cp .env.example .env
docker compose up -d
pytest

Data sources

All Quran text, translations, and tafsir are sourced from Quran Foundation projects, including quran.com and nuqayah.com.

License

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "quran": { "url": "https://mcp.quran.ai", "type": "http" } } }