Skip to content
MCP server

Qaf

MCP server giving AI apps search and cited reading of classical Arabic Islamic books

Answers · sign-in required (OAuth)

The server answered 2 days ago with a sign-in request for OAuth (HTTP 401), so we could not list its tools.

Qaf is a free MCP server for religion. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Free
Platforms
API, Web
Runs
Remotely
What it can do
Read-only
Access
Needs sign-in (OAuth)
Version
1.0.1

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http qaf https://api.qaf.ai/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "qaf": {
      "type": "http",
      "url": "https://api.qaf.ai/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://api.qaf.ai/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "qaf": {
      "url": "https://api.qaf.ai/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "qaf": {
      "type": "http",
      "url": "https://api.qaf.ai/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://api.qaf.ai/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add qaf --url https://api.qaf.ai/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.qaf]
url = "https://api.qaf.ai/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://api.qaf.ai/mcp

Enter a Name (for example "Qaf"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "qaf": {
      "type": "http",
      "url": "https://api.qaf.ai/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "qaf": {
          "httpUrl": "https://api.qaf.ai/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http qaf https://api.qaf.ai/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "qaf": {
          "serverUrl": "https://api.qaf.ai/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "qaf": {
          "url": "https://api.qaf.ai/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "qaf": {
          "type": "streamableHttp",
          "url": "https://api.qaf.ai/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "qaf": {
          "url": "https://api.qaf.ai/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "qaf": {
          "url": "https://api.qaf.ai/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "qaf": {
          "url": "https://api.qaf.ai/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "qaf": {
          "url": "https://api.qaf.ai/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Qaf

The server lets an AI assistant search a library of classical Islamic texts in Arabic and read the passages around each match. Results come back with links to the passage on Qaf and to the printed page it came from, so answers can be traced to their source.

Search works by meaning and keywords and can be narrowed by author, book, genre or death year. A companion lookup tool resolves author and book names into the identifiers the filters use, and a fetch tool returns a passage with up to five neighbouring passages on each side.

It suits students, researchers and readers of Arabic religious scholarship who want an assistant to quote source text rather than paraphrase from memory. Any Qaf account can connect by signing in, with no API key required. All three tools are read-only.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

Going by the tool names, all 3 tools only read data.

From the server's own tool labels and tool names; not verified by us.

searchName suggests: reads
Searches passages by meaning and keywords, optionally filtered by author, book, genre or death year.
fetchName suggests: reads
Reads a passage by ID, with up to five neighbouring passages on each side.
lookup_catalogName suggests: reads
Resolves an author or book name to the IDs that search filters take.

What it does

Meaning and keyword search
Finds passages by both semantic similarity and exact keywords across the library.
Filtered by author or book
Narrows results by author, book, genre or author death year.
Passage context reading
Returns a chosen passage with up to five neighbouring passages on each side.
Catalog name resolution
Maps author or book names to the IDs used by search filters.
Page-level citations
Each passage links to its place on Qaf and to its printed page.
Account sign-in access
Connects with a Qaf account login instead of an API key, and can be disconnected at any time.

Good for

  • Quoting classical Arabic source text with page references in an AI chat
  • Finding what a specific scholar wrote on a topic within a given book
  • Locating jurisprudence rulings in Hanbali texts and reading the surrounding passages
  • Checking the original wording of a hadith commentary passage

Pricing

Free

Free account with 2,500 searches a week as an introductory offer.

Prices change. Check developers.qaf.ai before you buy.

Qaf FAQ

Do I need an API key to connect?

No. You paste the server URL into an app that supports remote MCP servers and sign in with your Qaf account.

Can the tools change anything in my library?

No. All three tools only read the library.

How many searches are included?

Each account gets 2,500 searches a week on every plan, including Free, as an introductory offer. Fetch and lookup still work after searches run out.

What are the request limits?

An account can send 60 requests a minute, counting every message the app sends, and a tool call that runs longer than 30 seconds stops with an error.

Is Qaf free?

Yes. Qaf is free to use.

How do I add Qaf to Claude Code?

Run this command in your terminal: claude mcp add --transport http qaf https://api.qaf.ai/mcp

What are the best alternatives to Qaf?

The closest alternatives to Qaf are Quran Gallery MCP, All Islam Directory, Criterion, Mishkat (مِشكاة) Arabic Islamic lectures and Sacred Texts MCP.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Status: checked automatically by AIPoweredBot on 28 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers