Routes Quran searches through a dedicated search engine instead of letting the LLM hallucinate verses. Exposes search operations with Arabic normalization, lemma and root matching, and result highlighting. Built on the quran-search-engine package, it returns exact Quranic text with pagination support for large result sets. The AI handles query understanding while the server guarantees accuracy of the verses. Useful when you need trustworthy Quranic reference in AI applications without the risk of generated or incorrect text. Works with Claude Desktop via stdio transport using npx for quick setup.
I developed quran-search-engine-mcp to bridge the gap between AI and authentic Quranic text.

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.
Edit the config file:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.jsonAdd the server entry:
{
"mcpServers": {
"quran-search-engine-mcp": {
"command": "npx",
"args": ["quran-search-engine-mcp"]
}
}
}
pnpm build
Edit the config file:
%APPDATA%\Claude\claude_desktop_config.json
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.
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).

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 install
pnpm build
pnpm dev
pnpm test
pnpm lint
pnpm build
pnpm version patch
pnpm publish --access public
See CONTRIBUTING.md.
Email: contact@adelpro.us.kg
MIT
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp