Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

CommodityPriceAPI

by Commodity-Price-APIversion 1.2.3i★ –iRuns on your computer
Registry nameio.github.Commodity-Price-API/commoditypriceapi-mcp

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: COMMODITYPRICEAPI_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: COMMODITYPRICEAPI_KEY, COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "commoditypriceapi": {
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/mcp"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "your-value",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add commoditypriceapi --env COMMODITYPRICEAPI_KEY=your-value --env COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS=your-value -- npx -y @commoditypriceapi/mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "commoditypriceapi": {
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/mcp"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "your-value",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "commoditypriceapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@commoditypriceapi/mcp"
      ],
      "env": {
        "COMMODITYPRICEAPI_KEY": "your-value",
        "COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • COMMODITYPRICEAPI_KEY secret required env
    Your CommodityPriceAPI key (get one at https://commoditypriceapi.com/auth/signup)
  • COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS env
    Upstream request timeout in milliseconds (default 15000)

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Commodity-Price-API, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 32415 servers in this category
  • Published to the registry more recently than 77% of the other 32415 servers in this category
  • Basic checks equal to or better than 100% of the other 32415 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is CommodityPriceAPI safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: COMMODITYPRICEAPI_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.2.3) reached the registry 10 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, Safe Fetch

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated yesterday
Install

Safe Fetch

by Sanoy24

MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.

Runs on your computerUpdated today
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

CommodityPriceAPI MCP Server

Official MCP server for CommodityPriceAPI. Exposes 9 MCP tools for real-time, intraday and historical commodity prices — gold, silver, oil, natural gas, wheat, coffee, and 140+ other commodities. Your AI assistant queries the market in plain English; the MCP server handles the API calls.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Cline, Codex, and any other MCP-compatible client.

ItemValue
Package@commoditypriceapi/mcp
Transportstdio
Node.js>=18

Quick Start

  1. Get a free CommodityPriceAPI key — free 7-day trial, 2,000 requests, no card required.
  1. Cursor users can install in one click:
  1. Everyone else: add this to your MCP client config (see Install by Client for the exact file path):
{

"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }

  1. Restart your client.
  1. Test it: ask "What's the current gold price?"

Table of Contents

  • Quick Start
  • Install by Client
  • Verify It Works
  • Tool Reference
  • Prompt Examples
  • Example Answers and Tool Output
  • Error Codes
  • How It Works
  • Environment Variables
  • Building from Source
  • Troubleshooting
  • Pricing
  • Links
  • License

Install by Client

Requirements
  • Node.js 18 or later
  • npx available in your terminal
  • A CommodityPriceAPI key — sign up free
Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }

Restart Claude Desktop after saving.

Claude Code
claude mcp add commoditypriceapi --env COMMODITYPRICEAPI_KEY=<YOUR_API_KEY> -- npx -y @commoditypriceapi/mcp

Start a new Claude Code session after adding the server.

Cursor

One-click install:

Or add to .cursor/mcp.json manually:

{

"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }

Restart Cursor after saving.

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{

"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }

Restart Windsurf after saving.

VS Code / GitHub Copilot

Add to your VS Code settings.json:

{

"mcp": { "servers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } } }

Restart VS Code after saving.

Cline

Open MCP Servers panel → Configure → Advanced MCP Settings. Add to cline_mcp_settings.json:

{

"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }

Restart Cline after saving.

Codex CLI
codex mcp add commoditypriceapi --env COMMODITYPRICEAPI_KEY=<YOUR_API_KEY> -- npx -y @commoditypriceapi/mcp

codex mcp list

Start a new Codex session after adding the server.

Any Other MCP Client

Use this config:

{

"command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } }

Verify It Works

Try these after setup:

PromptExpected tool
What's the current gold price?get_gold_price
Get the latest silver and Brent crude prices.get_latest_rates with symbols=XAG,BRENTOIL-SPOT
Show gold's hourly price on November 4th, 2026.get_intraday_rates with interval=1h
What was the gold price on January 2nd, 2020?get_historical_rates
Show daily gold prices for the first week of August 2026.get_time_series
How much did gold change between January and August 2026?get_fluctuation
Which commodity symbols do you support?list_symbols
How much of my API quota is left?get_usage

Tool Reference

All 9 tools map 1:1 to CommodityPriceAPI v3 endpoints. Tools that take symbols accept a comma-separated list; get_intraday_rates takes a single symbol (e.g. XAU,XAG,XPT,BRENTOIL-SPOT). Use list_symbols to look up valid symbols — there are 245 across Metals, Energy, Agriculture, and more.

Precious metals use ISO 4217 codes: XAU (gold), XAG (silver), XPT (platinum), XPD (palladium). Copper is XCU. The retired codes PL, PA, and HG still work on v3 — they are auto-resolved to the new symbol (see the note below).

get_latest_rates

GET /v3/rates/latest — latest rates for one or more symbols. Rates may lag up to 10 minutes depending on plan.

ParameterRequiredDescription
symbolsYesComma-separated symbols, e.g. XAU,XAG,BRENTOIL-SPOT
quoteNoTarget quote currency (e.g. EUR). Premium/Plus plans only; omit for each symbol's default currency.
metadataNotrue (default) or false. false omits the metadata map (per-symbol unit and quote currency) from the response.

Note on unresolved: v3 appends an unresolved map, keyed by the symbol you typed, in three cases. The same applies to get_intraday_rates, get_historical_rates, get_time_series, and get_fluctuation.

CaseHTTPWhat the entry holds
Symbol is not a catalogue code but has exactly one match (e.g. GOLD, or retired PL)200message + resolvedTo — the rate was returned under resolvedTo in rates. Informational, not a failure.
Some symbols could not be returned206message + optional suggestions ("did you mean"). Valid rates are still in rates.
No symbol resolved404Tool returns a SYMBOL_NOT_FOUND error carrying the same unresolved map.
get_gold_price

GET /v3/rates/latest/xau — shortcut for the latest gold (XAU) rate, including bid/ask.

ParameterRequiredDescription
quoteNoTarget quote currency. Premium/Plus plans only.
includeNogram, carat, or tola — adds a per-gram rate, per-gram rates at each purity from 24k to 8k, or a per-tola rate alongside the ounce rate.
metadataNotrue (default) or false. false omits the metadata map (per-symbol unit and quote currency) from the response.
get_silver_price

GET /v3/rates/latest/xag — shortcut for the latest silver (XAG) rate, including bid/ask.

ParameterRequiredDescription
quoteNoTarget quote currency. Premium/Plus plans only.
includeNogram, carat, or tola — adds a per-gram, per-carat, or per-tola rate alongside the ounce rate.
metadataNotrue (default) or false. false omits the metadata map (per-symbol unit and quote currency) from the response.
get_intraday_rates

GET /v3/rates/intraday — the rates of one symbol through a single UTC day at a chosen interval, from one minute to one day. Each point is the rate recorded at that exact mark (14:05 is the rate observed at 14:05 UTC), not an OHLC bar. Advanced and Enterprise plans only — other plans get 402.

ParameterRequiredDescription
symbolYesExactly one symbol, e.g. XAU. Sent to the API as symbols.
intervalYes1m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 4h, 8h, 12h, or 1d. Symbols updated every 10 minutes accept only multiples of 10 minutes (10m, 30m, 1h, 2h, 4h, 8h, 12h, 1d).
dateYesUTC day, YYYY-MM-DD. Not in the future; for today, points stop at the current UTC minute.
startTimeNoFirst mark of the window, HH:mm UTC. Default 00:00. Must fall on a mark of the interval (14:30 works for 5m or 30m, not 1h; 1d only allows 00:00).
metadataNotrue (default) or false. false omits the metadata map (unit and quote currency) from the response.

A result holds at most 100 points. When nextStartTime is not null, call again with startTime set to it to get the next page; from 15m upward a whole day fits in one call. Marks with no recorded rate are left out, so count can be below the window size. Only symbols updated every second, minute, or 10 minutes have intraday data — others return 400 BAD_REQUEST. Rates are in the symbol's own currency; there is no quote parameter.

get_historical_rates

GET /v3/rates/historical — open/high/low/close rates for one or more symbols on a specific past date, available back to 1990-01-01. If no rate exists for that exact date, the API returns the nearest available date.

ParameterRequiredDescription
symbolsYesComma-separated symbols
dateYesYYYY-MM-DD
get_time_series

GET /v3/rates/time-series — daily historical rates for one or more symbols between two dates. Max span: 1 year.

ParameterRequiredDescription
symbolsYesComma-separated symbols
startDateYesYYYY-MM-DD
endDateYesYYYY-MM-DD
get_fluctuation

GET /v3/rates/fluctuation — how each symbol changed between two dates: start rate, end rate, absolute change, and percent change.

ParameterRequiredDescription
symbolsYesComma-separated symbols
startDateYesYYYY-MM-DD
endDateYesYYYY-MM-DD
list_symbols

GET /v3/symbols — all supported commodity symbols with name, category, quote currency, unit, and update interval. Takes no parameters. Call this before rate tools when unsure of a symbol.

get_usage

GET /v3/usage — current plan, quota, and usage for the configured API key. Takes no parameters.

Prompt Examples

Live prices
  • What's the current gold price?
  • What's gold per gram right now?
  • Get the

Only the beginning is shown; read the rest in the repo

Ask PopNx