FarsiTools (paid)

dev.workers.johnaio281.farsi-tools由 farsi-tools.johnaio281.workers.dev 发布官方发布者v1.8.0更新于 Oct 29, 2026

Persian and Iranian utilities for agents: Jalali dates, national ID, IBAN, holidays. Paid via x402.

已验证Streamable HTTP可网页运行位置与生活金融开发者工具

概览

AI 生成的概览

面向波斯语与伊朗数据的远程 MCP 服务器:文本规范化、转写、Jalali 日期、证件与银行信息校验、节假日查询,按次付费。

可以做什么
  • 规范化、转写、统计、分句与比较波斯语文本,并清理 HTML 与 RTL 控制字符
  • 转换数字体系,把数字和金额写成波斯语文字,并在里亚尔与土曼之间换算
  • 在公历与 Jalali(波斯历)之间转换日期
  • 校验伊朗身份证号、企业识别号、经济代码、邮编、Sheba IBAN、银行卡、手机与固话号码
  • 查询伊朗省份、城市与法定节假日,并判断某个 Jalali 日期是否为假日
适用场景
适合助手处理波斯语内容或伊朗业务数据的场景:清洗与索引波斯语文本、为伊朗用户呈现日期和金额,或在接收与使用身份、银行、地址字段前进行校验。
运行要求
远程 streamable HTTP 端点,无需本地运行时、账号或 API 密钥。每次工具调用通过 x402 以 Base 上的 USDC 付费,因此需要能完成该支付的加密钱包;列出工具免费。
安装前请注意
每次调用都会产生费用(约 0.003 至 0.01 美元 USDC,Base 网络),循环或批量处理可能持续花钱,使用前应设限额。校验类工具会接收身份证号、IBAN、银行卡号和电话号码等敏感标识,这些数据会发送到提供方端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 FarsiTools (paid),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/dev.workers.johnaio281.farsi-tools%2Ffarsi-tools/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "farsitools-paid": {
      "type": "http",
      "url": "https://farsi-tools.johnaio281.workers.dev/mcp"
    }
  }
}

README

该仓库没有 README。

工具

27

fa_normalize

Normalize Persian (Farsi) text: convert Arabic letter variants (ي, ك) to their Persian forms, unify ZWNJ and spacing, and map Arabic-Indic digits to Persian digits. Use it before indexing, searching or comparing Persian text so that lookalike spellings match. Returns the normalized string. ($0.01 per call, USDC on Base)

输入参数text必填options

fa_transliterate

Transliterate Persian, Dari or Arabic script into Latin letters, optionally as a URL slug. Use it to index Persian text in a Latin-keyword search engine, to build slugs for Persian titles, or to render Persian names in a Latin-only system. Returns the Latin transliteration and, when asked, the slug. ($0.01 per call, USDC on Base)

输入参数slugtext必填options

fa_stats

Measure Persian text: character count, word count, line count and the number of ZWNJ half-space characters. Use it to size a Persian document, enforce a length limit, or report text statistics for Persian content. Returns a stats object. ($0.005 per call, USDC on Base)

输入参数text必填options

fa_digits

Convert the digits inside a string between Persian (۰-۹), Arabic-Indic (٠-٩) and ASCII (0-9) numeral systems, leaving the rest of the text untouched. Use it to make Persian text machine-readable or to render an ASCII number in Persian script. Returns the converted string. ($0.003 per call, USDC on Base)

输入参数totext必填

fa_numberToWords

Write an integer out in Persian words (عدد به حروف), for example 1234 as هزار و دویست و سی و چهار. Use it for Persian invoices, cheque amounts, legal and official forms, and display. Returns the number spelled in Persian words. ($0.01 per call, USDC on Base)

输入参数number必填

fa_gregorianToJalali

Convert a Gregorian (ISO, Western) calendar date to the Jalali, Solar Hijri, Persian or Shamsi calendar used in Iran. Use it to display a date to Iranian users, to schedule work in the Iranian calendar, or to convert a Gregorian deadline into a Jalali date. Returns the Jalali year, month, day and month name. ($0.005 per call, USDC on Base)

输入参数day必填year必填month必填

fa_jalaliToGregorian

Convert a Jalali (Solar Hijri, Persian, Shamsi) calendar date to the Gregorian calendar. Use it to turn a date written in the Iranian calendar back into an ISO 8601 date, to check whether a Jalali date is today, or to compare an Iranian deadline with a Western one. Returns the Gregorian year, month, day and weekday. ($0.005 per call, USDC on Base)

输入参数day必填year必填month必填

fa_validateNationalId

Validate an Iranian national ID (کد ملی, code melli) by recomputing its check digit. Use it before accepting an identity number from a form, a customer, or an API payload. Returns whether the number is valid, and the parsed digits. ($0.005 per call, USDC on Base)

输入参数value必填

fa_validateSheba

Validate an Iranian IBAN, called Sheba (شبا), with the ISO 13616 mod-97 check, and return the bank code. Use it before sending or crediting an Iranian bank transfer. Returns validity, the normalized IBAN and the bank identifier. ($0.005 per call, USDC on Base)

输入参数value必填

fa_validateMobile

