farsi-tools (paid)
Persian/Iranian tools for agents: Jalali dates, ID checks, holidays. Paid per call via x402.
사용해야 할까요
품질 및 안전성
발견 사항 (20)
- LOWfa_numberToWords에서
- LOWfa_gregorianToJalali에서
- LOWfa_jalaliToGregorian에서
- LOWfa_validateNationalId에서
- LOWfa_validateSheba에서
- LOWfa_validateMobile에서
- LOWfa_stripHtml에서
- LOWfa_fixRtl에서
- LOWfa_validateBankCard에서
- LOWfa_validateCompanyId에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"farsi-tools": {
"url": "https://farsi-tools.johnaio281.workers.dev/mcp"
}
}
}원격 엔드포인트
https://farsi-tools.johnaio281.workers.dev/mcpstreamable-http할 수 있는 일
도구 목록
도구 (27)
⚪fa_normalize(text, options)
Normalize Persian text (Arabic->Persian letters, ZWNJ, spacing, digits) ($0.01 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_transliterate(text, options, slug)
Transliterate Persian/Arabic script to Latin, optional URL slug ($0.01 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
},
"slug": {
"type": "boolean"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_stats(text, options)
Persian text statistics: chars, words, lines, ZWNJ count ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_digits(text, to)
Convert digits between Persian (۰-۹), Arabic-Indic (٠-٩) and ASCII (0-9) ($0.003 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "text containing digits"
},
"to": {
"type": "string"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡fa_numberToWords(number)
Write an integer as Persian words (عدد به حروف) ($0.01 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"number": {
"description": "integer, string digits, commas or Persian digits"
}
},
"required": [
"number"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_gregorianToJalali(year, month, day)
Convert a Gregorian date to the Jalali (Solar Hijri) calendar ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"year": {
"type": "number"
},
"month": {
"type": "number"
},
"day": {
"type": "number"
}
},
"required": [
"year",
"month",
"day"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_jalaliToGregorian(year, month, day)
Convert a Jalali (Solar Hijri) date to the Gregorian calendar ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"year": {
"type": "number"
},
"month": {
"type": "number"
},
"day": {
"type": "number"
}
},
"required": [
"year",
"month",
"day"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_validateNationalId(value)
Validate an Iranian national ID (کد ملی) check digit ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "10-digit national ID"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_validateSheba(value)
Validate an Iranian IBAN/Sheba (شبا) with the mod-97 check ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "IR + 24 digits"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_validateMobile(value)
Validate and normalize an Iranian mobile number ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "mobile in any common format"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_keywords(text, options, limit)
Extract frequent keywords from Persian text (stopword-filtered) ($0.01 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
},
"limit": {
"type": "number"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_sentences(text, options)
Split Persian text into sentences (handles ؟ ! …) ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_similarity(a, b)
Trigram Jaccard similarity between two Persian strings (0..1) ($0.01 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"a": {
"type": "string",
"description": "first string"
},
"b": {
"type": "string",
"description": "second string"
}
},
"required": [
"a",
"b"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_stripHtml(text, options)
Strip HTML tags and entities from text ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴fa_fixRtl(text, options)
Remove bidi control characters and repair RTL punctuation spacing ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Persian (Farsi) text or value to process. Max 100000 characters."
},
"options": {
"description": "optional, e.g. {\"digits\":\"ascii\"}"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_validateBankCard(value)
Validate an Iranian bank card (PAN) with the Luhn check digit and return the issuing bank ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "16-digit Iranian bank card number"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_validateCompanyId(value)
Validate an Iranian company national ID (شناسه ملی اشخاص حقوقی, 11 digits) ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "11-digit legal-entity national ID"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_validateEconomicCode(value)
Validate an Iranian economic code (کد اقتصادی, 12 digits) ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "12-digit economic code"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_validatePostalCode(value)
Validate an Iranian postal code (کد پستی, 10 digits) ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "10-digit postal code"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_validateLandline(value)
Validate and normalize an Iranian landline number and resolve its area code to a city ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "landline in any common format"
}
},
"required": [
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_iranProvince(name, text, value)
Look up an Iranian province by name with its capital and major cities ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "province name in Persian"
},
"text": {
"type": "string",
"description": "alias for name"
},
"value": {
"type": "string",
"description": "alias for name"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_iranCity(name, text, value)
Look up an Iranian city and return the province it belongs to ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "city name in Persian"
},
"text": {
"type": "string",
"description": "alias for name"
},
"value": {
"type": "string",
"description": "alias for name"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_iranProvinces
List all 31 Iranian provinces with capitals and major cities ($0.003 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_iranHolidays(year)
Official Iranian public holidays for a Jalali (Solar Hijri) year ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"year": {
"type": "number"
}
},
"required": [
"year"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fa_iranHolidayCheck(year, month, day)
Check whether a Jalali date is an Iranian public holiday and return its name ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"year": {
"type": "number"
},
"month": {
"type": "number"
},
"day": {
"type": "number"
}
},
"required": [
"year",
"month",
"day"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡fa_amountToWords(amount, number, unit)
Write a rial or toman amount in Persian words (مبلغ به حروف) ($0.005 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"amount": {},
"number": {},
"unit": {
"type": "string"
}
},
"required": [
"amount"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪fa_rialToman(amount, number, unit)
Convert an amount between Iranian rial and toman (1 toman = 10 rial) ($0.003 per call, USDC on Base)
입력 스키마
{
"type": "object",
"properties": {
"amount": {},
"number": {},
"unit": {
"type": "string"
}
},
"required": [
"amount"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거