Skip to main content
Glama
gold-etf

gold-etf

by pipeworx-io

@pipeworx/gold-etf

Daily physical gold held by SPDR Gold Shares (GLD), the largest gold ETF: tonnes and ounces of gold in the trust, net asset value, closing price, premium or discount and share volume, one row per trading day since the fund listed in November 2004.

Part of Pipeworx — an MCP gateway connecting AI agents to 2060+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • gld_holdings(days?, from?, to?) - the latest N trading days (default 10, max 400) or a from/to date range, newest first. Each row carries date, tonnes, ounces, nav_per_share, closing_price, premium_discount, share_volume and total_nav_usd. The response adds tonnes_change_over_window (negative means net redemptions), latest_date_published and data_as_of.

Related MCP server: The Gold Barometer MCP Server

Auth

Keyless.

Data sources

  • World Gold Trust Services, SPDR Gold Shares historical data - the fund sponsor's daily record of gold held in the trust. Read live on every call; nothing is stored.

The sponsor publishes the history as a spreadsheet workbook, not a JSON feed, and it is fetched whole on each call (about 0.5 MB), then read in the Worker. Weekends and US market holidays have no row; the workbook lists them with a holiday marker and no holdings figure, and the tool skips them. The newest row is the last completed trading day, so a call before the sponsor posts that evening's figures answers with the day before. The workbook carries a notice that reproduction or redistribution of the data is not permitted without consent: this pack proxies the file per request and keeps no copy. premium_discount is returned exactly as the sponsor's column gives it.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "gold-etf": {
      "url": "https://gateway.pipeworx.io/gold-etf/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/gold-etf/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 2060+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/gld_holdings \
  -H 'Content-Type: application/json' \
  -d '{"from":"2026-11-17","to":"2026-11-25"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/gld_holdings. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-gold-etf is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/gold-etf/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "gold-etf": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-gold-etf"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Gold Etf data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides AI agents with clean, normalized access to financial data including company fundamentals, insider trades, SEC filings, macro series from FRED, real-time quotes, and ETF holdings.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides AI agents with live and historical daily net flows for US-listed spot crypto ETFs, a composite CEFI sentiment index, and spot prices for 13 cryptocurrencies, along with tools for summary, per-asset history, and weekly analytics.
      330 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to retrieve company fundamentals with analyst price targets and estimates, as well as historical end-of-day OHLCV prices with adjusted close, for exchange-suffixed tickers bounding dates and periods.
      124 npm
      MIT