Skip to main content
Glama

Quranpedia MCP

npm version MCP Registry license Powered by quran-search-engine quran-search-engine

An MCP (Model Context Protocol) server that gives AI clients fast, accurate, hallucination-free access to the Quran β€” search, navigation, morphology, tafsir, translations, and surah background β€” over stdio and Streamable HTTP.

Explore the Quran through 13 MCP tools β€” verses, surahs, lemmas, roots, morphology, tafsir, translations, and Quranpedia encyclopedia search. Hosted at mcp.quran.us.kg. Instead of relying on an AI to "hallucinate" or predict Quranic verses, this tool routes every request to a dedicated search engine. The AI handles the natural language; the server returns the exact, literal Quranic text. Tafsir and translations come from the Quranpedia API (https://api.quranpedia.net/v1), with each answer attributed to its source.

Public endpoint

The server is publicly hosted at https://mcp.quran.us.kg/ (Cloudflare-fronted, stable). No API key, no auth β€” the endpoint is open and CORS-enabled for any client.

Resource

URL

MCP server (Streamable HTTP)

https://mcp.quran.us.kg/

Health check

https://mcp.quran.us.kg/health

Status page

https://quran.us.kg

Related MCP server: quran-mcp

Features

  • πŸ”Œ MCP compatible β€” Claude Desktop, Claude Web, ChatGPT, Cursor, VS Code, and others.

  • 🌐 Two transports β€” stdio for local integrations, Streamable HTTP for remote/hosted.

  • πŸ” Thirteen tools β€” full-text search, surah metadata, verse navigation, lemma/root lookup, morphology, plus tafsir, translations, surah background, per-ayah content options, and Quranpedia encyclopedia search.

  • πŸ“– Accurate results β€” every verse comes from a verified dataset; no LLM in the loop. Tafsir and translations come from Quranpedia with a source URL attached.

  • πŸ›‘οΈ Hardened HTTP β€” host allow-list, per-IP rate limit, body cap, session reaper, /health.

  • πŸ—„οΈ Offline-friendly Quranpedia cache β€” responses cached in memory (and optionally on disk) for 30 days.

Install

# Use the public endpoint
# β†’ point your MCP client at https://mcp.quran.us.kg/

# Or run the server locally (stdio)
npx -y quranpedia-mcp

Documentation

Detailed docs live under docs/:

  • Tools reference β€” every tool, its schema, response shape, and examples.

  • Integrations β€” Claude Desktop, Claude Web, ChatGPT, Cursor, and others.

  • Architecture β€” internals: transports, dataset loading, HTTP hardening.

  • Development β€” build, test, add a new tool, deploy.

Quick start (HTTP)

The shortest path: use any MCP client and point it at https://mcp.quran.us.kg/. For ad-hoc testing, the integrations page shows a one-off Node snippet that uses @modelcontextprotocol/sdk directly.

Quick start (Docker)

docker compose up --build
# β†’ "Quran MCP HTTP server listening on http://0.0.0.0:4000/"

Requirements

  • Node.js 20+ (LTS recommended)

  • npm, pnpm, or yarn

  • Network access to api.quranpedia.net for the five Quranpedia tools (the 8 dataset tools work offline).

License

MIT β€” see LICENSE.

Contact

Email: contact@adelpro.us.kg

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server that gives AI clients fast, accurate access to turath.io's books and resources, with tools for author biographies, book metadata, full texts, parsed pages, and catalog search over stdio or HTTP.
    11 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Serves a scholar-approved Islamic corpus of Qur'an and hadith passages to any MCP client with server-side refusal enforcement. Enables natural-language questioning, retrieval, policy checking, and honest corpus coverage reporting while preventing fabricated answers.
    6
    MIT