# Parsi MCP (npm · parsi-mcp)

Offline Persian/Iran tools: Jalali dates, validators, Persian text, price inputs, RTL frontend.

- Trust score: 74/100 (medium)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- npm · `parsi-mcp`: 74/100 (this document), [markdown](https://verifymcp.io/servers/amirjld-parsi-mcp/parsi-mcp.md), [page](https://verifymcp.io/servers/amirjld-parsi-mcp/parsi-mcp)

## Channel facts

- Registry: `npm`
- Package: `parsi-mcp`
- Version: `0.3.0`
- 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-11-05.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 30 of 93 dependencies flagged as unhealthy.
- **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 18 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 75/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (fair).
  - Tool/resource definitions use about 3195 tokens (~56/item across 57 items; 56 tools + 1 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 60/100
  - Stability observed for 18 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 69/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 7% of tool parameters carry a description.
- **Tool Safety**: 75/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "truncate_persian_text" implies "truncate" and declares no destructiveHint at all, which the MCP spec reads as destructive by default.
  - An AI judge read all 57 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Parsi MCP server?

Parsi MCP runs locally as an npm package, launched with npx -y parsi-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add amirjld-parsi-mcp -- npx -y parsi-mcp
```

### Cursor

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

### VS Code

```json
{
  "servers": {
    "amirjld-parsi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "parsi-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add amirjld-parsi-mcp -- npx -y parsi-mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add amirjld-parsi-mcp --command npx --arg -y --arg parsi-mcp
```

### Hermes

```yaml
mcp_servers:
  amirjld-parsi-mcp:
    command: "npx"
    args: ["-y", "parsi-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "amirjld-parsi-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "parsi-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add amirjld-parsi-mcp -t stdio -c npx -a -y parsi-mcp
```

### Other

```json
{
  "mcpServers": {
    "amirjld-parsi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "parsi-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-11-04 (score 74, +1)

No change was recorded against any check on this day. Stability & Change Management went from 53 to 57. That category is still filling its 30-day observation window: 16 days of observed history at the previous scan, 17 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-01 (score 73, +1)

No change was recorded against any check on this day. Stability & Change Management went from 43 to 47. That category is still filling its 30-day observation window: 13 days of observed history at the previous scan, 14 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-30 (score 72, +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.

### 2026-10-29 (score 71, 0)

- [functional regression] Security disclosure: unverified → fail

### 2026-10-28 (score 71, +1)

- [functional regression] Security disclosure: fail → unverified

### 2026-10-26 (score 70, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-24 (score 69, +1)

No change was recorded against any check on this day. Stability & Change Management went from 17 to 20. That category is still filling its 30-day observation window: 5 days of observed history at the previous scan, 6 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-22 (score 68, +1)

No change was recorded against any check on this day. Stability & Change Management went from 10 to 13. That category is still filling its 30-day observation window: 3 days of observed history at the previous scan, 4 at this one. The score rises as the window fills, whether or not the server changes.

## MCP tools (56)

### `gregorian_to_jalali` (~47 tokens)

Convert a Gregorian date to the Jalali (Persian) calendar.

Input parameters:

- `day` (integer, required)
- `month` (integer, required)
- `year` (integer, required)

### `jalali_to_gregorian` (~47 tokens)

Convert a Jalali (Persian) date to the Gregorian calendar.

Input parameters:

- `day` (integer, required)
- `month` (integer, required)
- `year` (integer, required)

### `jalali_year_info` (~36 tokens)

Leap-year status and month length for a Jalali year.

Input parameters:

- `month` (integer)
- `year` (integer, required)

### `validate_national_id` (~31 tokens)

Validate an Iranian national ID (code melli) using its checksum.

Input parameters:

- `value` (string, required)

### `validate_card_number` (~29 tokens)

Validate a 16-digit Iranian bank card number (Luhn).

Input parameters:

- `value` (string, required)

### `validate_sheba` (~28 tokens)

Validate an Iranian Sheba (IBAN) number.

Input parameters:

- `value` (string, required)

### `normalize_mobile` (~28 tokens)

Validate and normalize an Iranian mobile number to 09xxxxxxxxx.

Input parameters:

- `value` (string, required)

### `normalize_persian_text` (~34 tokens)

Normalize Arabic letter variants to Persian, clean spacing, and convert digits to Persian.

Input parameters:

- `text` (string, required)

### `to_persian_digits` (~28 tokens)

Convert any digits in a string to Persian digits.

Input parameters:

- `text` (string, required)

### `number_to_persian_words` (~34 tokens)

Write a non-negative integer in Persian words, e.g. for invoices.

Input parameters:

- `value` (integer, required)

### `convert_rial_toman` (~45 tokens)

Convert between rial and toman (1 toman = 10 rial).

Input parameters:

- `amount` (number, required)
- `from` (string, required)
- `to` (string, required)

### `bank_from_card` (~32 tokens)

Identify the Iranian bank from a card number (first 6 digits / BIN).

Input parameters:

- `card` (string, required)

### `bank_from_sheba` (~38 tokens)

Identify the Iranian bank from a Sheba (IBAN) number (3-digit bank code).

Input parameters:

- `sheba` (string, required)

### `mobile_operator` (~35 tokens)

Detect the mobile operator (MCI/Irancell/Rightel) of an Iranian mobile number.

Input parameters:

- `value` (string, required)

### `landline_province` (~31 tokens)

Find the province of an Iranian landline number from its area code.

Input parameters:

- `value` (string, required)

### `validate_postal_code` (~26 tokens)

Validate an Iranian 10-digit postal code.

Input parameters:

- `value` (string, required)

### `persian_words_to_number` (~43 tokens)

Convert Persian number words to a number, e.g. 'دویست و پنجاه هزار' -> 250000.

Input parameters:

- `text` (string, required)

### `format_jalali_date` (~67 tokens)

Format a Jalali date. Tokens: YYYY YY MMMM MM M DD D dddd.

Input parameters:

- `day` (integer, required)
- `month` (integer, required)
- `pattern` (string)
- `persianDigits` (boolean)
- `year` (integer, required)

### `parse_jalali_date` (~53 tokens)

Parse text like '1403/05/09', '۱۴۰۳-۵-۹' or '9 مرداد 1403' into a Jalali date.

Input parameters:

- `text` (string, required)

### `jalali_add` (~71 tokens)

Add days, months and/or years to a Jalali date (month overflow clamps to month length).

Input parameters:

- `day` (integer, required)
- `days` (integer)
- `month` (integer, required)
- `months` (integer)
- `year` (integer, required)
- `years` (integer)

### `jalali_diff` (~35 tokens)

Days between two Jalali dates plus a Persian relative description.

Input parameters:

- `from` (object, required)
- `to` (object, required)

### `slugify_persian` (~35 tokens)

Create a URL slug from Persian/Latin text.

Input parameters:

- `separator` (string)
- `text` (string, required)

### `sanitize_persian_text` (~45 tokens)

Fix ZWNJ (half-space) for می/نمی and plural suffixes, Persian punctuation and spacing, Arabic letter variants.

Input parameters:

- `text` (string, required)

### `calculate_vat` (~59 tokens)

VAT helper. Rate (percent) must be supplied. mode 'exclusive' = amount excludes tax, 'inclusive' = amount includes tax.

Input parameters:

- `amount` (number, required)
- `mode` (string, required)
- `ratePercent` (number, required)

### `format_number_grouped` (~59 tokens)

Group digits in threes (200000 -> 200,000 or ۲۰۰٬۰۰۰). Accepts Persian/Arabic digits.

Input parameters:

- `digits` (string)
- `separator` (string)
- `value` (string, required)

### `parse_grouped_number` (~44 tokens)

Strip separators and Persian/Arabic digits to a clean number, e.g. '۲۰۰٬۰۰۰' -> '200000'.

Input parameters:

- `text` (string, required)

### `price_to_persian_words` (~62 tokens)

Amount in Persian words with unit, e.g. 200000 toman -> 'دویست هزار تومان'. Toman may have one decimal digit (tenths = rials).

Input parameters:

- `amount` (string, required)
- `unit` (string)

### `price_input_snippet` (~54 tokens)

Ready-to-use RTL-friendly price input code: digit grouping while typing with caret preserved, live Persian words (aria-live), raw value submission. variant 'core' returns the shared helpers.

Input parameters:

- `variant` (string, required)

### `rtl_guidelines` (~33 tokens)

Full RTL frontend guidelines for Persian/Arabic UIs (also available as prompt and resource 'rtl-frontend-guidelines').

### `rtl_audit_css` (~63 tokens)

Scan CSS/HTML/JSX/Tailwind text for LTR-only patterns (margin-left, ml-4, text-align:left, float:left, left/right, forced ltr, directional icons...) and suggest logical replacements.

Input parameters:

- `code` (string, required)

### `rtl_convert_css` (~29 tokens)

Convert physical CSS (and React style objects) to logical properties.

Input parameters:

- `css` (string, required)

### `rtl_convert_tailwind` (~48 tokens)

Convert Tailwind physical utilities to logical ones (ml-4 -> ms-4, pr-2 -> pe-2, text-left -> text-start).

Input parameters:

- `text` (string, required)

### `rtl_starter_snippet` (~37 tokens)

Minimal RTL-ready setup for html, css, tailwind, nextjs, react or vue.

Input parameters:

- `framework` (string, required)

### `persian_relative_time` (~74 tokens)

Persian relative time like '۳ روز پیش' or '۲ ساعت دیگر'. Pass an ISO timestamp; 'now' defaults to the current time. Months = 30 days, years = 365 days.

Input parameters:

- `now` (string)
- `persianDigits` (boolean)
- `timestamp` (string, required)

### `jalali_month_grid` (~71 tokens)

Calendar grid for a Jalali month (for date-pickers): weeks of 7 cells with day number, Gregorian date and Friday flag; null cells pad the edges. Default week starts Saturday.

Input parameters:

- `month` (integer, required)
- `weekStart` (string)
- `year` (integer, required)

### `jalali_period_range` (~68 tokens)

Start/end (Jalali and Gregorian) of the Jalali day, week (Saturday-Friday), month, quarter (season) or year containing a date. Use for reports and finance periods instead of Gregorian date libraries.

Input parameters:

- `date` (object, required)
- `period` (string, required)

### `persian_ordinal` (~66 tokens)

Persian ordinal words: 3 -> سوم, 21 -> بیست و یکم, 30 -> سیام. 1 gives اول (set firstAsYekom for یکم).

Input parameters:

- `firstAsYekom` (boolean)
- `value` (integer, required)

### `persian_fuzzy_search` (~87 tokens)

Fuzzy-match a query against candidate strings, treating Arabic/Persian letter variants (ي/ی, ك/ک, آ/ا), diacritics, ZWNJ and digit styles as equal. Returns ranked matches with scores.

Input parameters:

- `candidates` (array, required)
- `limit` (integer)
- `query` (string, required)
- `threshold` (number)

### `persian_sort` (~63 tokens)

Sort strings in Persian alphabetical order (ا ب پ ت ... ی). Digits first (numeric), then Persian, then Latin. Ignores ZWNJ and Arabic/Persian letter variants.

Input parameters:

- `items` (array, required)
- `order` (string)

### `fix_keyboard_layout` (~69 tokens)

Fix text typed with the wrong keyboard layout using the standard Iranian layout (ISIRI 9147): 'sghl' -> 'سلام', and Persian typed on English back to Latin. direction 'auto' picks by script.

Input parameters:

- `direction` (string)
- `text` (string, required)

### `validate_legal_national_id` (~45 tokens)

Validate an 11-digit Iranian legal-entity national ID (شناسه ملی شخص حقوقی / company ID) with its checksum.

Input parameters:

- `value` (string, required)

### `csv_export_safe` (~83 tokens)

Build Excel/Sheets-safe CSV from rows: UTF-8 BOM, correct quoting, Persian digits in numeric cells converted to ASCII so Excel treats them as numbers, formula-injection guard, warnings for digit strings Excel may corrupt.

Input parameters:

- `bom` (boolean)
- `delimiter` (string)
- `excelSafe` (boolean)
- `rows` (array, required)

### `persian_font_preset` (~71 tokens)

CSS for Persian fonts (vazirmatn, shabnam, sahel, iransans): import link, font stack with fallbacks, RTL base styles. IRANSans is commercial so no CDN is given.

Input parameters:

- `font` (string, required)
- `selector` (string)

### `iran_provinces` (~52 tokens)

List Iran's 31 provinces with ISO 3166-2 code, Persian/English names and capital. Optional query matches Persian or English names (letter-variant tolerant).

Input parameters:

- `query` (string)

### `persian_text_stats` (~64 tokens)

Character, letter, digit, ZWNJ, word, sentence and paragraph counts for Persian/mixed text, plus reading time. wordsPerMinute is an adjustable assumption (default 180).

Input parameters:

- `text` (string, required)
- `wordsPerMinute` (number)

### `detect_text_direction` (~81 tokens)

Detect text direction (first-strong and dominant script, mixed flag) and optionally wrap the text bidi-safely: Unicode isolates (FSI/RLI/LRI) or HTML <bdi> / dir=auto. Use for usernames, product names and mixed Persian/English strings.

Input parameters:

- `text` (string, required)
- `wrap` (string)

### `truncate_persian_text` (~80 tokens)

Truncate text to maxLength (ellipsis included) without breaking words, ZWNJ-joined words, surrogate pairs or diacritics. mode 'word' (default) or 'char'.

Input parameters:

- `ellipsis` (string)
- `maxLength` (integer, required)
- `mode` (string)
- `text` (string, required)

### `persian_lorem_ipsum` (~66 tokens)

Deterministic Persian placeholder text (seeded, original word list; not real prose) for mockups.

Input parameters:

- `paragraphs` (integer)
- `seed` (integer)
- `sentencesPerParagraph` (integer)
- `wordsPerSentence` (integer)

### `format_iran_phone` (~77 tokens)

Display formats for an Iranian mobile (0912 345 6789, +98 912 345 6789, E.164) or landline (021-12345678). Accepts Persian digits, +98, 0098.

Input parameters:

- `persianDigits` (boolean)
- `value` (string, required)

### `format_short_number` (~90 tokens)

Short Persian number form: 2500000 -> '۲٫۵ میلیون', 1200 -> '۱٫۲ هزار' (style 'latin' gives 2.5M). Optional unit like تومان.

Input parameters:

- `maxFraction` (integer)
- `persianDigits` (boolean)
- `style` (string)
- `unit` (string)
- `value` (number, required)

### `decimal_to_persian_words` (~79 tokens)

Decimals, percents and fractions in Persian words: '12.5' -> 'دوازده ممیز پنج دهم', percent adds درصد, fraction '3/4' -> 'سه چهارم'.

Input parameters:

- `halfAsNim` (boolean)
- `mode` (string)
- `value` (string, required)

### `jalali_age` (~86 tokens)

Age (years, months, days, total days) from a Jalali birth date. asOf defaults to today.

Input parameters:

- `asOf`: Jalali date as {year,month,day} or text like '1405/07/24'
- `birth` (required): Jalali date as {year,month,day} or text like '1405/07/24'

### `validate_jalali_date` (~108 tokens)

Form validation for a Jalali date with readable reasons: month/day ranges (leap-aware), min, max and notFuture checks. Never throws.

Input parameters:

- `date` (object, required)
- `max`: Jalali date as {year,month,day} or text like '1405/07/24'
- `min`: Jalali date as {year,month,day} or text like '1405/07/24'
- `notFuture` (boolean)

### `iran_business_days` (~179 tokens)

Business-day helper: op 'is_business_day', 'add' (days may be negative) or 'count' (days after 'date' up to and including 'to'). Weekend is Friday (optionally Thursday too); supply holidays yourself or enable the fixed solar ones.

Input parameters:

- `date` (required): Jalali date as {year,month,day} or text like '1405/07/24'
- `days` (integer)
- `holidays` (array): Extra Jalali holiday dates you supply, e.g. '1405/01/01'
- `includeFixedSolarHolidays` (boolean)
- `op` (string, required)
- `to`: Jalali date as {year,month,day} or text like '1405/07/24'
- `weekend` (string): Weekend days; default friday only

### `iran_holidays` (~89 tokens)

Fixed solar-calendar public holidays of a Jalali year (Nowruz 1-4 Farvardin, 12-13 Farvardin, 14-15 Khordad, 22 Bahman, 29 Esfand) with Gregorian dates, plus the Hijri-based holiday list WITHOUT dates. Lunar holidays shift yearly and need the official annual calendar.

Input parameters:

- `year` (integer, required)

### `parse_iran_address` (~45 tokens)

Heuristically extract province, city (province capitals only), valid postal code, and plaque/unit/floor numbers from a Persian address string.

Input parameters:

- `text` (string, required)

## Diagnostics

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

## Score history

- 2026-11-05: 74
- 2026-11-04: 74
- 2026-11-03: 73
- 2026-11-02: 73
- 2026-11-01: 73
- 2026-10-31: 72
- 2026-10-30: 72
- 2026-10-29: 71
- 2026-10-28: 71
- 2026-10-27: 70
- 2026-10-26: 70
- 2026-10-25: 69
- 2026-10-24: 69
- 2026-10-23: 68
- 2026-10-22: 68
- 2026-10-21: 67
- 2026-10-20: 67
- 2026-10-19: 66
- 2026-10-18: 66

## Common questions

### What is the Parsi MCP server?

Parsi MCP is listed in the public MCP registry as io.github.amirjld/parsi-mcp. Offline Persian/Iran tools: Jalali dates, validators, Persian text, price inputs, RTL frontend. This page covers its npm package (parsi-mcp).

### Is the Parsi MCP server safe to use?

Parsi MCP scores 74 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. 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 Parsi MCP server expose?

Parsi MCP exposes 56 tools: gregorian_to_jalali, jalali_to_gregorian, jalali_year_info, validate_national_id, validate_card_number, and 51 more. Their descriptions and schemas cost roughly 3,179 tokens of context every time the server is loaded.

### Is the Parsi MCP server still maintained?

Parsi MCP 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 Parsi MCP server under?

Parsi MCP declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Parsi MCP server?

VerifyMCP ran 16 checks on Parsi MCP, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

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