RTL PDF

Correctly shaped right-to-left PDFs for Arabic, Urdu and Persian text.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
99%
Naming quality
90%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,325Tokens (tool definitions)
~5.8 KBTypical response size
Moderate attention impact (1.04% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "arabic-pdf": {
      "url": "https://rtlpdf.com/mcp"
    }
  }
}

Remote endpoints

https://rtlpdf.com/mcpstreamable-http

What it can do

Tool inventory

Tools (2)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟡make_pdf_arabic(text, language, font, paper, font_size, ...)

Create a PDF from Arabic, Urdu or Persian text, or text that mixes them with English, with every letter correctly joined, lines running right to left, and numbers, dates, phone numbers and Latin words kept in order. Suited to PDFs, printable files, letters, notices, invoices, certificates, menus and handouts in Arabic, Urdu or Persian. The text is printed exactly as given; light Markdown is supported: '# ' headings, blank lines between paragraphs, '- ' bullets, '1. ' numbered lists, '| a | b |' tables (a '|---|' row marks a header) and **bold**. Returns a download link that works for 24 hours. It only lays out text: it does not write, translate or change wording, and it does not make images.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "description": "The full text to print, in Arabic, Urdu or Persian (English may be mixed in). Light Markdown allowed.",
      "maxLength": 30000,
      "minLength": 1,
      "title": "Text",
      "type": "string"
    },
    "language": {
      "default": "auto",
      "description": "Language of the text. 'auto' detects Urdu and Persian letters.",
      "enum": [
        "auto",
        "ar",
        "ur",
        "fa"
      ],
      "title": "Language",
      "type": "string"
    },
    "font": {
      "default": "auto",
      "description": "'auto' picks Nastaliq for Urdu and Naskh otherwise. Cairo and Tajawal are modern sans styles.",
      "enum": [
        "auto",
        "naskh",
        "nastaliq",
        "cairo",
        "tajawal"
      ],
      "title": "Font",
      "type": "string"
    },
    "paper": {
      "default": "A4",
      "description": "Page size.",
      "enum": [
        "A4",
        "A5",
        "Letter"
      ],
      "title": "Paper",
      "type": "string"
    },
    "font_size": {
      "anyOf": [
        {
          "maximum": 28,
          "minimum": 7,
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Text size in points, 7 to 28. Leave empty for the font's default.",
      "title": "Font Size"
    },
    "title": {
      "default": "",
      "description": "Document title for the PDF metadata and file name. Defaults to the first heading.",
      "maxLength": 200,
      "title": "Title",
      "type": "string"
    },
    "justify": {
      "default": false,
      "description": "Justify paragraph lines.",
      "title": "Justify",
      "type": "boolean"
    },
    "page_numbers": {
      "default": true,
      "description": "Print page numbers when there is more than one page.",
      "title": "Page Numbers",
      "type": "boolean"
    },
    "bleed": {
      "default": false,
      "description": "Add 3 mm bleed and crop marks for professional printing.",
      "title": "Bleed",
      "type": "boolean"
    },
    "archival": {
      "default": false,
      "description": "Export as PDF/A-2a with PDF/UA-1 (archival and accessible), falling back to PDF/A-2b.",
      "title": "Archival",
      "type": "boolean"
    }
  },
  "required": [
    "text"
  ],
  "title": "make_pdf_arabicArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "description": "Link to the PDF.",
      "title": "Download Url",
      "type": "string"
    },
    "expires_at": {
      "description": "UTC time after which the link stops working.",
      "title": "Expires At",
      "type": "string"
    },
    "pages": {
      "title": "Pages",
      "type": "integer"
    },
    "language": {
      "title": "Language",
      "type": "string"
    },
    "font": {
      "title": "Font",
      "type": "string"
    },
    "paper": {
      "title": "Paper",
      "type": "string"
    },
    "title": {
      "title": "Title",
      "type": "string"
    },
    "standards": {
      "description": "PDF standards applied, if any.",
      "items": {
        "type": "string"
      },
      "title": "Standards",
      "type": "array"
    },
    "warnings": {
      "items": {
        "type": "string"
      },
      "title": "Warnings",
      "type": "array"
    }
  },
  "required": [
    "download_url",
    "expires_at",
    "pages",
    "language",
    "font",
    "paper",
    "title"
  ],
  "title": "MakePdfOutput"
}
🟢check_arabic_text(text, language)

Check Arabic, Urdu or Persian text for problems that break PDFs, search and copy-paste: pre-shaped glyph characters and reversed letter order (typical of text copied out of a broken PDF), Persian or Urdu letters mixed into Arabic and the reverse, hidden direction-control characters, mixed digit systems, and characters the fonts cannot print. Returns the issues in English and Arabic and, when a safe fix exists, a fixed version of the text for the user to review. Deterministic rules; no AI.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "description": "The text to check.",
      "maxLength": 200000,
      "minLength": 1,
      "title": "Text",
      "type": "string"
    },
    "language": {
      "default": "auto",
      "description": "Language of the text, or 'auto'.",
      "enum": [
        "auto",
        "ar",
        "ur",
        "fa"
      ],
      "title": "Language",
      "type": "string"
    }
  },
  "required": [
    "text"
  ],
  "title": "check_arabic_textArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "title": "Ok",
      "type": "boolean"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language"
    },
    "suggested_font": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Suggested Font"
    },
    "arabic_script_share": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Arabic Script Share"
    },
    "issues": {
      "items": {
        "$ref": "#/$defs/CheckIssue"
      },
      "title": "Issues",
      "type": "array"
    },
    "fixed_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "A corrected version of the text, when a safe fix exists.",
      "title": "Fixed Text"
    }
  },
  "required": [
    "ok",
    "language",
    "issues"
  ],
  "$defs": {
    "CheckIssue": {
      "properties": {
        "code": {
          "title": "Code",
          "type": "string"
        },
        "severity": {
          "enum": [
            "error",
            "warning",
            "info"
          ],
          "title": "Severity",
          "type": "string"
        },
        "count": {
          "title": "Count",
          "type": "integer"
        },
        "message_en": {
          "title": "Message En",
          "type": "string"
        },
        "message_ar": {
          "title": "Message Ar",
          "type": "string"
        },
        "examples": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Examples"
        }
      },
      "required": [
        "code",
        "severity",
        "count",
        "message_en",
        "message_ar"
      ],
      "title": "CheckIssue",
      "type": "object"
    }
  },
  "title": "CheckOutput"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded2 tools