SocialForex
Live forex, gold & crypto quotes, economic calendar, screener, currency strength, lot-size calc
我该使用它吗
质量与安全性
发现(1)
- LOW在 get_screener 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"social-forex": {
"url": "https://toolforex.xyz/api/mcp"
}
}
}远程端点
https://toolforex.xyz/api/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢get_quotes(symbols)
Current bid/ask and daily % change for forex majors/minors, gold, silver, oil and crypto.
输入模式
{
"type": "object",
"properties": {
"symbols": {
"description": "Symbols without slash, e.g. [\"EURUSD\", \"XAUUSD\"]. Omit for all.",
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"minLength": 3,
"maxLength": 12
}
}
}
}🟢get_economic_calendar(currencies, minImpact, hoursAhead, hoursBack)
Upcoming (and optionally recent) macro events with impact, forecast, previous and actual values. Times are UTC.
输入模式
{
"type": "object",
"properties": {
"currencies": {
"description": "ISO currency codes, e.g. [\"USD\", \"EUR\"]. Omit for all.",
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 3,
"maxLength": 3
}
},
"minImpact": {
"default": "medium",
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"hoursAhead": {
"default": 24,
"type": "number",
"minimum": 1,
"maximum": 168
},
"hoursBack": {
"default": 0,
"description": "Include events released in the last N hours.",
"type": "number",
"minimum": 0,
"maximum": 72
}
}
}🟢get_screener(symbols)
Per-symbol technicals: TradingView recommendation per timeframe (M15/H1/H4/D1, -1 strong sell … +1 strong buy), RSI, ADX, MACD, Bollinger position, stochastic state and ATR.
输入模式
{
"type": "object",
"properties": {
"symbols": {
"description": "Symbols without slash, e.g. [\"EURUSD\", \"XAUUSD\"]. Omit for all.",
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"minLength": 3,
"maxLength": 12
}
}
}
}🟢get_currency_strength
Relative strength of the 8 major currencies, derived from today's % change across available pairs. Sorted strongest first.
输入模式
{
"type": "object",
"properties": {}
}🟢get_market_sessions
Whether the forex market is open, active sessions (Sydney/Tokyo/London/New York), current and upcoming overlaps.
输入模式
{
"type": "object",
"properties": {}
}🟢calculate_position_size(symbol, balance, riskPct, entry, stopLoss, ...)
Lot size so that hitting the stop loss loses `riskPct` % of the balance. Account currency is assumed to be USD.
输入模式
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 3,
"maxLength": 12,
"description": "e.g. EURUSD, XAUUSD, USDJPY"
},
"balance": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Account balance in USD"
},
"riskPct": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100,
"description": "Risk per trade in %, e.g. 1"
},
"entry": {
"type": "number",
"exclusiveMinimum": 0
},
"stopLoss": {
"type": "number",
"exclusiveMinimum": 0
},
"leverage": {
"description": "e.g. 500 for 1:500 — adds required margin",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 5000
}
},
"required": [
"symbol",
"balance",
"riskPct",
"entry",
"stopLoss"
]
}社区
证据