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 |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Commodity-Price-API/commoditypriceapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server