Iran Gold Prices

io.github.sepehr071由 GitHub 账号 sepehr071 发布v0.3.0更新于 Nov 7, 2026

Read-only live 18k gold prices on Iranian sites: Milli.gold, Wallgold, Melligold, Daric, Taline.

已验证STDIO仅桌面网页搜索与抓取金融

概览

AI 生成的概览

只读 MCP 服务器,让助手比较伊朗五个黄金平台上 18K 金每克实时买入价与卖出价。

可以做什么
  • 比较 Milli.gold、Wallgold、Melligold、Daric 和 Taline 上 18K 金每克实时买入价与卖出价,按从低到高排序并给出最佳买入与卖出平台
  • 获取 Milli.gold 按日、周或月的价格历史,含首值、末值、最高、最低与涨跌幅
  • 读取 Milli.gold 的总体统计,如用户数、成交笔数、成交黄金量与门店数量
适用场景
当用户询问这些平台上 18K 熔金每克价格、哪里买入最便宜或卖出最划算,或 Milli.gold 近期价格走势时使用。不适用于实际买卖黄金,也不适用于美元、金币或加密货币行情。
运行要求
通过 uvx(或 pip install)以 stdio 在本地运行,需要 uv 和 Python 3.10 及以上。无需账号或 API 密钥。可选环境变量 IRAN_GOLD_MCP_PROXY 用于设置 HTTP 代理或逗号分隔的代理列表;系统代理设置会被忽略。Taline 仅向伊朗境内访客显示价格,境外可能需要代理。
安装前请注意
价格是各平台自身报价而非市场行情,不含交易手续费(通常约 0.5%),仅供参考,不构成投资建议。该服务器为非官方项目,依赖可能随时变更的公开接口。设置 IRAN_GOLD_MCP_PROXY 会让请求经过你选择的第三方代理,请只使用可信代理。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[iran-gold-mcp: compare live 18k gold prices on Milli.gold, Wallgold, Melligold, Daric and Taline from Claude, Cursor or Copilot]

iran-gold-mcp: live gold prices from Iranian gold platforms for AI agents

Compare the 18k gold price on Milli.gold, Wallgold, Melligold, Daric and Taline from your AI agent.
An unofficial, read-only MCP server for Iranian online platforms that sell 18k melted gold (طلای آب‌شده):
live buy and sell price per gram on each platform, the cheapest place to buy, the best place to sell, and Milli.gold's price history.

[PyPI] [Python] [CI] [MCP Registry] [License: MIT]

[Install in Cursor] [Install in VS Code]

For AI agents · Quick start · Tools · Good to know · FAQ · فارسی


For AI agents

  • What: unofficial MCP server (model context protocol) for the public prices of five Iranian online gold platforms: milli.gold, wallgold.ir, melligold.com, daric.gold and taline.ir.
  • Install: uvx iran-gold-mcp or claude mcp add iran-gold -- uvx iran-gold-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none, no API key or account. Optional IRAN_GOLD_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
  • Access: read-only, so no confirmation is needed before calling any tool. It cannot log in, trade or read a wallet.
  • Tools: 3, all prefixed gold_. Typical sequence: gold_prices -> gold_milli_history.
  • Use when: the user asks what 18k melted gold costs per gram on these platforms, where it is cheapest to buy or best to sell, or how the Milli.gold price moved over a day, week or month.
  • Do not use when: the user wants to buy or sell gold, or wants dollar, coin or crypto prices (see tgju-mcp).
  • Output: compact JSON. gold_prices is Toman per gram of 18k gold; gold_milli_history is Rial per milligram. Times are Tehran time.

Why

Every Iranian gold platform quotes its own price, in its own unit: Milli.gold in Rial per milligram, the others in Toman per gram, Daric as an order book with a separate bid and ask, and Taline only on its homepage. iran-gold-mcp reads all five at once, converts them to Toman per gram and sorts them:

You: Where is 18k gold cheapest to buy right now?

Agent: calls gold_prices()

Milli.gold is cheapest at 25,935,000 Toman per gram, then Wallgold (26,078,000), Melligold (26,133,565), Daric (26,209,064) and Taline (26,262,300). Platform fees are not included.

Real prices from 2026-10-27; they change all the time.

Example prompts:

  • "Compare the 18k gold price per gram on Milli, Wallgold, Melligold, Daric and Taline."
  • "Where should I sell 2 grams of melted gold right now?"
  • "Show me Milli.gold's gold price for the last month. What were the high and the low?"
  • قیمت طلای آب‌شده الان در کدام سایت ارزان‌تر است؟
  • قیمت هر گرم طلای ۱۸ عیار در میلی، وال‌گلد، ملی‌گلد، داریک و طلاین را مقایسه کن.

Quick start

You need uv. No API key or account.

Claude Code
bash
claude mcp add iran-gold -- uvx iran-gold-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

json
{  "mcpServers": {    "iran-gold": { "command": "uvx", "args": ["iran-gold-mcp"] }  }}
Cursor

Click Install in Cursor above, or add the Claude Desktop block to ~/.cursor/mcp.json.

VS Code (Copilot agent mode)

Click Install in VS Code above, or add to .vscode/mcp.json:

json
{  "servers": {    "iran-gold": { "type": "stdio", "command": "uvx", "args": ["iran-gold-mcp"] }  }}
Codex CLI
bash
codex mcp add iran-gold -- uvx iran-gold-mcp
Anything else

