Gold Price Per Gram MCP
Live gold price per gram by karat and currency, metal prices, jewelry melt value, unit conversion.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"gold-price-per-gram-mcp": {
"url": "https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcp"
}
}
}Remote-Endpunkte
https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
🟢get_gold_price_per_gram(currency, karat)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"default": "USD",
"description": "ISO 4217 currency code, for example USD, EUR, GBP, INR, AED, SAR, PKR, CAD, AUD. Default USD."
},
"karat": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"description": "Karat: 24, 22, 21, 18, 14, 10 or 9 (any whole number 1 to 24 works; purity = karat/24)."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_metal_prices(currency)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"default": "USD",
"description": "ISO 4217 currency code, for example USD, EUR, GBP, INR, AED, SAR, PKR, CAD, AUD. Default USD."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢calculate_jewelry_value(weight, unit, karat, currency, dealer_spread_percent)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 10000000,
"description": "Weight of the item, for example 12.5."
},
"unit": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "Weight unit: gram, kilogram, troy_ounce, pennyweight, grain, avoirdupois_ounce, tola, baht, baht_jewelry, chi, tael, luong, tael_taiwan, tael_china. Aliases such as g, kg, oz, ozt, dwt and kilo work. \"oz\" means troy ounce.",
"default": "gram"
},
"karat": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"description": "Karat: 24, 22, 21, 18, 14, 10 or 9 (any whole number 1 to 24 works; purity = karat/24)."
},
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"default": "USD",
"description": "ISO 4217 currency code, for example USD, EUR, GBP, INR, AED, SAR, PKR, CAD, AUD. Default USD."
},
"dealer_spread_percent": {
"type": "number",
"minimum": 0,
"maximum": 99,
"description": "Percent a buyer keeps below melt, for example 20 for an offer at 80% of melt. Default 0."
}
},
"required": [
"weight",
"karat"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢convert_gold_units(value, from, to)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"value": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000,
"description": "Amount to convert."
},
"from": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "Weight unit: gram, kilogram, troy_ounce, pennyweight, grain, avoirdupois_ounce, tola, baht, baht_jewelry, chi, tael, luong, tael_taiwan, tael_china. Aliases such as g, kg, oz, ozt, dwt and kilo work. \"oz\" means troy ounce."
},
"to": {
"$ref": "#/properties/from",
"description": "Weight unit: gram, kilogram, troy_ounce, pennyweight, grain, avoirdupois_ounce, tola, baht, baht_jewelry, chi, tael, luong, tael_taiwan, tael_china. Aliases such as g, kg, oz, ozt, dwt and kilo work. \"oz\" means troy ounce."
}
},
"required": [
"value",
"from"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis