Gold Price Per Gram MCP
Live gold price per gram by karat and currency, metal prices, jewelry melt value, unit conversion.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"gold-price-per-gram-mcp": {
"url": "https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcp"
}
}
}Puntos de conexión remotos
https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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#"
}Comunidad
Evidencia