# Islamify.ai Platform

> Official self-service REST API v1 and Remote MCP Server by Islamify.ai (EMAD gUG, Munich) for verified Qur'an verses (Uthmani + 9 translations), Medina Mushaf pages & quarters, Hifz/Mutashabihat memorization helpers, 10 classical Hadith collections, 4,900+ public-domain & written-licensed scholarly works, quote verification, and source-grounded Islamic educational chat.

Base URLs:
- Portal & Docs: https://platform.islamify.ai
- REST API v1 (OpenAI-SDK compatible `/v1/chat/completions` + structured source endpoints): https://api.islamify.ai
- Official Remote MCP Server (Streamable HTTP `2026-07-28` & `2025-11-25`, OAuth 2.1 + API Key dual auth): https://mcp.islamify.ai/mcp
- Auth & Billing: Existing Islamify.ai subscribers (Sāʾil, Ṭālib, Muʿallim) can use MCP and personal API directly within their monthly subscription allowance; 25 daily local Qur'an/Mushaf/Hadith/Quote lookups are free for everyone; Prepaid Euro credits (from €5 via Stripe or PayPal) cover apps, teams, organizations, and extra usage.
- Teams & Granular RBAC: Organizations and teams can create shared Team workspaces with shared API keys, shared prepaid balance, audit logs, 5 role presets (Owner, Admin, Developer, Billing, Viewer), and 6 granular owner-controlled permissions (`keys:create`, `keys:edit`, `keys:revoke`, `billing:topup`, `settings:manage`, `members:manage`).
- AI Self-Management: Connected AI assistants with OAuth (`keys:manage`) or management keys can list/create/rename/revoke API keys, adjust spending caps, check live usage, inspect team workspaces (`/v1/teams`), and generate Stripe or PayPal top-up links directly without visiting the web UI.

## Documentation

- [Complete AI Reference (Single File)](https://platform.islamify.ai/llms-full.txt): Full API & MCP specification, schemas, OpenAI SDK drop-in examples, Mushaf Habit-Tracker & Hifz flashcard payloads, AI key management, and copyright attribution rules.
- [Agent Skill Instructions](https://platform.islamify.ai/skill.md): Ready-to-load `SKILL.md` for Claude Code, Cursor, Codex, Antigravity, and Gemini CLI to install and use Islamify.ai automatically.
- [REST API v1 Documentation (Markdown)](https://platform.islamify.ai/docs.md): All endpoints, parameters, pricing, error codes, and cURL / JavaScript / Python examples.
- [MCP Setup Guide (Markdown)](https://platform.islamify.ai/mcp-setup.md): Setup steps, 1-click links, and CLI commands for ChatGPT, Google Gemini, Claude, Cursor, VS Code, and Codex.

## Machine-Readable Specs

- [OpenAPI 3.1 Specification](https://api.islamify.ai/openapi.json): Full machine-readable REST schema for code generation and LLM tool calling.
- [MCP Server Registry Manifest](https://platform.islamify.ai/.well-known/mcp/server.json): Official MCP Registry (`2025-12-11`) metadata including icons, Streamable HTTP endpoint, and npm `@islamify/mcp`.
- [OAuth Protected Resource Metadata (RFC 9728)](https://mcp.islamify.ai/.well-known/oauth-protected-resource): OAuth 2.1 discovery for MCP clients.
- [OAuth Authorization Server Metadata (RFC 8414)](https://mcp.islamify.ai/.well-known/oauth-authorization-server): PKCE S256, CIMD, and DCR (`RFC 7591`) endpoints.

## Optional

- [Interactive Web Portal](https://platform.islamify.ai/): Live interactive demos and pricing overview.
- [API & MCP Terms of Use (2026-11-29-v2)](https://platform.islamify.ai/terms): Attribution, non-fatwa educational notice, anti-scraping, and prepaid terms.
- [Privacy Notice](https://platform.islamify.ai/privacy): German hosting, GDPR Art. 9 consent, and zero-AI-training policy.
