LocalFree server, account needed

CommodityPriceAPI MCP server

Commodity-Price-API/commoditypriceapi-mcp

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

0 GitHub stars

Install CommodityPriceAPI in Claude Code

Claude Code
claude mcp add commoditypriceapi -e COMMODITYPRICEAPI_KEY=... -- npx -y @commoditypriceapi/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "commoditypriceapi": {
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/mcp"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the CommodityPriceAPI MCP server do?

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

Is the CommodityPriceAPI MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does CommodityPriceAPI run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add CommodityPriceAPI to Claude Code?

Run: claude mcp add commoditypriceapi -e COMMODITYPRICEAPI_KEY=... -- npx -y @commoditypriceapi/mcp

More other tools & integrations MCP servers

View all