Fanar
PYPI · FANAR-MCP
Fanar (QCRI) for MCP: cited Islamic Q&A, Qur'an and hadith checks, Arabic translation and speech
Available components
Last scanned (8 hours ago)
Scores higher than 67% of PyPI servers
Category AI and Machine Learning
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security50
- Malware scan not yet available for this package.Unverified
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 0 of 28 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to Blade-Labs/fanar-mcp). View diagnostics → Pass
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 16 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability75
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (fair).Partial
- Tool/resource definitions use about 1219 tokens (~101/item across 12 items; 12 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management57
- Stability observed for 17 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage67
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 12 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 13 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 5 Nov 26 −15
- Malware scan: pass → unverified ▼ security
- 4 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 50 to 53. That category is still filling its 30-day observation window: 15 days of observed history at the previous scan, 16 at this one. The score rises as the window fills, whether or not the server changes.
- 3 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 2 Nov 26 −14
- Malware scan: pass → unverified ▼ security
- 1 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 31 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.
- 30 Oct 26 −15
- Malware scan: pass → unverified ▼ security
- 29 Oct 26 +16
- Malware scan: unverified → pass ▲ security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed pypi/fanar-mcp@0.1.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | Blade-Labs/fanar-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/Blade-Labs/fanar-mcp/.github/workflows/release.yml@refs/tags/v0.1.1 |
| Rekor log index | 3330119732 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:8f3c3956e38ffa5d35660af45bc2ed718de72ce62761bd0b883d56f20de8b1ea |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 28 packages
| Packages resolved | 28 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
fanar_chat ~123
Chat with a Fanar language model. Fanar-C-2-27B is the Fanar 2.0 27B model for Arabic (MSA and Gulf, Levantine and Egyptian dialects) and English; "Fanar" is the default alias. Set thinking=true for step-by-step reasoning. About 50 requests a minute.
| Name | Type | Req | Description |
|---|---|---|---|
| max_tokens | integer | – | – |
| model | string | – | – |
| prompt | string | yes | – |
| system | – | – | – |
| temperature | – | – | – |
| thinking | boolean | – | – |
No output schema declared.
No examples provided.
fanar_deep_research ~111
Start a Fanar-Sadiq-2 deep research job: a structured report on an Islamic topic, with headings and cited sources. It takes minutes (quick about 3-6, standard about 7-10); poll it with fanar_deep_research_result. Requires Fanar-Sadiq-2 on the key. About 20 jobs a day.
| Name | Type | Req | Description |
|---|---|---|---|
| depth | string | – | – |
| topic | string | yes | – |
| web_search | boolean | – | – |
No output schema declared.
No examples provided.
fanar_deep_research_result ~42
Fetch the status, progress or finished report of a Fanar-Sadiq-2 deep research job.
| Name | Type | Req | Description |
|---|---|---|---|
| job_id | string | yes | – |
No output schema declared.
No examples provided.
fanar_generate_image ~65
Generate a culturally aware image with Fanar Oryx and save it; returns the file path and the prompt as Fanar revised it. About 20 requests a day.
| Name | Type | Req | Description |
|---|---|---|---|
| filename | – | – | – |
| prompt | string | yes | – |
| revise | boolean | – | – |
No output schema declared.
No examples provided.
fanar_islamic_qa ~173
Ask Fanar-Sadiq an Islamic question and get an answer grounded in cited sources such as the Qur'an, hadith collections and fatwa collections. Show the references with the answer and present it as a cited answer, never as a fatwa. Fanar-Sadiq-2 adds madhab and source filters when your key is entitled to it; madhab is a list such as ["hanafi"], from all, hanafi, maliki, shafii and hanbali. About 50 requests a minute.
| Name | Type | Req | Description |
|---|---|---|---|
| exclude_sources | – | – | – |
| madhab | – | – | – |
| max_tokens | integer | – | – |
| model | string | – | – |
| preferred_sources | – | – | – |
| question | string | yes | – |
| restrict_to_islamic | – | – | – |
No output schema declared.
No examples provided.
fanar_list_models ~54
List the Fanar models this API key may call. Entitlements differ per key: for example Fanar-Sadiq-2, which powers the quotation validator and deep research, must be enabled by Fanar.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
fanar_moderate ~58
Score a prompt and response pair with FanarGuard for safety and cultural awareness, in Arabic or English. Requires Fanar-Guard-2 on the key.
| Name | Type | Req | Description |
|---|---|---|---|
| prompt | string | yes | – |
| response | string | yes | – |
No output schema declared.
No examples provided.
fanar_poem ~41
Compose Arabic poetry in the classical tradition with Fanar-Diwan. Requires Fanar-Diwan on the key.
| Name | Type | Req | Description |
|---|---|---|---|
| prompt | string | yes | – |
No output schema declared.
No examples provided.
fanar_text_to_speech ~106
Speak Arabic or English text with a Fanar Aura voice and save it as an audio file; returns the file path. Qur'an recitation by a named reciter needs Fanar-Sadiq-TTS-1. About 20 requests a day.
| Name | Type | Req | Description |
|---|---|---|---|
| filename | – | – | – |
| model | string | – | – |
| quran_reciter | – | – | – |
| response_format | string | – | – |
| text | string | yes | – |
| voice | string | – | – |
No output schema declared.
No examples provided.
fanar_transcribe ~77
Transcribe Arabic (including dialects) or English audio from a local file with Fanar Aura. long_form=true uses the long-audio model (about 10 requests a day); otherwise about 20 a day.
| Name | Type | Req | Description |
|---|---|---|---|
| audio_path | string | yes | – |
| long_form | boolean | – | – |
| output | string | – | – |
No output schema declared.
No examples provided.
fanar_translate ~82
Translate between Arabic and English with Fanar's Shaheen models, including classical Arabic such as hadith and fiqh texts. About 20 requests a day; keep each request under about 4,000 words.
| Name | Type | Req | Description |
|---|---|---|---|
| langpair | string | yes | – |
| model | string | – | – |
| preprocessing | string | – | – |
| text | string | yes | – |
No output schema declared.
No examples provided.
fanar_validate_quotations ~94
Detect and verify Qur'an and hadith quotations inside any text: an LLM answer, a draft, an article. Verified quotations come back tagged and linked to canonical sources; a quotation left untagged could not be confirmed and must be treated as unverified. Requires Fanar-Sadiq-2 on the key. About 200 requests a minute.
| Name | Type | Req | Description |
|---|---|---|---|
| text | string | yes | – |
No output schema declared.
No examples provided.
How do I install the Fanar MCP server?
Fanar runs locally as a PyPI package, launched with uvx fanar-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · fanar-mcp
claude mcp add blade-labs-fanar-mcp -- uvx fanar-mcp
What is the Fanar MCP server?
Fanar is an MCP server listed in the public MCP registry as io.github.Blade-Labs/fanar-mcp. Fanar (QCRI) for MCP: cited Islamic Q&A, Qur'an and hadith checks, Arabic translation and speech. This page covers its PyPI package (fanar-mcp).
Is the Fanar MCP server safe to use?
Fanar scores 71 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Fanar MCP server expose?
Fanar exposes 12 tools: fanar_list_models, fanar_chat, fanar_islamic_qa, fanar_validate_quotations, fanar_deep_research, and 7 more. Their descriptions and schemas cost roughly 1,026 tokens of context every time the server is loaded.
Is the Fanar MCP server still maintained?
Fanar is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Fanar MCP server under?
Fanar declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.