Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Real-time and historical prices for gold, silver, oil, and 130+ other commodities.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
COMMODITYPRICEAPI_KEY, COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"commoditypriceapi": {
"command": "npx",
"args": [
"-y",
"@commoditypriceapi/mcp"
],
"env": {
"COMMODITYPRICEAPI_KEY": "your-value",
"COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add commoditypriceapi --env COMMODITYPRICEAPI_KEY=your-value --env COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS=your-value -- npx -y @commoditypriceapi/mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"commoditypriceapi": {
"command": "npx",
"args": [
"-y",
"@commoditypriceapi/mcp"
],
"env": {
"COMMODITYPRICEAPI_KEY": "your-value",
"COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"commoditypriceapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@commoditypriceapi/mcp"
],
"env": {
"COMMODITYPRICEAPI_KEY": "your-value",
"COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Commodity-Price-API で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:COMMODITYPRICEAPI_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.2.3)がレジストリに届いたのは10 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Symantec Cloud DLP AIops
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Governed Symantec Cloud DLP — 14 MCP tools, read-only with audit.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
| Item | Value |
|---|---|
| Package | @commoditypriceapi/mcp |
| Transport | stdio |
| Node.js | >=18 |
{
"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }
npx available in your terminalAdd 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 mcp add commoditypriceapi --env COMMODITYPRICEAPI_KEY=<YOUR_API_KEY> -- npx -y @commoditypriceapi/mcp
Start a new Claude Code session after adding the server.
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.
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } }
Restart Windsurf after saving.
Add to your VS Code settings.json:
{
"mcp": { "servers": { "commoditypriceapi": { "command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } } } } }
Restart VS Code after saving.
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 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.
Use this config:
{
"command": "npx", "args": ["-y", "@commoditypriceapi/mcp"], "env": { "COMMODITYPRICEAPI_KEY": " " } }
Try these after setup:
| Prompt | Expected 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 |
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 /v3/rates/latest — latest rates for one or more symbols. Rates may lag up to 10 minutes depending on plan.
| Parameter | Required | Description |
|---|---|---|
symbols | Yes | Comma-separated symbols, e.g. XAU,XAG,BRENTOIL-SPOT |
quote | No | Target quote currency (e.g. EUR). Premium/Plus plans only; omit for each symbol's default currency. |
metadata | No | true (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.
| Case | HTTP | What the entry holds |
|---|---|---|
Symbol is not a catalogue code but has exactly one match (e.g. GOLD, or retired PL) | 200 | message + resolvedTo — the rate was returned under resolvedTo in rates. Informational, not a failure. |
| Some symbols could not be returned | 206 | message + optional suggestions ("did you mean"). Valid rates are still in rates. |
| No symbol resolved | 404 | Tool returns a SYMBOL_NOT_FOUND error carrying the same unresolved map. |
GET /v3/rates/latest/xau — shortcut for the latest gold (XAU) rate, including bid/ask.
| Parameter | Required | Description |
|---|---|---|
quote | No | Target quote currency. Premium/Plus plans only. |
include | No | gram, 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. |
metadata | No | true (default) or false. false omits the metadata map (per-symbol unit and quote currency) from the response. |
GET /v3/rates/latest/xag — shortcut for the latest silver (XAG) rate, including bid/ask.
| Parameter | Required | Description |
|---|---|---|
quote | No | Target quote currency. Premium/Plus plans only. |
include | No | gram, carat, or tola — adds a per-gram, per-carat, or per-tola rate alongside the ounce rate. |
metadata | No | true (default) or false. false omits the metadata map (per-symbol unit and quote currency) from the response. |
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.
| Parameter | Required | Description |
|---|---|---|
symbol | Yes | Exactly one symbol, e.g. XAU. Sent to the API as symbols. |
interval | Yes | 1m, 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). |
date | Yes | UTC day, YYYY-MM-DD. Not in the future; for today, points stop at the current UTC minute. |
startTime | No | First 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). |
metadata | No | true (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 /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.
| Parameter | Required | Description |
|---|---|---|
symbols | Yes | Comma-separated symbols |
date | Yes | YYYY-MM-DD |
GET /v3/rates/time-series — daily historical rates for one or more symbols between two dates. Max span: 1 year.
| Parameter | Required | Description |
|---|---|---|
symbols | Yes | Comma-separated symbols |
startDate | Yes | YYYY-MM-DD |
endDate | Yes | YYYY-MM-DD |
GET /v3/rates/fluctuation — how each symbol changed between two dates: start rate, end rate, absolute change, and percent change.
| Parameter | Required | Description |
|---|---|---|
symbols | Yes | Comma-separated symbols |
startDate | Yes | YYYY-MM-DD |
endDate | Yes | YYYY-MM-DD |
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 /v3/usage — current plan, quota, and usage for the configured API key. Takes no parameters.
冒頭だけを表示しています。続きはリポジトリで読めます