farsi-tools (paid)
Persian/Iranian tools for agents: Jalali dates, ID checks, holidays. Paid per call via x402.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (20)
- LOWin fa_numberToWords
- LOWin fa_gregorianToJalali
- LOWin fa_jalaliToGregorian
- LOWin fa_validateNationalId
- LOWin fa_validateSheba
- LOWin fa_validateMobile
- LOWin fa_stripHtml
- LOWin fa_fixRtl
- LOWin fa_validateBankCard
- LOWin fa_validateCompanyId
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"farsi-tools": {
"url": "https://farsi-tools.johnaio281.workers.dev/mcp"
}
}
}Remote-Endpunkte
https://farsi-tools.johnaio281.workers.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (27)
⚪fa_normalize(text, options)
Normalize Persian text (Arabic->Persian letters, ZWNJ, spacing, digits) ($0.01 per call, USDC on Base)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"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)
Eingabe-Schema
{
"type": "object",
"properties": {
"amount": {},
"number": {},
"unit": {
"type": "string"
}
},
"required": [
"amount"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis