MCP.so
Sign In
T

Troystack

@kingleosgold

About Troystack

Live precious metals prices, COMEX vault data, market intelligence, and calculators.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "troystack": {
      "url": "https://api.troystack.ai/mcp"
    }
  }
}

Tools

12

Returns current spot prices for gold, silver, platinum, and palladium with daily change percentages

Historical spot price data for a precious metal over a time range

Returns Stack Signal — TroyStack's curated precious metals market intelligence with Troy's commentary

Returns COMEX warehouse inventory: registered, eligible, combined ounces, daily changes, open interest, oversubscribed ratio

Calculates silver melt value for pre-1965 US coinage

Calculates price multipliers comparing current spot to hypothetical target prices

Ask Troy anything about precious metals, markets, your stack. Provide api_key for personalized portfolio-aware answers, or omit for general market analysis.

Returns your precious metals portfolio: total value, cost basis, gain/loss, per-metal breakdown, and individual holdings

Add a precious metals purchase to your portfolio

Cost basis, average cost per oz, break-even price, unrealized P/L per metal

Extract precious metals purchase data from a receipt image using AI vision

Troy's daily market brief. Provide api_key for personalized brief, or omit for the latest Stack Signal market synthesis.

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.txt and 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

FAQ from Troystack

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.

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.

Where does Troystack store data?

Data is stored in Supabase (server-side) and synced from the TroyStack iOS app’s local SQLite database.

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.

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.

Frequently asked questions

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.

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.

Where does Troystack store data?

Data is stored in Supabase (server-side) and synced from the TroyStack iOS app’s local SQLite database.

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.

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

More Developer Tools MCP servers