troystack
Precious metals AI analyst with 12 tools — prices, portfolio, chat, receipts, and more.
我该使用它吗
质量与安全性
发现(6)
- LOW在 get_spot_prices 中
- LOW在 get_price_history 中
- LOW在 get_stack_signal 中
- LOW在 chat_with_troy 中
- LOW在 get_portfolio 中
- LOW在 scan_receipt 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"troystack": {
"url": "https://api.troystack.ai/mcp"
}
}
}远程端点
https://api.troystack.ai/mcpstreamable-http它能做什么
工具清单
工具(12)
🟡get_spot_prices
Returns current spot prices for gold, silver, platinum, and palladium with daily change percentages
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_price_history(metal, range)
Historical spot price data for a precious metal over a time range
输入模式
{
"type": "object",
"properties": {
"metal": {
"type": "string",
"enum": [
"gold",
"silver",
"platinum",
"palladium"
],
"description": "The metal to fetch history for"
},
"range": {
"description": "Time range (default 1Y)",
"type": "string",
"enum": [
"1M",
"3M",
"6M",
"1Y",
"5Y",
"ALL"
]
}
},
"required": [
"metal"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_stack_signal(limit, offset, category)
Returns Stack Signal — TroyStack's curated precious metals market intelligence with Troy's commentary
输入模式
{
"type": "object",
"properties": {
"limit": {
"description": "Max articles to return (default 20)",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"offset": {
"description": "Pagination offset (default 0)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"category": {
"description": "Optional category filter",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_vault_watch(metal)
Returns COMEX warehouse inventory: registered, eligible, combined ounces, daily changes, open interest, oversubscribed ratio
输入模式
{
"type": "object",
"properties": {
"metal": {
"description": "Optional metal filter; returns all 4 if omitted",
"type": "string",
"enum": [
"gold",
"silver",
"platinum",
"palladium"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_junk_silver(dimes, quarters, half_dollars, kennedy_40, dollars, ...)
Calculates silver melt value for pre-1965 US coinage
输入模式
{
"type": "object",
"properties": {
"dimes": {
"description": "Roosevelt/Mercury dime count (0.07234 oz Ag each)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"quarters": {
"description": "Washington quarter count (0.18084 oz Ag each)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"half_dollars": {
"description": "Walking Liberty/Franklin/1964 Kennedy half count (0.36169 oz Ag each)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kennedy_40": {
"description": "Kennedy 1965-1970 40% silver halves (0.14792 oz Ag each)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"dollars": {
"description": "Morgan/Peace dollar count (0.77344 oz Ag each)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"war_nickels": {
"description": "Jefferson 1942-1945 war nickel count (0.05626 oz Ag each)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_speculation(gold, silver, platinum, palladium)
Calculates price multipliers comparing current spot to hypothetical target prices
输入模式
{
"type": "object",
"properties": {
"gold": {
"description": "Target gold price per oz",
"type": "number"
},
"silver": {
"description": "Target silver price per oz",
"type": "number"
},
"platinum": {
"description": "Target platinum price per oz",
"type": "number"
},
"palladium": {
"description": "Target palladium price per oz",
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪chat_with_troy(message, api_key)
Ask Troy anything about precious metals, markets, your stack. Provide api_key for personalized portfolio-aware answers, or omit for general market analysis.
输入模式
{
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Your question or message for Troy"
},
"api_key": {
"description": "TroyStack API key for portfolio-aware responses (optional)",
"type": "string"
}
},
"required": [
"message"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_portfolio(api_key)
Returns your precious metals portfolio: total value, cost basis, gain/loss, per-metal breakdown, and individual holdings
输入模式
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "TroyStack API key (required)"
}
},
"required": [
"api_key"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡add_holding(api_key, metal, type, quantity, weight_oz, ...)
Add a precious metals purchase to your portfolio
输入模式
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "TroyStack API key (required)"
},
"metal": {
"type": "string",
"enum": [
"gold",
"silver",
"platinum",
"palladium"
],
"description": "Metal type"
},
"type": {
"description": "Product name (e.g. \"2024 American Silver Eagle\")",
"type": "string"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "Number of pieces"
},
"weight_oz": {
"type": "number",
"minimum": 0.001,
"description": "Weight per piece in troy ounces"
},
"purchase_price": {
"type": "number",
"minimum": 0.01,
"description": "Price per piece in USD"
},
"purchase_date": {
"description": "Purchase date YYYY-MM-DD (default: today)",
"type": "string"
}
},
"required": [
"api_key",
"metal",
"quantity",
"weight_oz",
"purchase_price"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_analytics(api_key)
Cost basis, average cost per oz, break-even price, unrealized P/L per metal
输入模式
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "TroyStack API key (required)"
}
},
"required": [
"api_key"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢scan_receipt(api_key, image_base64)
Extract precious metals purchase data from a receipt image using AI vision
输入模式
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "TroyStack API key (required)"
},
"image_base64": {
"type": "string",
"description": "Base64-encoded receipt image (JPEG)"
}
},
"required": [
"api_key",
"image_base64"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_daily_brief(api_key)
Troy's daily market brief. Provide api_key for personalized brief, or omit for the latest Stack Signal market synthesis.
输入模式
{
"type": "object",
"properties": {
"api_key": {
"description": "TroyStack API key for personalized brief (optional)",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据