Basic information
About Troystack MCP Server
Live precious metals prices, COMEX vault data, market intelligence, and calculators.
Troystack is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by kingleosgold. It exposes 12 tools, including get_spot_prices, get_price_history, get_stack_signal, get_vault_watch and more. Supported transport: stdio. Runtime: JavaScript. Source code is hosted on github.com. Related topics: api, comex, finance, gold, precious-metals.
Setup
claude mcp add troystack-api --transport http https://api.troystack.ai/mcp
[mcp_servers.troystack-api] url = "https://api.troystack.ai/mcp"
{
"mcpServers": {
"troystack-api": {
"url": "https://api.troystack.ai/mcp"
}
}
}
{
"servers": {
"troystack-api": {
"type": "http",
"url": "https://api.troystack.ai/mcp"
}
}
}
Troystack MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"troystack": {
"url": "https://api.troystack.ai/mcp"
}
}
}
Troystack MCP Server tools
-
get_spot_prices
— Returns current spot prices for gold, silver, platinum, and palladium with daily change percentages
(no parameters) -
get_price_history
— Historical spot price data for a precious metal over a time range
metal:string*, range:string -
get_stack_signal
— Returns Stack Signal — TroyStack's curated precious metals market intelligence with Troy's commentary
limit:integer, offset:integer, category:string -
get_vault_watch
— Returns COMEX warehouse inventory: registered, eligible, combined ounces, daily changes, open interest, oversubscribed ratio
metal:string -
get_junk_silver
— Calculates silver melt value for pre-1965 US coinage
dimes:integer, quarters:integer, half_dollars:integer, kennedy_40:integer, dollars:integer, war_nickels:integer -
get_speculation
— Calculates price multipliers comparing current spot to hypothetical target prices
gold:number, silver:number, platinum:number, palladium:number -
chat_with_troy
— Ask Troy anything about precious metals, markets, your stack. Provide api_key for personalized portfolio-aware answers, or omit for general market analysis.
message:string*, api_key:string -
get_portfolio
— Returns your precious metals portfolio: total value, cost basis, gain/loss, per-metal breakdown, and individual holdings
api_key:string* -
add_holding
— Add a precious metals purchase to your portfolio
api_key:string*, metal:string*, type:string, quantity:integer*, weight_oz:number*, purchase_price:number*, purchase_date:string -
get_analytics
— Cost basis, average cost per oz, break-even price, unrealized P/L per metal
api_key:string* -
scan_receipt
— Extract precious metals purchase data from a receipt image using AI vision
api_key:string*, image_base64:string* -
get_daily_brief
— Troy's daily market brief. Provide api_key for personalized brief, or omit for the latest Stack Signal market synthesis.
api_key:string
Overview
What is Troystack?
Troystack is a REST API and MCP server that provides live precious metals data (gold, silver, platinum, palladium), portfolio management, and AI/LLM integration for TroyStack app users and developers.
How to use Troystack?
Install dependencies with npm install, copy .env.example to .env, fill in Supabase credentials (SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY), then run npm run dev. For production, deploy to Railway by connecting a GitHub repo and setting the required environment variables. Run the SQL migration migrations/001_api_keys.sql in Supabase SQL editor to set up the database.
Key features of Troystack
- Live spot prices for Au, Ag, Pt, Pd
- Historical price data and market news
- COMEX vault inventory monitoring
- Portfolio summary and cost basis analytics
- Authenticated holdings management (add/list)
- AI/LLM endpoint discovery via
/llms.txtand OpenAPI spec - MCP server manifest at
/.well-known/mcp.json
Use cases of Troystack
- Build a financial app that displays current precious metal prices
- Track personal metal holdings and calculate cost basis
- Integrate with AI agents (Claude, GPT) for metal market analysis
- Automate portfolio syncing between TroyStack iOS app and cloud storage
Frequently asked questions
1 What data does Troystack provide?
Live spot prices for gold, silver, platinum, and palladium; historical prices; market headlines; COMEX vault inventory; and portfolio/holding data for authenticated users.
2 How do I authenticate for protected endpoints?
Use a Bearer token in the Authorization header. Tokens are managed via the Supabase database; run the API keys migration to set them up.
3 Where does Troystack store data?
Data is stored in Supabase (server-side) and synced from the TroyStack iOS app’s local SQLite database.
4 Can I use Troystack with AI agents?
Yes. Troystack serves an /llms.txt file, an OpenAPI 3.0 spec, an AI plugin manifest, and an MCP server manifest to support integration with Claude, GPT, and other LLMs.
5 On which platform is Troystack deployed?
The API is designed to run on Railway, using environment variables for Supabase credentials and the port. A custom domain api.troystack.ai is available.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In