CommodityPriceAPI MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMMODITYPRICEAPI_KEY | Yes | Your CommodityPriceAPI key | |
| COMMODITYPRICEAPI_REQUEST_TIMEOUT_MS | No | Upstream request timeout in ms | 15000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_usageA | Returns the current plan, quota, and usage for the configured CommodityPriceAPI key. |
| list_symbolsA | Returns all commodity symbols supported by CommodityPriceAPI, including category, default currency, and unit. Use this to look up a symbol before calling rate tools. |
| get_latest_ratesA | Returns the latest rates for one or more commodity symbols (e.g. gold, silver, crude oil). Rates may lag up to 10 minutes depending on plan. Use 'quote' to convert to a specific currency (Premium/Plus plans only). |
| get_gold_priceA | Shortcut for the latest gold (XAU) rate without needing to pass a symbols list. |
| get_silver_priceA | Shortcut for the latest silver (XAG) rate without needing to pass a symbols list. |
| get_historical_ratesA | Returns open/high/low/close rates for one or more symbols on a specific past date (available back to 1990-01-01). If no rate exists for that exact date, the API returns the nearest available date. |
| get_time_seriesA | Returns daily historical rates for one or more symbols between two dates. The date range cannot exceed 1 year. |
| get_fluctuationA | Returns how one or more commodity symbols changed between a start and end date: start rate, end rate, absolute change, and percent change. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Tools are largely distinct, with clear separation between account usage, symbol lookup, latest rates, historical rates, time series, and fluctuation. The get_gold_price and get_silver_price shortcuts overlap with get_latest_rates, but their descriptions explicitly label them as shortcuts, reducing confusion.
All tool names follow a consistent verb_noun pattern using snake_case, primarily 'get_' with one 'list_' exception. The naming is predictable and uniform across the entire set.
With 8 tools, the server is well-scoped for its purpose of providing commodity price data. Each tool covers a meaningful aspect (usage, symbol metadata, current rates, historical, time series, fluctuation), and the two shortcuts are acceptable conveniences.
The tool surface covers the core domain lifecycle: discovering symbols, fetching current and historical prices, time series, and fluctuation analysis. Currency conversion is available via a parameter, and usage tracking is included. No significant gaps are apparent.