Quran Search Engine MCP for AI tools. Provides Quran search, Arabic normalization, and highlighting.
SaferSkills independently audited quran-search-engine-mcp (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
You can use the published package directly without building it yourself.
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"quran-search-engine-mcp": {
"command": "npx",
"args": ["quran-search-engine-mcp"]
}
}
}pnpm build%APPDATA%\Claude\claude_desktop_config.json
{
"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.
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.
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.
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.
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.
pnpm installpnpm buildpnpm devpnpm testpnpm lintpnpm build
pnpm version patch
pnpm publish --access publicSee CONTRIBUTING.md.
Email: <[email protected]>
MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.