# io.github.cc1a2b/arabicfmt-mcp (npm · arabicfmt-mcp)

Arabic formatting: 22 Arab currencies (Saudi riyal U+20C1), Hijri dates, تفقيط, RTL/bidi fixes.

- Trust score: 67/100 (medium)
- Change this week: +21
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `arabicfmt-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/cc1a2b-arabicfmt-mcp/arabicfmt-mcp.md), [page](https://verifymcp.io/servers/cc1a2b-arabicfmt-mcp/arabicfmt-mcp)

## Channel facts

- Registry: `npm`
- Package: `arabicfmt-mcp`
- Version: `0.1.1`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 30 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 83/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 1771 tokens (~104/item across 17 items; 17 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add cc1a2b-arabicfmt-mcp -- npx -y arabicfmt-mcp
```

### Codex

```bash
codex mcp add cc1a2b-arabicfmt-mcp -- npx -y arabicfmt-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "cc1a2b-arabicfmt-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "arabicfmt-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add cc1a2b-arabicfmt-mcp --command npx --arg -y --arg arabicfmt-mcp
```

### Hermes

```yaml
mcp_servers:
  cc1a2b-arabicfmt-mcp:
    command: "npx"
    args: ["-y", "arabicfmt-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "cc1a2b-arabicfmt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "arabicfmt-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 67, +46)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-07-31 (score 21, −25)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 46, +22)

- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 24, −22)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (17)

### `format_currency` (~192 tokens)

Format a number as an Arabic currency amount with the correct symbol, grouping, and decimal precision (e.g. 1234.5 SAR -> "1,234.50 ر.س"). Handles the 2025-2026 Unicode currency-symbol transition (Saudi Riyal U+20C1, etc.).

Input parameters:

- `amount` (number, required): The monetary amount to format.
- `currency` (string): ISO 4217 currency code, e.g. 'SAR', 'AED', 'KWD'. Defaults to SAR-area default.
- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.
- `numerals` (string): Numeral system: 'latn' (1234), 'arab' (Eastern Arabic ١٢٣٤), or 'arabext' (Persian/Urdu ۱۲۳۴).

### `spell_currency` (~128 tokens)

Spell out a currency amount in full Arabic words, including the major and minor units with correct grammatical agreement (e.g. 1234.5 SAR -> "ألف ومئتان وأربعة وثلاثون ريالاً وخمسون هللة").

Input parameters:

- `amount` (number, required): The monetary amount to spell out.
- `currency` (string): ISO 4217 currency code, e.g. 'SAR', 'AED', 'KWD'.
- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.

### `format_hijri` (~172 tokens)

Format a Gregorian date as a Hijri (Islamic) date string with Arabic month names and era (e.g. 2025-09-23 -> "٢٣ رمضان ١٤٤٧ هـ").

Input parameters:

- `date` (string, required): Gregorian date as ISO 8601 string, e.g. '2025-09-23' or '2025-09-23T00:00:00Z'.
- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.
- `numerals` (string): Numeral system: 'latn' (1234), 'arab' (Eastern Arabic ١٢٣٤), or 'arabext' (Persian/Urdu ۱۲۳۴).

### `to_hijri` (~66 tokens)

Convert a Gregorian date to its Hijri components. Returns a JSON object string like {"year":1447,"month":9,"day":23}.

Input parameters:

- `date` (string, required): Gregorian date as ISO 8601 string, e.g. '2025-09-23'.

### `arabic_to_words` (~81 tokens)

Convert an integer to its full Arabic cardinal words (e.g. 1234567 -> "مليون ومئتان وأربعة وثلاثون ألفاً وخمسمئة وسبعة وستون").

Input parameters:

- `feminine` (boolean): Use feminine grammatical gender for the counted noun.
- `n` (integer, required): The integer to convert to Arabic words.

### `arabic_ordinal` (~59 tokens)

Convert an integer to its Arabic ordinal words (e.g. 25 -> "الخامس والعشرون").

Input parameters:

- `feminine` (boolean): Use feminine grammatical gender.
- `n` (integer, required): The integer to convert to an Arabic ordinal.

### `format_number` (~144 tokens)

Format a number with locale-aware grouping, decimal separators, and optional Eastern Arabic numerals (e.g. 1234567.89 with numerals "arab" -> "١٬٢٣٤٬٥٦٧٫٨٩").

Input parameters:

- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.
- `numerals` (string): Numeral system: 'latn' (1234), 'arab' (Eastern Arabic ١٢٣٤), or 'arabext' (Persian/Urdu ۱۲۳۴).
- `value` (number, required): The number to format.

### `format_compact` (~146 tokens)

Format a number in compact notation with Arabic scale words (e.g. 1200000 with locale "ar" -> "1.2 مليون").

Input parameters:

- `compactDisplay` (string): Compact form: 'short' or 'long'.
- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.
- `numerals` (string): Numeral system: 'latn' (1234), 'arab' (Eastern Arabic ١٢٣٤), or 'arabext' (Persian/Urdu ۱۲۳۴).
- `value` (number, required): The number to format compactly.

### `parse_number` (~91 tokens)

Parse a string containing Latin or Eastern Arabic digits (with Arabic grouping/decimal separators) into a JavaScript number (e.g. "١٬٢٣٤٫٥٦" -> 1234.56). Returns the number as a string.

Input parameters:

- `input` (string, required): The numeric string to parse, e.g. '١٬٢٣٤٫٥٦' or '1,234.56'.

### `format_duration` (~121 tokens)

Format a duration in milliseconds as natural Arabic words (e.g. 7500000 -> "ساعتان وخمس دقائق").

Input parameters:

- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.
- `numerals` (string): Numeral system: 'latn' (1234), 'arab' (Eastern Arabic ١٢٣٤), or 'arabext' (Persian/Urdu ۱۲۳۴).
- `value` (number, required): Duration in milliseconds.

### `format_relative_time` (~165 tokens)

Format a date relative to a base date in Arabic (e.g. three days ago -> "منذ ٣ أيام"). Defaults the base to now.

Input parameters:

- `base` (string): Base/reference date as ISO 8601 string. Defaults to the current time.
- `date` (string, required): Target date as ISO 8601 string, e.g. '2025-09-20'.
- `locale` (string): BCP-47 locale, e.g. 'ar', 'ar-SA', 'en'. Defaults to 'ar'.
- `numerals` (string): Numeral system: 'latn' (1234), 'arab' (Eastern Arabic ١٢٣٤), or 'arabext' (Persian/Urdu ۱۲۳۴).

### `arabic_plural` (~89 tokens)

Select the correct Arabic plural form for a count from the six CLDR categories (e.g. 5 books -> "كتب"). Returns the chosen word.

Input parameters:

- `forms` (object, required): Arabic plural forms keyed by CLDR category. 'other' is required; 'zero','one','two','few','many' are optional.
- `n` (number, required): The count that selects the plural form.

### `isolate_foreign` (~70 tokens)

Wrap foreign/LTR runs (phone numbers, Latin text, URLs) inside Arabic text with Unicode bidi isolates so they render correctly in RTL contexts (e.g. "اتصل على +1 (555) 234-5678 الآن").

Input parameters:

- `text` (string, required): The mixed-direction text to process.

### `transliterate` (~46 tokens)

Transliterate Arabic text to Latin script (e.g. "مُحَمَّد" -> "muhammad").

Input parameters:

- `text` (string, required): The Arabic text to transliterate.

### `slugify` (~62 tokens)

Convert Arabic (or mixed) text into a URL-safe slug (e.g. "مدينة جدة" -> "mdynh-jdh").

Input parameters:

- `separator` (string): Word separator character. Defaults to '-'.
- `text` (string, required): The text to slugify.

### `validate_iban` (~76 tokens)

Validate an IBAN (International Bank Account Number) using its checksum and country length (e.g. "SA03 8000 0000 6080 1016 7519" -> "true"). Returns "true" or "false".

Input parameters:

- `iban` (string, required): The IBAN to validate; spaces are allowed.

### `validate_saudi_id` (~63 tokens)

Validate a Saudi national/iqama ID number using its Luhn-style checksum (e.g. "1012345672" -> "true"). Returns "true" or "false".

Input parameters:

- `id` (string, required): The 10-digit Saudi ID number to validate.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/cc1a2b-arabicfmt-mcp/arabicfmt-mcp#diagnostics

## Score history

- 2026-08-03: 67
- 2026-08-02: 67
- 2026-08-01: 21
- 2026-07-31: 21
- 2026-07-30: 46
- 2026-07-28: 24
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/arabicfmt-mcp
- Socket report: https://socket.dev/npm/package/arabicfmt-mcp
- Repository: https://github.com/cc1a2b/arabicfmt
- Changelog RSS feed: https://verifymcp.io/servers/cc1a2b-arabicfmt-mcp/arabicfmt-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/cc1a2b-arabicfmt-mcp/arabicfmt-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/cc1a2b-arabicfmt-mcp/arabicfmt-mcp
