Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Criterion
C
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/10/2026, 11:47:28 PM

Criterion

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Semantic search across 6,236 Quran verses and 12,416 authentic Hadiths for Islamic guidance.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "criterion": {
      "command": "npx",
      "args": [
        "-y",
        "criterion"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

Criterion - Islamic Knowledge Assistant

An AI-powered Da'i (invitor to Islam) bringing authentic Islamic guidance to seekers worldwide.

Built on the Quran and authentic Hadith. Free forever. For the sake of Allah.

Mission Β· Features Β· Tech Stack Β· Getting Started Β· MCP Server Β· Documentation


Mission

Criterion exists to bring authentic Islamic knowledge to anyone seeking truth, using modern technology to make divine guidance accessible to all of humanity β€” freely, forever, for the sake of Allah alone.

Our Four Pillars

  1. Truth & Authenticity β€” Every response is grounded in verified sources (Quran and Sahih Hadith). We never fabricate or hallucinate.
  2. Fundamentals & Simplicity β€” We focus on core Islamic teachings that unite. We avoid sectarian debates and controversial topics.
  3. For the Sake of Allah β€” Criterion will always be free, with no monetization or organizational promotion. This is Sadaqah Jariyah.
  4. State of the Art β€” We use cutting-edge AI to deliver Islamic guidance effectively to the masses.

πŸ‘‰ Read the full mission and vision in MISSION.md

Key Differentiators

Mission-Aligned:

  • ✨ Free Forever β€” No paywalls, no ads, no monetization. Built fi sabilillah (for Allah's sake)
  • πŸ“š Fundamentals-Focused β€” Avoids sectarian debates, focuses on universally accepted Islamic teachings
  • πŸ›‘οΈ Trust-First β€” Grade-filtered authentic Hadith (defaults to Sahih), verified sources only
  • 🀝 Seeker-Oriented β€” Designed for curious minds, new Muslims, and students of knowledge
  • πŸ•Œ Da'i Personality β€” Compassionate, knowledgeable, humble guidance

Technical Excellence:

  • 🎯 Semantic Search β€” Natural language queries return relevant verses from 6,236 Quran verses + 21,641 Hadith narrations
  • πŸ“– Contextual Retrieval β€” Top results include Β±2 surrounding verses/narrations for proper context
  • 🌐 Multilingual β€” Read in English (fast) + Slovak (expandable to 10+ languages)
  • πŸ”— Accurate Citations β€” All responses include source references with hyperlinks (Quran.com, Sunnah.com)
  • ⚑ Fast β€” <150ms query response time

Features

What Criterion Does

βœ… Semantic Quran Search β€” Ask natural language questions, get relevant verses
βœ… Semantic Hadith Search β€” Search authentic Hadith with grade & collection filtering
βœ… Contextual Understanding β€” Top results include surrounding context for proper meaning
βœ… Accurate Citations β€” Every response cites real sources with hyperlinks
βœ… Multilingual Reading β€” English (fast) + Slovak (single JOIN <200ms)
βœ… Shareable URLs β€” /quran/search?q=patience, /hadith/search?q=charity, and /quran/2/255 with metadata
βœ… Real-time Streaming β€” Progressive response generation with token-by-token delivery
βœ… Tool-Based RAG β€” LLM autonomously decides when to retrieve from Quran/Hadith

Technical Stack

  • Next.js 15 App Router with React 19 & Tailwind CSS
  • Vercel AI SDK for LLM integration and streaming
  • XAI Grok 4 for intelligent natural language responses
  • PostgreSQL with pgvector for vector search
  • Drizzle ORM for type-safe database access
  • Google Gemini text-embedding-004 (768 dimensions)
  • HNSW indexes for <150ms similarity search
  • Auth.js for authentication
  • Deployed on Vercel

How It Works

The RAG Pipeline

Code
User Question
    ↓
XAI Grok 4 LLM (decides which tools to use)
    ↓
Tool Selection:
  - queryQuran β†’ 6,236 verses (top 7 for chat, top 20 for search)
  - queryHadith β†’ 21,641 hadiths from 6 collections (top 3 for chat, top 15 for search, with grade filtering)
    ↓
Vector Search (768-dim Gemini embeddings)
    ↓
Context Enhancement (top 3 get Β±2 surrounding verses)
    ↓
LLM Generates Response with Citations
    ↓
Real-time Stream to User (Server-Sent Events)

Data

  • 6,236 Quran verses from all 114 Surahs

    • Arabic text (Tanzil Quran)
    • English translation (master)
    • Slovak translation (expandable)
    • 768-dimensional embeddings (Gemini text-embedding-004)
  • 21,641 Hadith narrations from 6 major collections (Kutub al-Sittah subset)

    • Sahih Bukhari (7,558)
    • Sahih Muslim (2,920)
    • Jami` at-Tirmidhi (3,951)
    • Sunan Abi Dawud (5,274)
    • 40 Hadith Nawawi (42)
    • Riyad as-Salihin (1,896)
    • Grade filtering (Sahih, Hasan, Da'if)
    • 768-dimensional embeddings

Performance

  • Quran search: <150ms (English), <200ms (translated)
  • Hadith search: <150ms
  • Vector search: Powered by HNSW indexes
  • Streaming: Real-time token-by-token delivery

Getting Started

Prerequisites

  • Node.js 18+ and pnpm
  • PostgreSQL database (recommend Neon)
  • API Keys:
    • XAI API Key (for Grok LLM)
    • Google AI Studio API Key (for embeddings)

Installation

  1. Clone the repository
bash
git clone <repo-url>
cd criterion
  1. Install dependencies
bash
pnpm install
  1. Set up environment variables

Create a .env.local file:

bash
# Database
POSTGRES_URL=postgresql://...

# AI APIs
XAI_API_KEY=xai-...
GOOGLE_GENERATIVE_AI_API_KEY=...

# Authentication (optional)
AUTH_SECRET=...
  1. Enable pgvector extension
bash
pnpm db:enable-pgvector
  1. Run database migrations
bash
pnpm db:migrate
  1. Ingest Quran data (generates embeddings for 6,236 verses)
bash
pnpm ingest:quran

This will take 10-15 minutes to complete.

  1. Test the Quran search
bash
pnpm test:quran
  1. Start the development server
bash
pnpm dev

Your app should now be running on localhost:3000.

Available Commands

Development

bash
pnpm dev          # Start dev server
pnpm build        # Build for production
pnpm start        # Start production server

Database

bash
pnpm db:generate  # Generate Drizzle schema
pnpm db:migrate   # Run migrations
pnpm db:studio    # Open Drizzle Studio (GUI)

Data Ingestion & Testing

bash
# Quran
pnpm clear:quran         # Clear all Quran data
pnpm ingest:quran        # Ingest Quran verses and generate embeddings
pnpm ingest:quran:slovak # Ingest Slovak translation
pnpm test:quran          # Test Quran search functionality

# Hadith
pnpm clear:hadith  # Clear all Hadith data
pnpm ingest:hadith # Ingest Hadith and generate embeddings

MCP Server

Criterion exposes its semantic search capabilities through the Model Context Protocol (MCP), allowing AI assistants like Claude Desktop and Cursor to search Quran and Hadith directly.

Quick Setup:

config.json
{
  "mcpServers": {
    "criterion": {
      "url": "https://criterion.life/api/mcp"
    }
  }
}

Available Tools:

  • search_quran β€” Search 6,236 Quran verses
  • search_hadith β€” Search 21,641 authentic Hadiths from 6 collections
  • get_verse β€” Retrieve specific verse by reference (e.g., "2:255")

πŸ‘‰ Read full MCP documentation in MCP.md

Project Structure

Code
criterion/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ (auth)/          # Authentication routes
β”‚   β”œβ”€β”€ (chat)/          # Chat interface and API
β”‚   β”‚   └── api/chat/    # Main chat endpoint
β”‚   β”œβ”€β”€ search/          # Quran search page
β”‚   β”‚   └── api/         # Quran search API
β”‚   β”œβ”€β”€ hadith/
β”‚   β”‚   └── search/      # Hadith search page and API
β”‚   └── quran/           # Quran reading pages
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ ai/
β”‚   β”‚   β”œβ”€β”€ embeddings.ts     # Core RAG logic
β”‚   β”‚   β”œβ”€β”€ prompts.ts        # Da'i system prompts
β”‚   β”‚   └── tools/
β”‚   β”‚       β”œβ”€β”€ query-quran.ts   # Quran search tool
β”‚   β”‚       └── query-hadith.ts  # Hadith search tool
β”‚   └── db/
β”‚       β”œβ”€β”€ schema.ts         # Database schema
β”‚       └── migrations/       # SQL migrations
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ chat.tsx              # Main chat UI
β”‚   β”œβ”€β”€ quran-verses.tsx      # Quran display component
β”‚   β”œβ”€β”€ hadith-narrations.tsx # Hadith carousel
β”‚   └── hadith/
β”‚       └── hadith-card.tsx   # Reusable hadith card
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ ingest-quran.ts       # Quran data ingestion
β”‚   β”œβ”€β”€ ingest-hadith.ts      # Hadith data ingestion
β”‚   └── test-*.ts             # Test scripts
└── data/
    β”œβ”€β”€ quran*.txt            # Quran translations
    └── *-full.json           # Hadith collections

Documentation

Understanding Criterion

  • MISSION.md β€” Our vision, values, and deeper purpose. Read this first to understand why we build Criterion.
  • CRITERION_DETAILED.md β€” Comprehensive technical documentation including architecture, implementation history, and performance metrics.
  • CRITERION.md β€” Quick reference guide for setup and key concepts.

Key Sections

DocumentPurpose
MISSION.mdVision, values, pillars, and long-term goals
CRITERION_DETAILED.mdTechnical architecture, database schema, components, and best practices
CRITERION.mdQuick start, commands, and core concepts
README.mdGetting started, features, and project overview

Architecture Overview

Code
components/
β”œβ”€β”€ Chat UI (QuranVerses, HadithNarrations, MessageActions)
β”œβ”€β”€ Search Pages (Quran and Hadith semantic search with filters)
β”œβ”€β”€ Hadith Components (reusable HadithCard for search and chat)
β”œβ”€β”€ Quran Pages (shared components for context, language selection)
└── UI Components (buttons, inputs, etc.)

lib/
β”œβ”€β”€ ai/
β”‚   β”œβ”€β”€ embeddings.ts (vector search logic)
β”‚   β”œβ”€β”€ prompts.ts (Da'i system prompts)
β”‚   └── tools/ (queryQuran, queryHadith, requestSuggestions)
β”œβ”€β”€ db/
β”‚   β”œβ”€β”€ schema.ts (Drizzle ORM definitions)
β”‚   └── queries.ts (database functions)
└── monitoring/ (performance tracking)

app/
β”œβ”€β”€ (chat)/api/chat (main chat endpoint)
β”œβ”€β”€ quran/search/ (Quran search page and API)
β”œβ”€β”€ hadith/search/ (Hadith search page and API)
β”œβ”€β”€ quran/ (Quran reading pages)
└── (auth)/ (authentication)

Data Attribution

  • Quran Text: Tanzil.net β€” Creative Commons Attribution 3.0
  • Quran Translations: Multiple sources with proper attribution
  • Hadith Collections: Sunnah.com, IslamicNetwork.com
  • Embeddings: Google Gemini text-embedding-004

Our Commitment

Criterion is built with these commitments:

  • βœ… Never monetize Islamic knowledge
  • βœ… Always cite sources with proper references
  • βœ… Never fabricate verses or hadiths
  • βœ… Focus on fundamentals β€” avoid sectarian debates
  • βœ… Build for the community β€” this belongs to all Muslims and benefits all humanity
  • βœ… Stay at the forefront β€” leverage state-of-the-art technology

Contributing

We welcome contributions from developers, scholars, and community members who share our mission. Please see CONTRIBUTING.md for guidelines.

License

  • Quran Text: Creative Commons Attribution 3.0 (Tanzil.net)
  • Hadith Data: From verified Islamic sources with proper attribution
  • Code: See LICENSE file for details

"Invite to the way of your Lord with wisdom and good instruction, and argue with them in a way that is best." β€” Quran 16:125

May Allah accept this work and make it a means of guidance for seekers everywhere. Ameen.

Related MCP Servers

View all in Developer Tools View all alternatives
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    πŸ’» Developer Tools7 views
    Compare vs Claude Task Master β†’
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    πŸ’» Developer Tools0 views
    Compare vs Ai Netcafe β†’
  • C
    Codealive Mcp

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive Mcp β†’
  • A
    Agent Skills Search Server

    Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.

    πŸ’» Developer Tools0 views
    Compare vs Agent Skills Search Server β†’

Frequently Asked Questions about Criterion

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "criterion": { "command": "npx", "args": ["-y", "criterion"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCriterion AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/criterion?style=directory)](https://allmcps.com/mcp/criterion)
HTML Embed
<a href="https://allmcps.com/mcp/criterion"><img src="https://allmcps.com/api/badge/criterion?style=directory" alt="Criterion on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/5 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Criterion β†’Install in Claude DesktopInstall in CursorInstall in VS Code