Real-time and historical prices for gold, silver, oil, and 130+ other commodities.
Connect Runs on your machine
claude mcp add commoditypriceapi-mcp -e COMMODITYPRICEAPI_KEY=<COMMODITYPRICEAPI_KEY> -e COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS=<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS> -- npx -y @commoditypriceapi/[email protected]
{
"mcpServers": {
"commoditypriceapi-mcp": {
"command": "npx",
"args": [
"-y",
"@commoditypriceapi/[email protected]"
],
"env": {
"COMMODITYPRICEAPI_KEY": "<COMMODITYPRICEAPI_KEY>",
"COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS>"
}
}
}
}
{
"mcpServers": {
"commoditypriceapi-mcp": {
"command": "npx",
"args": [
"-y",
"@commoditypriceapi/[email protected]"
],
"env": {
"COMMODITYPRICEAPI_KEY": "<COMMODITYPRICEAPI_KEY>",
"COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "<COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
COMMODITYPRICEAPI_KEYRequired, secret | Your CommodityPriceAPI key (get one at https://commoditypriceapi.com/auth/signup) |
COMMODITYPRICEAPI_REQUEST_TIMEOUT_MSOptional | Upstream request timeout in milliseconds (default 15000) |
Details
| Package | @commoditypriceapi/[email protected] (NPM, stdio) |
| First published | 27 Oct 2026 |
| Last updated | 27 Oct 2026 |
| Registry name | io.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.
