# RTL awareness for coding agents (npm · rtl-mcp)

Give coding agents right-to-left awareness: lint, normalise Arabic, detect direction.

- Trust score: 75/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-15

## Components

- npm · `rtl-mcp`: 75/100 (this document), [markdown](https://verifymcp.io/servers/kahlelhawary-art-rtl-mcp/rtl-mcp.md), [page](https://verifymcp.io/servers/kahlelhawary-art-rtl-mcp/rtl-mcp)

## Channel facts

- Registry: `npm`
- Package: `rtl-mcp`
- Version: `0.2.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-15.

- **Supply Chain Security**: 100/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.
  - 0 of 1 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 71/100
  - Repository check failed: no source repository is declared.
  - Cryptographically verified build provenance (signed, bound to kahlelhawary-art/rtl-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 5 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 80/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 465 tokens (~116/item across 4 items; 4 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 kahlelhawary-art-rtl-mcp -- npx -y rtl-mcp
```

### Codex

```bash
codex mcp add kahlelhawary-art-rtl-mcp -- npx -y rtl-mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add kahlelhawary-art-rtl-mcp --command npx --arg -y --arg rtl-mcp
```

### Hermes

```yaml
mcp_servers:
  kahlelhawary-art-rtl-mcp:
    command: "npx"
    args: ["-y", "rtl-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "kahlelhawary-art-rtl-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "rtl-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-13 (score 75, 0)

- [functional regression] Security disclosure: unverified → fail

### 2026-08-12 (score 75, 0)

- [functional regression] Security disclosure: fail → unverified

### 2026-08-11 (score 75, 0)

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

### 2026-08-09 (score 75)

First indexed and scored.

## MCP tools (4)

### `lint_rtl_code` (~160 tokens)

Check a snippet of CSS, HTML, JSX or TSX for layout that breaks in right-to-left languages: physical CSS properties, directional Tailwind utilities, and dir problems. Returns each finding with the logical replacement. Use this before handing RTL-facing markup back to the user.

Input parameters:

- `baseDir` (string): The base direction of the document. Pass "rtl" when the app root is <html dir="rtl">: in an Arabic-first app "right" is the start side, so the logical replacement is the opposite one. Default "ltr".
- `code` (string, required): The source to check.
- `filename` (string, required): A filename such as Button.tsx or theme.css. Only the extension matters — it selects which rules run.

### `lint_rtl_path` (~75 tokens)

Check a file or a whole directory on disk for right-to-left layout problems. Skips node_modules and build output.

Input parameters:

- `baseDir` (string): Base direction of the app. Pass "rtl" for an Arabic-first codebase. Default "ltr".
- `path` (string, required): File or directory path to check.

### `normalize_arabic` (~163 tokens)

Normalise Arabic text so that forms users type interchangeably compare equal — strips diacritics and tatweel and folds the alef variants. Use it for search keys, deduplication and matching, never for text you are about to display.

Input parameters:

- `collapseWhitespace` (boolean): Collapse whitespace runs. Default false.
- `convertDigits` (boolean): Convert Arabic-Indic digits into 0-9. Default false.
- `text` (string, required): The Arabic text to normalise.
- `unifyAlefMaqsura` (boolean): Fold ى into ي. Helps fuzzy matching, changes meaning. Default false.
- `unifyTaaMarbuta` (boolean): Fold ة into ه. Helps fuzzy matching, changes meaning. Default false.

### `detect_direction` (~67 tokens)

Report whether a string is predominantly right-to-left, left-to-right, mixed or neutral, and what to set dir to. Use it when you need to decide the direction of a label, a database field or a block of user content.

Input parameters:

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

## Diagnostics

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

## Score history

- 2026-08-15: 75
- 2026-08-14: 75
- 2026-08-13: 75
- 2026-08-12: 75
- 2026-08-11: 75
- 2026-08-10: 75
- 2026-08-09: 75

## Links

- npm package: https://www.npmjs.com/package/rtl-mcp
- Socket report: https://socket.dev/npm/package/rtl-mcp
- Website: https://github.com/kahlelhawary-art/rtl-mcp
- Changelog RSS feed: https://verifymcp.io/servers/kahlelhawary-art-rtl-mcp/rtl-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/kahlelhawary-art-rtl-mcp/rtl-mcp.json
- HTML version of this page: https://verifymcp.io/servers/kahlelhawary-art-rtl-mcp/rtl-mcp
