q

quran-search-engine-mcp

@adelpro/quran-search-engine-mcp
Hosted
0 Stars 11 次浏览 adelpro 更新于 2026-08-23

Quran Search Engine MCP for AI tools. Provides Quran search, Arabic normalization, and highlighting.

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "quran-search-engine-mcp": {
      "args": [
        "quran-search-engine-mcp@0.2.1"
      ],
      "command": "npx"
    }
  }
}

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

Quran Search Engine MCP

npm version
Registry
license
![Powered by quran-search-engine](https://img.shields.io/badge/Powered%20by-quran- -search- -engine-green)

I developed quran-search-engine-mcp to bridge the gap between AI and authentic Quranic text.

Quran Search Engine MCP in Action

The idea is simple: instead of relying on an AI to "hallucinate" or predict Quranic verses, this tool routes search requests to a dedicated, accurate search engine. The AI handles the natural language understanding, while the MCP server provides the exact, literal Quranic text.
This means the AI only processes the query, while the Quranic text is always accurate.

# Features

  • 🔌 MCP Compatible: Works seamlessly with Claude Desktop and other MCP clients.
  • 🔍 Advanced Search: Supports Arabic normalization, lemma, and root-based search.
  • 📖 Accurate Results: Returns exact verses with no hallucinations.
  • 📄 Pagination: Handles large result sets with pagination.
  • Highlights: Clearly marks matched terms.

# Configuration (Claude Desktop)

# # Option 1: Quick Start (Recommended for Users)

You can use the published package directly without building it yourself.

  1. Edit the config file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the server entry:

{
  "mcpServers": {
    "quran-search-engine-mcp": {
      "command": "npx",
      "args": ["quran-search-engine-mcp"]
    }
  }
}
  1. Restart Claude Desktop.

# # Option 2: Local Development (For Contributors)

  1. Build the server:
pnpm build
  1. Edit the config file:
    %APPDATA%\Claude\claude_desktop_config.json

  2. Add the server entry:

{
  "mcpServers": {
    "quran-search-engine-mcp": {
      "command": "node",
      "args": ["D:\\path\\to\\quran-search-engine-mcp\\dist\\server.js"]
    }
  }
}

Note: Replace D:\\path\\to\\... with the actual absolute path to your project.

  1. Restart Claude Desktop.

# Usage

Once configured, you can use it in chat:

“Search the Quran for الحمد and show the results.”

Result: any Quran-related query is sent directly to the server, and the server returns the correct verses.

# Usage Example: Searching for Prophet Yunus

The engine understands context and synonyms. For example, when searching for "Prophet Yunus with all synonyms":

"Search for the Prophet Yunus with all synonyms"

The result includes verses related to Yunus, The People of Yunus, and even Dhul-Nun (The One with the Whale).

Search Result for Yunus
Search Result for Dhul-Nun

Even when restricting the search to the name only, the results remain precise. This proves that the AI understands the intent, but the data comes from a trusted source.

# Uses quran-search-engine

This server builds on the quran-search-engine package for core search logic, Arabic normalization, lemma/root matching, and highlights.
See https://www.npmjs.com/package/quran-search-engine for details.

# Conclusion

quran-search-engine-mcp turns any MCP-compatible AI into a reliable source for Quranic search.
Everything goes through the server, the texts are always correct, and the AI only handles the query.

This opens the door for educational applications, smart assistants, or any project that needs trustworthy, realistic Quran search without hallucinations.


# Requirements

  • Node.js LTS
  • pnpm

# Install

pnpm install

# Build

pnpm build

# Local Development

pnpm dev

# Test

pnpm test

# Lint

pnpm lint

# Publish

pnpm build
pnpm version patch
pnpm publish - -access public

# Contribute

See CONTRIBUTING.md.

# Contact

Email: contact@adelpro.us.kg

# License

MIT

相关 MCP 服务