goldprice.dev

dev.goldpricePublished by goldprice.devOfficial publisherv1.0.4Updated Oct 24, 2026

Gold, silver and copper spot, 31 currencies, per-country dealer prices and nine MCP tools.

VerifiedStreamable HTTPWeb executableFinanceData & Analytics

Overview

AI-generated overview

Remote MCP server for gold, silver and copper market data: spot prices, karat gold pricing, OHLCV history, futures curves and dealer quotes.

What you can do
  • Look up the latest spot or futures price for a symbol, and list the supported symbols.
  • Get per-gram gold prices by karat purity in many currencies, plus per-country physical dealer and retail quotes.
  • Retrieve OHLCV bar history at intervals from 1 minute to 1 day, with depth set by your plan.
  • Read the multi-horizon futures settlement curve for gold, silver and copper.
  • Check provenance metadata such as source, unit, methodology and staleness rules.
  • Search the provider's FAQ corpus for how-to, billing and auth answers.
When to use it
Useful when an assistant needs current or historical precious and industrial metal prices, jewelry-grade gold pricing, or futures-implied curves for reports, trading research or pricing calculations, and when answers should cite the provider's own documentation.
Requirements
A remote streamable HTTP endpoint; no package or local runtime is needed. No authentication is declared, but an API key is optional and its plan controls history depth and data delay. Network access to the provider's API is required.
Before you install
Free and keyless callers receive spot prices 15 minutes late, and history depth depends on the API key's plan. The checkout tool opens a Stripe billing URL and asks the human to confirm a plan first, so it can lead to a paid subscription. Prices are informational market data, not investment advice.

Installation

In SourceWeft

  1. Open goldprice.dev in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.goldprice%2Fmcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "goldprice-dev": {
      "type": "http",
      "url": "https://api.goldprice.dev/v1/mcp"
    }
  }
}

Tools

9

start_checkout

Open a direct billing URL for an explicitly selected eligible plan: a one-hour Stripe Checkout URL for Free accounts or the existing customer's Stripe billing portal. This always asks the human to confirm the same plan first; a cancellation creates nothing.

Parametersplanrequired

get_spot_price

Get Spot Price

Return the latest spot (or GC futures) price for one symbol. Price is a Decimal-formatted string. Latest USD spot price/bid/ask use nearest half-up rounding: XAU 2 decimal places, XAG 3, HG 4. Free and keyless callers get the price 15 minutes late; bid/ask are null when no quote is available. `is_stale` is true when aggregator detected source divergence or stale FX.

Parameterssymbolrequired

list_commodities

List Commodities

Return the full list of symbols served by this API. Use before get_spot_price / get_historical / get_metadata when you don't know which symbols are supported.

Takes no parameters.

get_metadata

Get Metadata

Return provenance metadata for a symbol: the serving source, unit, methodology URL, staleness rules. Use for attribution and to document data lineage in downstream reports.

Parameterssymbolrequired

get_carat

Get Karat-Gram Gold Prices

Return per-gram gold (XAU) prices by karat purity — 24k, 22k, 21k, 20k, 18k, 16k, 14k, 10k — in a requested currency (default USD; the same 31 currencies get_spot_price serves plus EGP, NPR, PKR and VND). Jewelry-grade pricing computed from XAU spot and exchangerate.dev FX. FREE on every tier — no plan gate. Values are Decimal-formatted strings, quantized to the currency's ISO 4217 minor unit (JPY → whole numbers, USD → 2dp).

Parameterscurrency

get_historical

Get Historical Prices

Return OHLCV bar history for a symbol at 1m, 5m, 15m, 30m, 1h, 2h, 4h, or 1d (default). Plus includes 1h and 4h bars for the last 30 days; Pro includes 1m to 4h bars. History depth is set automatically by your API key's plan — do NOT pass a tier argument (there is none): Free sees the last 30 days; Basic sees the last year; Plus and Pro unlock full history back to 1996 (XAU/USD). Dates must be ISO 8601 (YYYY-MM-DD). Returns bars in date-descending order. volume is null for spot instruments (XAU/USD, XAG/USD, XCU/USD); real for futures (GC, SI, HG) and ETFs (GLD).

Parameterslimitsymbolrequiredto_daterequiredintervalfrom_daterequired

search_docs

Search Docs

Search the goldprice.dev FAQ corpus via BM25. Returns top-K matching questions + answers with relevance scores. Use before answering how-to / billing / auth questions so you cite the canonical text instead of guessing from training data.

Parameterslimitqueryrequired

get_forward_view

Get Forward View

Returns the multi-horizon futures settlement curve for a commodity (XAU, XAG, HG). Every populated horizon up to one year forward. Useful for bot builders and traders seeing the futures-implied path. See https://goldprice.dev/methodology#forward-view-layers for per-layer math.

Parametersassetrequired

get_physical_price

Get Physical Dealer Gold Prices

Return the latest per-country physical dealer/retail gold prices — real quotes from dealers, mints, and bullion benchmarks, NOT spot-derived arithmetic — with nullable premium_over_spot_bps per quote (null when live reference inputs are unavailable). `country` is an ISO 3166-1 alpha-2 code (e.g. ID, MY, AE, JP). Uncovered countries return unknown_country on every plan. Requires Basic or higher; static sample responses for evaluation are in the docs at https://goldprice.dev/docs/physical.

Parameterscountryrequired

Version history

2
  1. v1.0.4LatestOct 10, 2026
  2. v1.0.3Sep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.