CommodityPriceAPI

io.github.Commodity-Price-API/commoditypriceapi-mcp

Real-time and historical prices for gold, silver, oil, and 130+ other commodities.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "commoditypriceapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/mcp@1.2.3"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "<your COMMODITYPRICEAPI_KEY>",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "15000"
      }
    }
  }
}
Environment variables
  • COMMODITYPRICEAPI_KEYrequiredsecretYour CommodityPriceAPI key (get one at https://commoditypriceapi.com/auth/signup)
  • COMMODITYPRICEAPI_REQUEST_TIMEOUT_MSUpstream request timeout in milliseconds (default 15000)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.2.3
Registry
active
Published
10/27/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that CommodityPriceAPI is listed here — it’s also the link we check for a free listing.

CommodityPriceAPI — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-commodity-price-api-commoditypriceapi-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="CommodityPriceAPI — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![CommodityPriceAPI — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-commodity-price-api-commoditypriceapi-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.