Metal Price MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Metal Price MCP Serverwhat's the current price of gold in euros?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Metal Price MCP Server
An MCP server that provides current and historical gold/precious metal prices via the GoldAPI.io service.
Features
Get current prices for gold (XAU), silver (XAG), platinum (XPT), and palladium (XPD)
Support for multiple currencies (USD, EUR, etc.)
Optional historical price lookup by date
Related MCP server: Frankfurter Forex MCP
Requirements
Python 3.7+
Packages:
mcp>=1.0.0requests>=2.31.0
Setup
Clone this repository
Install dependencies:
pip install -r requirements.txtSet your GoldAPI.io API key as an environment variable:
export GOLDAPI_API_KEY="your_api_key_here"(Windows users: use
setinstead ofexport)
Usage
The server provides one MCP tool:
Installation
This server is designed to be installed manually by adding its configuration to the cline_mcp_settings.json file.
Add the following entry to the
mcpServersobject in yourcline_mcp_settings.jsonfile:
"mcp_metal_price": {
"args": [
"/c",
"python",
"-m",
"mcp_metal_price"
],
"env": {
"GOLDAPI_API_KEY": "Your GOLDAPI_API_KEY"
}
}get_gold_price
Get current or historical metal prices.
Parameters:
currency(string, default: "USD"): Currency code (ISO 4217 format)metal(string, default: "XAU"): Metal symbol (XAU, XAG, XPT, XPD)date(string, optional): Historical date in YYYYMMDD format
Example Usage:
{
"currency": "EUR",
"metal": "XAU"
}Running the Server
Start the server with:
python src/server.pyUsing with MCP Clients
Once the server is running, you can connect to it from MCP clients like Cline or Claude.
Connecting to the Server
The server runs on stdio by default. In your MCP client, you can connect using:
cmd /c python src/server.pyUsing the get_gold_price Tool
Example tool usage in Cline/Claude:
<use_mcp_tool>
<server_name>gold-price</server_name>
<tool_name>get_gold_price</tool_name>
<arguments>
{
"currency": "USD",
"metal": "XAU"
}
</arguments>
</use_mcp_tool>Response Format
The server returns price data in JSON format:
{
"timestamp": 1713600000,
"metal": "XAU",
"currency": "USD",
"price": 2345.67,
"unit": "per troy ounce"
}License
This project is licensed under the terms of the MIT license. See LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityFmaintenanceAn MCP server providing real-time currency conversion and exchange rate data through the Frankfurter API, enabling users to convert currencies, fetch latest or historical rates, and list available currencies.Last updated435
- FlicenseBqualityDmaintenanceAn MCP server that provides currency rates, conversions, and historical exchange-rate data using the Frankfurter API. It enables users to retrieve latest rates, convert amounts between currencies, and access time-series data for currency pairs.Last updated3
- AlicenseAqualityDmaintenanceMCP server for interacting with RuneScape and Old School RuneScape data, including item prices, player hiscores, and more.Last updated62213Apache 2.0
- Alicense-qualityBmaintenanceMCP server providing market data for 15,000+ cryptocurrencies including prices, history, trends, and deep coin metadata via CoinGecko.Last updated611Apache 2.0
Related MCP Connectors
Metals API MCP — wraps Metals-API (metals-api.com)
A MCP server for the Frankfurter API for currency exchange rates.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
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/isdaniel/mcp-metal-price'
If you have feedback or need assistance with the MCP directory API, please join our Discord server