It's a standard stdio MCP server: run uvx iran-gold-mcp, or pip install iran-gold-mcp and run iran-gold-mcp.

Tools

All 3 tools are read-only and return compact JSON.

ToolWhat it does
gold_pricesCompares the live 18k gold buy and sell price per gram (Toman) on Milli.gold, Wallgold, Melligold, Daric and Taline, cheapest first, with best_to_buy and best_to_sell. A platform that does not answer is listed under failed; the rest still return
gold_milli_historyGets the Milli.gold 18k gold price series for a day, week or month (period: DAILY, WEEKLY, MONTHLY; points: 2-50, default 24) with first, last, high, low and change percent
gold_milli_statsGets Milli.gold's headline numbers: users, trade transactions, gold traded (kg), user balances (kg), burned gold (kg), branches and representatives

Good to know

  • Buy and sell. buy is what you pay per gram on that platform, sell what you get when you sell. Milli.gold, Wallgold and Melligold often show one price for both; Daric is an order book, so buy is the best ask and sell the best bid.
  • Fees are not included. Platforms charge a trading fee (often around 0.5 %) on top of the price.
  • Platform prices, not market quotes. Each number is that platform's own price for 18k melted gold, so expect small differences from tgju and from each other.
  • Units. Milli.gold quotes Rial per milligram; gold_prices converts it (x100 = Toman per gram). gold_milli_history keeps Rial per milligram.
  • Tehran time. as_of and history time values are Tehran time (UTC+3:30).
  • 15 s cache. Repeated calls within 15 seconds reuse the answer.
  • Taline needs an Iranian connection. Taline puts its price only on its homepage and only for visitors from Iran; elsewhere it is listed under failed. Outside Iran set IRAN_GOLD_MCP_PROXY to an Iranian HTTP proxy.

FAQ

Is there an API for Iranian gold platform prices?

Not an official one. iran-gold-mcp calls the public, login-free price endpoints that the platforms' own websites use.

How is it different from milligold-mcp and tgju-mcp?

milligold-mcp covers Milli.gold only. iran-gold-mcp covers Milli.gold plus Wallgold, Melligold, Daric and Taline and compares them. tgju-mcp gives market-wide rates for dollar, coins, gold and crypto.

Can it buy or sell gold for me?

No, and that's deliberate. It has no login and only reads public data.

Do I need an Iranian IP or a proxy?

Not by default. If requests are blocked from your network, set IRAN_GOLD_MCP_PROXY to an HTTP proxy. System proxy variables are ignored on purpose.

Configuration

VariableDefaultMeaning
IRAN_GOLD_MCP_PROXYunsetOptional HTTP proxy URL for the platform requests. A comma-separated list is used one at a time: the next proxy takes over when one is blocked or cannot connect. System proxy settings are ignored

فارسی: سرور MCP قیمت طلای آب‌شده

iran-gold-mcp یک سرور MCP غیررسمی و فقط‌خواندنی است که قیمت لحظه‌ای طلای ۱۸ عیار آب‌شده را از پلتفرم‌های آنلاین میلی، وال‌گلد، ملی‌گلد، داریک و طلاین می‌خواند و مقایسه می‌کند.

  • قیمت خرید و فروش هر گرم (تومان) در هر پلتفرم، از ارزان‌ترین به گران‌ترین، با بهترین جا برای خرید و فروش.
  • تاریخچه قیمت میلی در روز، هفته و ماه گذشته و آمار پلتفرم میلی.
  • فقط خواندنی است: خرید و فروش نمی‌کند و وارد حساب نمی‌شود. کارمزد پلتفرم‌ها در قیمت‌ها حساب نشده است.
  • طلاین قیمت را فقط به بازدیدکننده‌های داخل ایران نشان می‌دهد؛ بیرون از ایران IRAN_GOLD_MCP_PROXY را روی یک پراکسی ایرانی بگذارید.
bash
claude mcp add iran-gold -- uvx iran-gold-mcp

Development

bash
git clone https://github.com/sepehr071/iran-gold-mcp && cd iran-gold-mcpuv syncuv run ruff check . && uv run ruff format --check .uv run python -m pytest -q          # offline unit testsuv run python -m pytest -m live -q  # calls the real platformsuv build

Related servers

  • milligold-mcp for Milli.gold only
  • tgju-mcp for dollar, euro, gold, coin, crypto and commodity prices from tgju.org
  • iran-mcp: catalog of all Iranian-service MCP servers
  • mcpfarsi.ir: Persian marketplace of MCP servers for Iranian services

Disclaimer

Unofficial and not affiliated with or endorsed by Milli.gold, Wallgold, Melligold, Daric or Taline. It is read-only and uses public endpoints that can change without notice. Prices are informational and not financial advice.

Author

[Sepehr Radmard: open-source MCP servers for the Iranian web. LinkedIn: linkedin.com/in/sepehr-radmard]

Built and maintained by Sepehr Radmard (سپهر رادمرد). Connect on LinkedIn or follow @sepehr071 on GitHub for more MCP servers for Iranian websites, all listed in iran-mcp.

License

MIT

来源:README.md,提交 c4661b0

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.3.0最新Nov 7, 2026
  2. v0.2.0Oct 29, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分