NetArz FX Rates
Iranian rial/toman exchange rates (~30 currencies), conversion, history and gold. Free tier, no key.
我该使用它吗
质量与安全性
发现(3)
- HIGH
- MEDIUM在 get_gold_prices 中
- LOW在 get_rate 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"fx-rates": {
"url": "https://netarz.ir/api/fx/mcp"
}
}
}远程端点
https://netarz.ir/api/fx/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢list_currencies
Every currency on the NetArz Tehran free-market board: ISO code, Persian and English name, quote unit (some are quoted per 10 or 100 units) and its netarz.ir page. Pro-only currencies are listed with pro_only=true. فهرست ارزهای تابلوی نرخ نِت اَرز با واحد مظنه و نشانی صفحهٔ هر ارز.
输入模式
{
"type": "object",
"properties": {}
}🟢get_rate(code)
Today's Tehran free-market rate of one currency in Toman (IRT): buy, sell and mid per quote unit, change against yesterday, and the time of the data. نرخ امروز یک ارز در بازار آزاد تهران به تومان: خرید، فروش، میانگین و تغییر نسبت به دیروز.
输入模式
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "ISO 4217 code, e.g. USD, EUR, AED, TRY, GBP, CNY, IQD."
}
},
"required": [
"code"
]
}🟢get_rates_table(codes)
The whole board, or the codes you list, as structured rows plus a ready-to-show markdown table (buy / sell / mid in Toman, change vs yesterday). جدول نرخ همهٔ ارزها یا ارزهای انتخابی، با جدول markdown آماده.
输入模式
{
"type": "object",
"properties": {
"codes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "ISO 4217 code, e.g. USD, EUR, AED, TRY, GBP, CNY, IQD."
},
"maxItems": 40,
"description": "Optional. Leave out for every currency."
}
}
}🟢convert(amount, from, to, side)
Convert an amount between any two currencies, Toman (IRT) or Rial (IRR; 1 Toman = 10 Rial), through the board's dollar rate. side=mid (default), buy or sell. تبدیل مبلغ بین دو ارز، تومان یا ریال با نرخ تابلو.
输入模式
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Amount of ONE unit of `from` (not the board's quote unit)."
},
"from": {
"type": "string",
"description": "Currency code, or IRT (Toman) / IRR (Rial)."
},
"to": {
"type": "string",
"description": "Currency code, or IRT (Toman) / IRR (Rial)."
},
"side": {
"type": "string",
"enum": [
"mid",
"buy",
"sell"
],
"default": "mid"
}
},
"required": [
"amount",
"from",
"to"
]
}🟢get_history(code, days, from, to)
Daily Tehran open-market closing rate of a currency in Toman, with Gregorian and Jalali (Persian calendar) dates. Give `days` (back from today) or `from`/`to` (YYYY-MM-DD, Gregorian or Jalali such as 1404-01-01). Without a key: the last 365 days; a Pro FX API key reaches the whole archive (the dollar back to 1360 / 1981). At most 400 points per call; longer windows are sampled. نرخ پایانی روزانهٔ بازار آزاد با تاریخ شمسی و میلادی.
输入模式
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "ISO 4217 code, e.g. USD, EUR, AED, TRY, GBP, CNY, IQD."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 20000,
"description": "Days back from today (default 30). Ignored when `from` is given."
},
"from": {
"type": "string",
"description": "Start day, YYYY-MM-DD, Gregorian or Jalali."
},
"to": {
"type": "string",
"description": "End day, YYYY-MM-DD, Gregorian or Jalali. Default: today."
}
},
"required": [
"code"
]
}🟢get_gold_prices
Global gold and silver ounce in USD, and Toman values of 18k gold per gram, mesghal and coins as NetArz publishes them. The Toman gold figures are COMPUTED from the ounce and the dollar — not the Tehran market price (no premium or making charge); say so when you quote them. انس طلا و نقره و ارزش محاسبهای طلا به تومان (قیمت بازار تهران نیست).
输入模式
{
"type": "object",
"properties": {}
}社区
证据