gold-price-per-gram-mcp
Get live precious-metal prices and perform exact gold unit and jewelry melt-value calculations via MCP.
Fetch today's gold price per gram, troy ounce, tola, and kilogram for 24K–9K gold in about 160 currencies.
Get live spot prices for gold, silver, platinum, and palladium in any major currency.
Calculate gold jewelry or scrap melt value from weight, unit, karat, and optional dealer spread.
Convert gold weights exactly among gram, kilogram, troy ounce, pennyweight, grain, avoirdupois ounce, tola, Thai baht, Vietnamese chi/luong, Hong Kong/Taiwan/China tael, and more.
Return structured JSON with timestamps, sources, summaries, and links; no API key required.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gold-price-per-gram-mcp What's the 22K gold price per gram in India today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gold-price-per-gram-mcp
The live gold price per gram for AI assistants, by karat and currency, with metal prices, jewelry melt value and exact gold unit conversion.
This is a Model Context Protocol (MCP) server. It reads the gold, silver, platinum and palladium spot price at call time and converts it with central-bank FX rates for about 160 currencies. It needs no API key.
Tools
Tool | What it returns |
| Gold price per gram, troy ounce, tola and kilogram for 24K, 22K, 21K, 18K, 14K, 10K and 9K in any currency, with the spot time stamp and FX date. |
| Spot price of gold, silver, platinum and palladium per troy ounce, gram and kilogram in any currency. A metal whose feed is down is reported, not fatal. |
| Melt value of a gold item from weight, unit and karat, with an optional dealer spread percent. States that retail and buyback prices differ from melt value. |
| Exact conversion between gram, kilogram, troy ounce, pennyweight, grain, avoirdupois ounce, tola, Thai baht, Vietnamese chi and luong, Hong Kong tael, Taiwan tael and China liang, with the definition and source of each unit. |
Every result has structured JSON, a one-paragraph summary, as_of, source and more (the matching page on goldgramprice.com).
Related MCP server: Ratevert
What it knows that your model does not
Today's gold price. Spot moves every minute and a model's training data is months old.
Today's exchange rate for INR, AED, SAR, PKR, EUR, GBP and about 150 more currencies.
Exact unit constants. A troy ounce is 31.1034768 g and a grain is 64.79891 mg by definition (NIST Handbook 44). A tola is 180 grains. A Thai bullion baht is 15.244 g, not 15 g. A kitchen-scale ounce is 28.349523125 g, not a troy ounce.
Karat purity as an exact fraction (karat / 24), so 22K is 91.6667% and 14K is 58.3333%.
Install
Hosted (Claude.ai custom connector, ChatGPT developer mode)
Paste this URL. No token, no sign-up.
https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcpClaude Code
claude mcp add --transport http gold-price https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcpOr run it locally over stdio:
claude mcp add gold-price -- npx -y gold-price-per-gram-mcpClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"gold-price": { "command": "npx", "args": ["-y", "gold-price-per-gram-mcp"] }
}
}Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"gold-price": { "url": "https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcp" }
}
}VS Code
Add to .vscode/mcp.json:
{
"servers": {
"gold-price": { "type": "http", "url": "https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcp" }
}
}Node 20 or newer is needed for the local stdio version.
Example prompts
"What is the 22K gold price per gram in India today?"
"How much is one tola of 24K gold in Pakistani rupees?"
"I have a 14K chain that weighs 12 grams. What is its melt value, and what might a buyer offer at a 25% spread?"
"Show gold, silver and platinum prices in euros."
"How many grams are in a Thai baht of gold, and in a Vietnamese chi?"
Data sources
All keyless and free to use from a server. Full list with fetch dates in DATA_SOURCES.md.
Spot prices from gold-api.com, the same feed goldgramprice.com uses. Its terms allow commercial use and ask callers not to send several requests per second, so the hosted server caches each price for 5 minutes.
FX rates from Frankfurter, blended from the ECB and other central banks. Cached for 1 hour. Rates update once a working day.
Unit constants from NIST Handbook 44 Appendix C. Karat definition from 16 CFR 23.3.
Limitations
Prices are spot (melt) values for pure metal. Jewellery in a shop costs more (making charges, design, tax) and buyers pay less (refining and margin). The tools say so in every answer.
The spot price can be up to 5 minutes old on the hosted server. FX rates are daily reference rates, not live market quotes.
Purity uses the nominal karat fraction. Real items can be slightly under (legal tolerances) or over.
Regional tael values differ (Hong Kong 37.429 g, Vietnam 37.5 g, Taiwan 37.5 g, China 50 g). Pick the one you mean.
When a price feed is down, the tool returns a clear error instead of a stale or remembered number.
More
Karat calculators, scrap gold, city price pages and gold price history are on goldgramprice.com.
Part of the Zovo MCP collection: https://mcp.zovo.one
Development
npm install
npm test # builds, then runs the fixture tests against saved upstream payloads
node scripts/smoke-stdio.mjs # live stdio check, one real call per tool
npx wrangler deploy # Cloudflare Worker, Streamable HTTP at /mcpLicense
MIT
More data servers from the same author
Each one is free, needs no API key and has a hosted URL you can paste into Claude or ChatGPT.
server | tools | hosted URL |
convert_ingredient, search_ingredients, scale_recipe, convert_oven_temperature |
| |
calculate_dscr, max_loan_for_target_dscr, rent_needed_for_target_dscr, compare_scenarios, amortization_summary |
| |
search_lakes, get_lake_level, get_lake_history, compare_lakes |
| |
get_minimum_wage, list_upcoming_increases, compare_states, annual_income_at_minimum_wage |
| |
calculate_overtime_deduction, calculate_tips_deduction, calculate_senior_deduction, estimate_tax_savings, explain_eligibility |
| |
calculate_take_home_pay, compare_states_take_home, salary_to_hourly, hourly_to_salary, get_federal_tax_brackets |
| |
calculate_uk_take_home, get_uk_tax_bands, compare_salaries, marginal_rate_at_income |
| |
list_federal_holidays, is_business_day, add_business_days, count_business_days, invoice_due_date |
| |
calculate_sample_size, estimate_test_duration, test_ab_significance, fisher_exact_test, check_peeking_risk |
| |
get_federal_poverty_level, calculate_premium_tax_credit, check_subsidy_cliff, get_aptc_repayment_cap |
| |
get_ap_score_distribution, estimate_ap_percentile, compare_ap_exams, list_ap_exams, estimate_ap_score_from_composite |
| |
calculate_car_loan_interest_deduction, calculate_salt_deduction, get_tax_brackets_and_standard_deduction, calculate_child_tax_credit |
| |
get_exemption_amounts, calculate_estate_tax, check_gift, compare_years |
| |
lookup_ingredient_nutrition, calculate_recipe_nutrition, round_nutrition_label, scale_recipe_nutrition |
| |
get_contribution_limits, calculate_max_contribution, get_social_security_cola, compare_years |
| |
calculate_section_179, calculate_bonus_depreciation, get_vehicle_depreciation_limits, calculate_asset_loan_payment |
| |
calculate_rap_payment, compare_rap_vs_standard, get_federal_loan_limits, get_plan_transition_dates |
| |
find_subdomains, resolve_subdomains, get_certificate_history, summarize_attack_surface |
| |
calculate_statutory_sick_pay, calculate_statutory_maternity_pay, get_minimum_wage_rates, check_eligibility |
|
The paid back-office collection (invoices, VAT, PDFs, spreadsheets) is at https://mcp.zovo.one
Available Tools
4 toolscalculate_jewelry_valueCalculate gold jewelry melt valueARead-onlyIdempotentInspect
Melt value of a gold item (ring, chain, bracelet, scrap) from its weight, unit and karat at the live spot price, in any currency. Optional dealer_spread_percent returns the likely buyer offer. The result states that melt value is not the retail or buyback price.
Inputs: karat (required), weight (required), unit, currency, +1 more.
convert_gold_unitsConvert gold weight unitsARead-onlyIdempotentInspect
Convert a gold weight between gram, kilogram, troy ounce, pennyweight, grain, avoirdupois ounce, tola, Thai baht (bullion and jewellery), Vietnamese chi and luong, Hong Kong gold tael, Taiwan tael and China liang. Uses exact defined constants (1 troy ounce = 31.1034768 g, 1 grain = 64.79891 mg, NIST Handbook 44) and returns the definition and source of each unit. Omit "to" to get every unit.
Inputs: from (required), value (required), to.
get_gold_price_per_gramGet gold price per gramARead-onlyIdempotentInspect
Today's gold price per gram, per troy ounce, per tola and per kilogram, read live from the gold spot market, for 24K, 22K, 21K, 18K, 14K, 10K and 9K gold, in any of about 160 currencies (central-bank FX). Returns the spot time stamp, the FX date and the sources. Your training data cannot know today's gold price. Omit karat to get every karat.
Inputs: karat, currency.
get_metal_pricesGet precious metal pricesARead-onlyIdempotentInspect
Live spot prices of gold (XAU), silver (XAG), platinum (XPT) and palladium (XPD) per troy ounce, per gram and per kilogram, in any major currency. A metal whose feed is down is reported with its error instead of failing the whole call.
Inputs: currency.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
get_gold_price_per_gram and get_metal_prices overlap on gold spot prices per gram/ounce, which could cause misselection at first glance. The descriptions do differentiate them (karat-level detail in ~160 currencies vs. multi-metal in major currencies), so an agent can resolve the boundary, but it takes reading.
All four tools follow a clean verb_noun snake_case pattern: get_gold_price_per_gram, get_metal_prices, calculate_jewelry_value, convert_gold_units. No mixed conventions or vague verbs.
Four tools is a tight, well-scoped surface for a precious-metals pricing server: price lookup, multi-metal lookup, valuation, and unit conversion. Each tool has a clear, non-redundant role.
The surface covers live pricing, multi-metal spot, melt valuation, and extensive unit conversion, which is strong for a live-price domain. The main gap is historical/time-series pricing and bulk/batch valuation, but agents can work around this for present-day price queries.
Maintenance
Related MCP Connectors
FiLot gives an AI assistant the world gold price per gram in your currency, the price on a past date, and zakat on gold. Each price comes with a signature and a link to check it. It also checks gold bar records and, for Indonesia, gives dealer buyback prices and gold tax. In public beta. No FiLot account needed.
Precious metals AI analyst with 12 tools — prices, portfolio, chat, receipts, and more.
60+ units, live FX, timezones, and date arithmetic for AI agents.
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceWraps the Metals-API to provide real-time precious metals data (gold, silver, platinum, palladium) via natural language queries, part of the Pipeworx gateway for AI agents.89 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and converting currencies, stocks, crypto, ETFs, and funds with current rates and source freshness for AI agents.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables access to live precious metals prices, historical data, market intelligence, and portfolio management with AI/LLM integration.ISC
- AlicenseAqualityBmaintenanceEnables AI agents to fetch the live 18k gold price per milligram, gram in Rial and Toman, plus daily, weekly and monthly price history and platform statistics from Milli.gold through read-only tools. Supports Claude, Cursor and Copilot over stdio with no API key or account required.8160 PyPIMIT