Validate and normalize an Iranian mobile phone number, checking the operator prefix (MCI, Irancell, Rightel, Shatel) and the national format 09xxxxxxxxx. Use it to verify a phone number on a sign-up form or before sending an SMS. Returns validity, the normalized number and the operator. ($0.005 per call, USDC on Base)

输入参数value必填

fa_keywords

Extract the frequent keywords from Persian text, filtering Persian and English stopwords and ranking by frequency. Use it to build a search index, an automatic tag list, or a topic summary for a Persian document. Returns the ranked keywords. ($0.01 per call, USDC on Base)

输入参数text必填limitoptions

fa_sentences

Split Persian text into sentences, handling the Persian question mark ؟, the exclamation mark, ellipsis … and abbreviation boundaries. Use it to chunk Persian text for summarization, translation or per-sentence processing. Returns the list of sentences. ($0.005 per call, USDC on Base)

输入参数text必填options

fa_similarity

Measure the similarity of two Persian strings as a trigram Jaccard score from 0 to 1. Use it to detect near-duplicate Persian text, deduplicate a corpus, or rank one Persian string against another. Returns the similarity score. ($0.01 per call, USDC on Base)

输入参数a必填b必填

fa_stripHtml

Strip HTML tags and decode HTML entities out of a string, leaving the readable text behind. Use it to clean web pages or scraped content before feeding it to an agent or an index. Returns the plain text. ($0.005 per call, USDC on Base)

输入参数text必填options

fa_fixRtl

Remove Unicode bidi control characters and repair the spacing around right-to-left punctuation. Use it to clean Persian or Arabic text that renders in the wrong order or shows stray markers. Returns the cleaned string. ($0.005 per call, USDC on Base)

输入参数text必填options

fa_validateBankCard

Validate an Iranian bank card number, called a PAN (کارت بانکی), with the Luhn check digit, and return the issuing bank. Use it before charging a card or accepting card details from a customer. Returns validity, the masked number and the bank name. ($0.005 per call, USDC on Base)

输入参数value必填

fa_validateCompanyId

Validate an Iranian company national ID (شناسه ملی اشخاص حقوقی, the 11-digit legal-entity identifier) by recomputing its check digit. Use it when onboarding a business customer or validating an Iranian legal entity. Returns validity and the parsed digits. ($0.005 per call, USDC on Base)

输入参数value必填

fa_validateEconomicCode

Validate an Iranian economic code (کد اقتصادی, the 12-digit taxpayer identifier) by recomputing its check digit. Use it when validating the tax identifier on an Iranian invoice or a supplier record. Returns validity and the parsed digits. ($0.005 per call, USDC on Base)

输入参数value必填

fa_validatePostalCode

Validate an Iranian postal code (کد پستی, the 10-digit code) by recomputing its check digit. Use it before using a postal code for delivery or address validation. Returns validity, the normalized code and its province. ($0.005 per call, USDC on Base)

输入参数value必填

fa_validateLandline

Validate and normalize an Iranian landline number with its area code (021 for Tehran and so on) and resolve that area code to a city. Use it to verify a fixed-line contact or to route a support request to the right region. Returns validity, the normalized number, the area code and the city. ($0.005 per call, USDC on Base)

输入参数value必填

fa_iranProvince

Look up an Iranian province by its Persian name and return its capital and major cities. Use it to resolve a province in an address, to attach geographic context to a user, or to normalize a location field. Returns the province, its capital and its cities. ($0.005 per call, USDC on Base)

输入参数nametextvalue

fa_iranCity

Look up an Iranian city by its Persian name and return the province it belongs to. Use it to resolve a city in an address or to group a location by region. Returns the city and its province. ($0.005 per call, USDC on Base)

输入参数nametextvalue

fa_iranProvinces

List all 31 Iranian provinces with their capitals and major cities. Use it to populate a province dropdown, to build a location picker, or to validate a region name. Returns every province. ($0.003 per call, USDC on Base)

无需输入参数。

fa_iranHolidays

Return the official Iranian public holidays for a Jalali (Solar Hijri) year, with each holiday's Gregorian date and name. Use it to plan delivery or support schedules around Iranian holidays, or to flag non-working days. Returns the holiday list. ($0.005 per call, USDC on Base)

输入参数year必填

fa_iranHolidayCheck

Check whether a given Jalali (Solar Hijri) date is an Iranian public holiday and return the holiday's name if it is. Use it before booking, scheduling or sending a deadline-sensitive action on an Iranian working day. Returns whether it is a holiday and which one. ($0.005 per call, USDC on Base)

输入参数day必填year必填month必填

fa_amountToWords

Write an amount of Iranian rial or toman out in Persian words (مبلغ به حروف), as required on Iranian cheques, invoices and contracts. Use it to render a payable amount for a Persian-speaking payer. Returns the amount spelled in Persian words with its unit. ($0.005 per call, USDC on Base)

输入参数unitamount必填number

fa_rialToman

Convert an amount between Iranian rial and toman, where 1 toman equals 10 rial. Use it when a price is given in one unit and must be shown or billed in the other. Returns the converted amount. ($0.003 per call, USDC on Base)

输入参数unitamount必填number

版本历史

4
  1. v1.8.0最新Oct 29, 2026
  2. v1.5.0Oct 21, 2026
  3. v1.4.0Oct 21, 2026
  4. v1.1.0Oct 21, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。