Arzbin MCP Server
Live Iran exchange rates, gold, crypto, and Toman market data for AI agents.
我该使用它吗
质量与安全性
发现(2)
- LOW在 get_market_history 中
- LOW在 get_fiat_rate_sources 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"market-data": {
"url": "https://hub.arzbin.com/mcp"
}
}
}远程端点
https://hub.arzbin.com/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢convert_to_toman(assetType, code, amount)
Converts a fiat, crypto, or gold amount to an estimated Toman value using latest Arzbin indicative market data. Not financial advice.
输入模式
{
"type": "object",
"properties": {
"assetType": {
"description": "Asset type: fiat, crypto, or gold.",
"type": "string"
},
"code": {
"description": "Asset code such as USD, EUR, USDT, BTC, EMAMI, or GOLD_GRAM.",
"type": "string"
},
"amount": {
"description": "Amount of the asset to convert to Toman. Must be greater than zero.",
"type": "number"
}
},
"required": [
"assetType",
"code",
"amount"
]
}输出模式
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"assetType": {
"type": "string"
},
"code": {
"type": "string"
},
"amount": {
"type": "number"
},
"rateToman": {
"type": "number"
},
"estimatedToman": {
"type": "number"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"canonicalUrl": {
"type": "string"
},
"disclaimer": {
"type": "string"
}
},
"required": [
"assetType",
"code",
"amount",
"rateToman",
"estimatedToman",
"generatedAtUtc",
"canonicalUrl",
"disclaimer"
]
}
},
"required": [
"source",
"disclaimer",
"generatedAtUtc",
"data"
]
}🟢get_latest_gold_rates(types)
Returns latest Arzbin gold and coin rates in Toman. Data is indicative market data, not financial advice.
输入模式
{
"type": "object",
"properties": {
"types": {
"description": "Optional gold or coin codes such as EMAMI, AZADI, GOLD_GRAM. Omit for all available gold rates.",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
}
}
}输出模式
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"data": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"buy": {
"type": "number"
},
"sell": {
"type": "number"
},
"category": {
"type": "string"
},
"change": {
"type": "string"
},
"canonicalUrl": {
"type": "string"
}
},
"required": [
"code",
"name",
"buy",
"sell",
"category",
"change",
"canonicalUrl"
]
}
}
},
"required": [
"source",
"disclaimer",
"generatedAtUtc",
"data"
]
}🟢get_market_history(assetType, code, days)
Returns OHLC history for a fiat, gold, or crypto market. Days are clamped to 1-365.
输入模式
{
"type": "object",
"properties": {
"assetType": {
"description": "Asset type: fiat, gold, or crypto.",
"type": "string"
},
"code": {
"description": "Market code, such as USD, EMAMI, GOLD_GRAM, USDT, BTC.",
"type": "string"
},
"days": {
"description": "Number of days of history to return, from 1 to 365.",
"type": "integer",
"default": 30
}
},
"required": [
"assetType",
"code"
]
}输出模式
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"code": {
"type": "string"
},
"period": {
"type": "string"
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"open": {
"type": "number"
},
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"close": {
"type": "number"
}
}
}
}
}
}
},
"required": [
"source",
"disclaimer",
"generatedAtUtc",
"data"
]
}🟢get_latest_crypto_rates(symbols)
Returns latest curated Arzbin crypto prices in Toman and USD. Data is indicative market data, not financial advice.
输入模式
{
"type": "object",
"properties": {
"symbols": {
"description": "Optional crypto symbols such as USDT, BTC, ETH. Omit for all available crypto rates.",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
}
}
}输出模式
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"data": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"tomanPrice": {
"type": "number"
},
"usdPrice": {
"type": "number"
},
"change24h": {
"type": [
"number",
"null"
]
},
"change7d": {
"type": [
"number",
"null"
]
},
"isDerived": {
"type": "boolean"
},
"isStale": {
"type": "boolean"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"canonicalUrl": {
"type": "string"
}
},
"required": [
"code",
"name",
"tomanPrice",
"usdPrice",
"change24h",
"change7d",
"isDerived",
"isStale",
"updatedAt",
"canonicalUrl"
]
}
}
},
"required": [
"source",
"disclaimer",
"generatedAtUtc",
"data"
]
}🟢get_latest_fiat_rates(codes)
Returns latest Arzbin fiat currency rates in Toman. Data is indicative market data, not financial advice.
输入模式
{
"type": "object",
"properties": {
"codes": {
"description": "Optional fiat currency codes such as USD, EUR, AED, GBP. Omit for all available fiat rates.",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
}
}
}输出模式
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"data": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"buy": {
"type": "number"
},
"sell": {
"type": "number"
},
"change": {
"type": "string"
},
"canonicalUrl": {
"type": "string"
}
},
"required": [
"code",
"name",
"buy",
"sell",
"change",
"canonicalUrl"
]
}
}
},
"required": [
"source",
"disclaimer",
"generatedAtUtc",
"data"
]
}🟢get_fiat_rate_sources(code)
Returns Arzbin source comparison data for a fiat currency code where available.
输入模式
{
"type": "object",
"properties": {
"code": {
"description": "Fiat currency code such as USD, EUR, AED, GBP.",
"type": "string"
}
},
"required": [
"code"
]
}输出模式
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generatedAtUtc": {
"type": "string",
"format": "date-time"
},
"data": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"buy": {
"type": "number"
},
"sell": {
"type": "number"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
}
}
}
},
"required": [
"source",
"disclaimer",
"generatedAtUtc",
"data"
]
}社区
证据