NestDaddy

CommodityPriceAPI

io.github.Commodity-Price-API/commoditypriceapi-mcp · v1.2.3

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

Connect Runs on your machine

Terminal
claude mcp add commoditypriceapi-mcp -e COMMODITYPRICEAPI_KEY=<COMMODITYPRICEAPI_KEY> -e COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS=<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS> -- npx -y @commoditypriceapi/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "commoditypriceapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/[email protected]"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "<COMMODITYPRICEAPI_KEY>",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "commoditypriceapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/[email protected]"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "<COMMODITYPRICEAPI_KEY>",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "commoditypriceapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/[email protected]"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "<COMMODITYPRICEAPI_KEY>",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
COMMODITYPRICEAPI_KEY
Required, secret
Your CommodityPriceAPI key (get one at https://commoditypriceapi.com/auth/signup)
COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS
Optional
Upstream request timeout in milliseconds (default 15000)

Details

Package@commoditypriceapi/[email protected] (NPM, stdio)
First published27 Oct 2026
Last updated27 Oct 2026
Registry nameio.github.Commodity-Price-API/commoditypriceapi-mcp

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.