---
name: islamify-platform
description: Connect to and use the official Islamify.ai MCP Server and REST API v1 for verified Qur'an verses, Medina Mushaf pages, Hifz/Mutashabihat helpers, classical Hadith collections, scholarly sources, and self-service API key/billing management.
---

# Islamify.ai Platform & MCP Skill

Use this skill when a user asks you to install Islamify.ai in their AI client, query verified Islamic sources, integrate the Islamify.ai REST API into an app (including Hifz or Habit-Tracker apps), or manage their Islamify.ai API keys, spending caps, or prepaid credits.

## 1. Install Islamify.ai MCP Server Automatically
- **Endpoint:** `https://mcp.islamify.ai/mcp` (Streamable HTTP, OAuth 2.1 + API Key dual auth, native logo & title in `serverInfo`).
- **1. ChatGPT Web / Codex:** In ChatGPT open Settings → Apps & Connectors → Add custom MCP server → URL `https://mcp.islamify.ai/mcp` → Auth `OAuth`. Codex CLI: `codex mcp add islamify --url https://mcp.islamify.ai/mcp`
- **2. Google Gemini CLI:** Run `gemini mcp add --transport http islamify https://mcp.islamify.ai/mcp`
- **3. Claude Web / Claude Code:** 1-Click Prefill `https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Islamify.ai&connectorUrl=https%3A%2F%2Fmcp.islamify.ai%2Fmcp` · Claude Code: `claude mcp add --transport http islamify https://mcp.islamify.ai/mcp`
- **4. Other AIs (Cursor `.cursor/mcp.json` / VS Code `.mcp.json`):** Add `"islamify": {"type": "http", "url": "https://mcp.islamify.ai/mcp"}` under `"mcpServers"` (or `"servers"` in VS Code).

## 2. Integrate REST API v1
- Base URL: `https://api.islamify.ai/v1`
- Full machine-readable specs: `https://platform.islamify.ai/llms-full.txt` and `https://api.islamify.ai/openapi.json`
- OpenAI SDK drop-in: set `base_url="https://api.islamify.ai/v1"`, `model="islamify-verified"` (or `"islamify-fast"`).
- Deterministic endpoints: `POST /v1/quran/lookup`, `POST /v1/quran/mushaf`, `POST /v1/quran/hifz`, `POST /v1/hadith/search`, `POST /v1/quotes/verify`, `POST /v1/sources/search`, `POST /v1/sources/translate`, `POST /v1/answer`.
- Self-service management (`0 ct`): `GET /v1/account`, `GET /v1/usage`, `GET/POST/PATCH/DELETE /v1/keys`, `PATCH /v1/account/settings`, `POST /v1/billing/topup` (`stripe` or `paypal`).

## 3. Rules
- Always keep returned Arabic texts, source attributions, foundation links, and working-translation disclaimers intact.
- Never present outputs as a formal religious ruling (fatwa).
