GoldAPI Precious Metals Quotes for LangChain
io.github.hujuncheng-ddd/goldapi-mcp
Real-time & historical precious metals quotes (gold/silver/platinum/palladium) via MCP.
client:LangChain
transport:streamable-http
tools:4
Install GoldAPI Precious Metals Quotes in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"goldapi-mcp": {
"transport": "streamable_http",
"url": "https://www.gold-api.cn/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs