How to Get Live/Spot Gold, Silver, Platinum and Palladium Prices in Grok Using GoldAPI.io MCP Server

A no-code guide to connecting the Grok AI agent with GoldAPI.io for current precious-metal prices, gold calculations, bullion valuations and historical data.

Connect Grok to Live Precious-Metal Market Data

Grok can retrieve current gold, silver, platinum, and palladium prices through the GoldAPI.io MCP Server. After a one-time connector setup, you can ask Grok for spot prices, jewelry melt values, bullion valuations, historical prices, currency conversions, and other precious-metals calculations in natural language.

No coding or local installation is required. GoldAPI.io hosts the MCP server at a secure public HTTPS endpoint, and Grok discovers the available tools automatically.

The connection uses:

https://mcp.goldapi.io/mcp

GoldAPI MCP Server access requires an active GoldAPI Business plan.

Quick setup: add GoldAPI to Grok

Grok supports custom remote MCP connectors. To add GoldAPI:

  1. Sign in to Grok at grok.com.
  2. Open grok.com/connectors.
  3. Select New Connector.
  4. Choose Custom.
  5. Enter GoldAPI as the connector name.
  6. Paste https://mcp.goldapi.io/mcp into the MCP server URL field.
  7. Continue and complete the required OAuth authentication.
  8. Sign in with the GoldAPI.io account that has active Business-plan access.
  9. Review the requested access and approve consent.
  10. Return to Grok and confirm that GoldAPI appears among your connected tools.

The official xAI connector documentation explains that Grok discovers the tools exposed by a custom public MCP server and makes them available in conversations.

For Grok Business and Enterprise accounts, a team administrator may need to provision the connector before organization members can use it. Connector availability can also be affected by workspace policies.

Run your first live gold-price request

Open a new Grok conversation and ask:

Use GoldAPI to get the current spot price of gold in USD per troy ounce and per gram.

Grok should choose the GoldAPI get_current_metal_price tool. Inspect the tool-use details and confirm that the request contains gold (XAU) and US dollars (USD).

For current market questions, explicitly saying “Use GoldAPI” helps distinguish a tool-backed response from an answer based on general model knowledge.

Spot-price prompts for gold, silver, platinum, and palladium

Use a clear currency and unit when you want a specific result.

Use GoldAPI to show the live gold price in Australian dollars per troy ounce.
Get the current silver spot price in EUR per ounce and per gram using GoldAPI.
What are the current platinum and palladium prices in USD? Use the GoldAPI connector and label each metal clearly.
Use GoldAPI to compare today's spot prices for gold, silver, platinum, and palladium in British pounds.

GoldAPI supports the standard precious-metal symbols:

MetalSymbol
GoldXAU
SilverXAG
PlatinumXPT
PalladiumXPD

Turn a spot price into a useful valuation

A raw market price is often only the starting point. Grok can use GoldAPI tools to calculate values from weight, purity, currency, and current or historical prices.

Gold jewelry and scrap value

Use GoldAPI to calculate the current melt value of 85 grams of 18k gold in EUR.
How much is 125 grams of 22k gold worth today in Australian dollars? Show the value per gram and the total.
Compare the current value per gram of 14k, 18k, 22k, and 24k gold in USD using GoldAPI.

These are metal-value estimates. They do not automatically include gemstones, craftsmanship, collectible value, taxes, retail margins, or fees.

Bullion holdings

Use GoldAPI to value 10 troy ounces of gold and 500 troy ounces of silver in USD. Show each holding and the combined total.
What is the current value of 2 kilograms of silver and 5 ounces of platinum in CAD?
Value my holdings in AUD: 3 ounces of gold, 200 ounces of silver, 4 ounces of platinum, and 2 ounces of palladium.

The value_metal_holdings tool can value up to 50 holdings while reusing matching price requests where possible.

Dealer estimates

Estimate a dealer buy quote for 50 troy ounces of silver at a 4% discount to melt value using GoldAPI.
Create a nonbinding dealer sell estimate for 2 troy ounces of gold at a 3% premium to melt value in USD.

Dealer calculations are illustrative, not offers. Actual dealers can apply different spreads, premiums, testing charges, taxes, and commercial terms.

Explore historical precious-metal prices with Grok

GoldAPI gives Grok tools for a single historical date and for daily prices across an inclusive range of up to 90 days.

Use GoldAPI to find the XAU/USD price on 2025-01-15.
Show daily silver prices in EUR from 2025-03-01 through 2025-03-14 using GoldAPI.
Analyze the historical performance of XAU/AUD over the last 30 calendar days. Report descriptive statistics and do not forecast future prices.

The performance tool describes historical data. It does not predict prices and should not be treated as investment advice.

Use Grok for exchange rates and LBMA benchmarks

GoldAPI MCP includes more than spot-price tools.

Convert 10,000 USD to AED using the current GoldAPI exchange rate.
Use GoldAPI to return the current USD/AUD rate with bid and ask values.
Get the LBMA gold benchmark in USD for 2025-06-30 using GoldAPI.

When the date, currency, benchmark, or metal matters, state it directly in the prompt.

What happens when Grok uses the GoldAPI connector?

MCP stands for Model Context Protocol. It gives Grok a standard way to discover and invoke external tools.

For a request such as “What is the current palladium price in euros?”, the process is generally:

  1. Grok identifies that the answer requires current precious-metals data.
  2. It selects the GoldAPI current-price tool.
  3. It sends palladium (XPD) and euros (EUR) as structured inputs.
  4. GoldAPI returns the current result.
  5. Grok presents the data conversationally.

This tool call is the important part. An AI response that does not invoke a connected live-data source should not be assumed to contain a current spot price.

Verify that Grok used GoldAPI

After receiving an answer, check the conversation's tool-use details. A valid tool-backed result should show:

  • GoldAPI as the selected connector.
  • A GoldAPI MCP tool call.
  • The expected metal and currency.
  • The requested unit, weight, purity, or historical date.
  • Current-data timing information where supplied.

Common tool names include:

  • get_current_metal_price
  • get_historical_metal_price
  • get_metal_price_history
  • calculate_metal_value
  • calculate_dealer_quote
  • compare_karat_values
  • analyze_metal_performance
  • value_metal_holdings

If no GoldAPI call appears, try:

Answer this using the connected GoldAPI MCP tools. Do not estimate or use general model knowledge.

Fix common Grok connector problems

GoldAPI is not available in a conversation

Return to grok.com/connectors and confirm that GoldAPI is connected. In a Business or Enterprise workspace, ask an administrator whether the connector has been provisioned and permitted by team policy.

Grok cannot reach the MCP server

Confirm that the URL is exactly:

https://mcp.goldapi.io/mcp

GoldAPI is already publicly hosted, so you do not need a tunnel or a locally running process.

Authentication needs attention

Reconnect GoldAPI and repeat the OAuth flow. Sign in with the GoldAPI account that has Business-plan access.

A 401 response indicates missing or invalid authorization. A 403 response normally means the authenticated GoldAPI account does not have active Business MCP access. A 429 response indicates an underlying request or rate limit.

Grok returns the wrong unit or currency

Restate the request with explicit output requirements, such as “AUD per gram” or “USD per troy ounce.” For jewelry, include both weight and purity.

A workspace blocks the custom connector

Organization policies can restrict connectors. Ask a Grok workspace administrator to approve or provision the GoldAPI custom MCP connection.

Grok and GoldAPI frequently asked questions

Can Grok provide live gold and silver prices?

Yes. Grok can retrieve current precious-metal data after the GoldAPI.io MCP Server is added as a custom connector. Confirm the response contains a GoldAPI tool call.

Does Grok support platinum and palladium prices?

Yes. GoldAPI supports gold, silver, platinum, and palladium through its current-price, historical, valuation, and portfolio tools.

Is this available without programming?

Yes. Non-technical users can add GoldAPI from Grok's connector page using the hosted MCP URL and OAuth authorization.

Must I paste a GoldAPI API key into Grok?

No. The interactive Grok connector can use OAuth. Complete the GoldAPI sign-in and consent flow instead of sharing an API key in a conversation.

Can Grok calculate gold value by gram and karat?

Yes. Provide the weight, unit, purity, and currency. GoldAPI can calculate melt value and compare common karats using current or historical prices.

Which GoldAPI plan includes MCP access?

The GoldAPI Business plan includes MCP Server access. The Pro plan provides unlimited REST API requests but does not include MCP or production WebSocket access.

Make Grok a precious-metals data assistant

The GoldAPI.io MCP Server lets Grok work with structured current and historical data for gold, silver, platinum, and palladium. Once the custom connector is authorized, everyday prompts can retrieve spot prices, calculate jewelry or bullion value, compare purities, analyze historical ranges, and value multi-metal holdings.

See the GoldAPI MCP Server documentation for the authoritative endpoint, authentication rules, tools, and errors. You can also review xAI's custom connector documentation for Grok-specific connector behavior.

GoldAPI.io Developer FAQ

Helpful answers for developers working with precious metals price data.

Can I use GoldAPI.io price API examples in production?

Yes. GoldAPI.io API examples can be used in production applications with your API key. Developers can integrate real-time gold, silver, and precious metals prices into websites, trading platforms, and financial tools.

Does GoldAPI.io support multiple currencies for gold price API?

Yes. GoldAPI.io supports multiple currencies including USD, AUD, CAD, EUR, GBP, AED, SGD, KWD, OMR, and SAR. You can request gold price and other metals price data in any supported currency.

Is GoldAPI.io suitable for trading bots and financial applications?

Yes. GoldAPI.io is designed for developers building trading bots, financial dashboards, analytics platforms, and pricing tools. It provides fast and reliable real-time and historical metals price data via JSON API.

Integration Guides To

Build With GoldAPI.io Today

Practical guides for WordPress, Shopify, Excel, Joomla, and Drupal.

WordPress integration icon
WordPress

How to Get Real-Time Gold and Silver Prices in WordPress

Step-by-step guide on integrating GoldAPI.io Price Call in WordPress site

Read article →
Shopify integration icon
Shopify

How to Get Real-Time Gold and Silver Prices in Shopify

Step-by-step guide on integrating GoldAPI.io Price Call in Shopify store

Read article →
Excel integration icon
Excel

How to Get Real-Time Gold and Silver Prices in Excel

Step-by-step guide on integrating GoldAPI.io Price Call in Excel spreadsheet

Read article →
MCP Server integration icon
MCP Server

How to Connect ChatGPT, Claude and Codex to the GoldAPI MCP Server

Connect AI agents to the hosted GoldAPI MCP Server for live and historical metal (gold, silver) prices, currency conversion, valuations, portfolio analysis and LBMA benchmarks.

Read article →
ChatGPT integration icon
ChatGPT

How to Get Real-Time Gold, Silver and Other Precious Metal Prices in ChatGPT Using GoldAPI.io MCP Server

A simple, no-code guide to connecting ChatGPT with GoldAPI.io for current gold, silver, platinum and palladium prices, valuations and historical market data.

Read article →
Claude integration icon
Claude

How to Get Live/Spot Gold, Silver, Platinum and Palladium Prices in Claude Using GoldAPI.io MCP Server

A no-code guide to connecting Claude and Claude Desktop with GoldAPI.io for current precious-metal prices, gold valuations, bullion holdings and historical data.

Read article →