npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

quran-search-engine-mcp

v0.2.2

Published

MCP server wrapping quran-search-engine for AI tools. Provides Quran search, Arabic normalization, and highlighting as CLI tools.

Readme

Quran Search Engine MCP

npm version Registry license Powered by quran-search-engine

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: [email protected]

License

MIT