mcp
Free finance and trading calculators as MCP tools: risk/reward, RMD, Coast FIRE, inflation.
使うべきか
品質と安全性
検出事項(9)
- LOWmargin 内
- LOWliquidation_price 内
- LOWrmd 内
- LOWibond_value 内
- LOWfinancial_health_score 内
- LOWreal_wage 内
- LOWcoast_fire 内
- LOWinflation_adjust 内
- LOWfx_rate 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"mcp": {
"url": "https://economicium-mcp.economicium.workers.dev/mcp"
}
}
}リモートエンドポイント
https://economicium-mcp.economicium.workers.dev/mcpstreamable-httpできること
ツール一覧
ツール(18)
🟢risk_reward(entry, stop, target, winRatePct)
Reward:risk ratio, breakeven win rate, and expectancy in R multiples from an entry, stop and target.
入力スキーマ
{
"type": "object",
"properties": {
"entry": {
"type": "number"
},
"stop": {
"type": "number"
},
"target": {
"type": "number"
},
"winRatePct": {
"type": "number",
"description": "Expected win rate, 0-100"
}
},
"required": [
"entry",
"stop",
"target",
"winRatePct"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢position_size(symbol, accountBalance, riskPct, stopDistance, accountCurrency, ...)
Lot size, units and per-lot pip value from account risk, a stop distance, and an instrument.
入力スキーマ
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Instrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (USD/CHF), AUDUSD (AUD/USD), USDCAD (USD/CAD), NZDUSD (NZD/USD), EURGBP (EUR/GBP), EURJPY (EUR/JPY), GBPJPY (GBP/JPY), XAUUSD (Gold (XAU/USD)), XAGUSD (Silver (XAG/USD)), USOIL (WTI Crude (USOIL)), US30 (Dow Jones (US30)), NAS100 (Nasdaq 100 (NAS100)), SPX500 (S&P 500 (SPX500)), GER40 (DAX (GER40)), BTCUSD (Bitcoin (BTC/USD)), ETHUSD (Ethereum (ETH/USD))"
},
"accountBalance": {
"type": "number"
},
"riskPct": {
"type": "number",
"description": "Percent of the account to risk, e.g. 1 for 1%"
},
"stopDistance": {
"type": "number",
"description": "Stop distance in price units (pips x pip size, or |entry - stop|)"
},
"accountCurrency": {
"description": "Account currency, e.g. \"USD\". Defaults to the instrument's own quote currency.",
"type": "string"
},
"contractSize": {
"description": "Override the instrument's default contract size",
"type": "number"
},
"conversionRate": {
"description": "Override the quote-to-account conversion rate",
"type": "number"
}
},
"required": [
"symbol",
"accountBalance",
"riskPct",
"stopDistance"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pip_value(symbol, lots, accountCurrency, contractSize, pipSize)
Cash value of one pip/point for a given instrument, lot size and account currency.
入力スキーマ
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Instrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (USD/CHF), AUDUSD (AUD/USD), USDCAD (USD/CAD), NZDUSD (NZD/USD), EURGBP (EUR/GBP), EURJPY (EUR/JPY), GBPJPY (GBP/JPY), XAUUSD (Gold (XAU/USD)), XAGUSD (Silver (XAG/USD)), USOIL (WTI Crude (USOIL)), US30 (Dow Jones (US30)), NAS100 (Nasdaq 100 (NAS100)), SPX500 (S&P 500 (SPX500)), GER40 (DAX (GER40)), BTCUSD (Bitcoin (BTC/USD)), ETHUSD (Ethereum (ETH/USD))"
},
"lots": {
"type": "number"
},
"accountCurrency": {
"description": "Account currency, e.g. \"USD\". Defaults to the instrument's own quote currency.",
"type": "string"
},
"contractSize": {
"type": "number"
},
"pipSize": {
"type": "number"
}
},
"required": [
"symbol",
"lots"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢margin(symbol, lots, price, leverage, accountCurrency, ...)
Notional value, required margin, and effective leverage for a leveraged position.
入力スキーマ
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Instrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (USD/CHF), AUDUSD (AUD/USD), USDCAD (USD/CAD), NZDUSD (NZD/USD), EURGBP (EUR/GBP), EURJPY (EUR/JPY), GBPJPY (GBP/JPY), XAUUSD (Gold (XAU/USD)), XAGUSD (Silver (XAG/USD)), USOIL (WTI Crude (USOIL)), US30 (Dow Jones (US30)), NAS100 (Nasdaq 100 (NAS100)), SPX500 (S&P 500 (SPX500)), GER40 (DAX (GER40)), BTCUSD (Bitcoin (BTC/USD)), ETHUSD (Ethereum (ETH/USD))"
},
"lots": {
"type": "number"
},
"price": {
"type": "number"
},
"leverage": {
"type": "number"
},
"accountCurrency": {
"description": "Account currency, e.g. \"USD\". Defaults to the instrument's own quote currency.",
"type": "string"
},
"accountEquity": {
"description": "Account equity, used to compute effective leverage and % of equity used",
"type": "number"
},
"contractSize": {
"type": "number"
}
},
"required": [
"symbol",
"lots",
"price",
"leverage"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢profit_loss(symbol, direction, lots, entry, exit, ...)
Cash result, pips, and return-on-margin for a closed or hypothetical trade.
入力スキーマ
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Instrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (USD/CHF), AUDUSD (AUD/USD), USDCAD (USD/CAD), NZDUSD (NZD/USD), EURGBP (EUR/GBP), EURJPY (EUR/JPY), GBPJPY (GBP/JPY), XAUUSD (Gold (XAU/USD)), XAGUSD (Silver (XAG/USD)), USOIL (WTI Crude (USOIL)), US30 (Dow Jones (US30)), NAS100 (Nasdaq 100 (NAS100)), SPX500 (S&P 500 (SPX500)), GER40 (DAX (GER40)), BTCUSD (Bitcoin (BTC/USD)), ETHUSD (Ethereum (ETH/USD))"
},
"direction": {
"type": "string",
"enum": [
"buy",
"sell"
]
},
"lots": {
"type": "number"
},
"entry": {
"type": "number"
},
"exit": {
"type": "number"
},
"accountCurrency": {
"description": "Account currency, e.g. \"USD\". Defaults to the instrument's own quote currency.",
"type": "string"
},
"leverage": {
"description": "Used to compute return-on-margin; omit to skip that figure",
"type": "number"
}
},
"required": [
"symbol",
"direction",
"lots",
"entry",
"exit"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢compounding(start, ratePct, periods, contribution)
Account growth curve, total return and the gain from compounding vs. simple interest.
入力スキーマ
{
"type": "object",
"properties": {
"start": {
"type": "number",
"description": "Starting balance"
},
"ratePct": {
"type": "number",
"description": "Return per period, as a percent, e.g. 1 for 1%"
},
"periods": {
"type": "number",
"description": "Number of periods to compound over (max 600)"
},
"contribution": {
"description": "Recurring contribution added each period",
"type": "number"
}
},
"required": [
"start",
"ratePct",
"periods"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pivot_points(high, low, close)
Classic, Fibonacci, Camarilla and Woodie support/resistance levels from a prior high, low and close.
入力スキーマ
{
"type": "object",
"properties": {
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"close": {
"type": "number"
}
},
"required": [
"high",
"low",
"close"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢fibonacci_levels(high, low, direction)
Retracement (0-100%) and extension (127.2-261.8%) price levels for a swing high/low.
入力スキーマ
{
"type": "object",
"properties": {
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
],
"description": "The swing's own direction"
}
},
"required": [
"high",
"low",
"direction"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢liquidation_price(side, mode, entry, leverage, maintenanceMarginRatePct, ...)
Estimated liquidation price and distance from entry for a leveraged crypto position.
入力スキーマ
{
"type": "object",
"properties": {
"side": {
"type": "string",
"enum": [
"long",
"short"
]
},
"mode": {
"type": "string",
"enum": [
"cross",
"isolated"
]
},
"entry": {
"type": "number"
},
"leverage": {
"type": "number"
},
"maintenanceMarginRatePct": {
"type": "number",
"description": "Exchange maintenance margin rate, as a percent"
},
"qty": {
"type": "number"
},
"crossBalance": {
"description": "Wallet balance backing the position, cross mode only",
"type": "number"
}
},
"required": [
"side",
"mode",
"entry",
"leverage",
"maintenanceMarginRatePct",
"qty"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢rmd(priorYearBalance, age)
This year's RMD from a prior-year-end IRA/employer-plan balance and age, per the IRS Uniform Lifetime Table.
入力スキーマ
{
"type": "object",
"properties": {
"priorYearBalance": {
"type": "number"
},
"age": {
"type": "number",
"description": "Age at the end of this year"
}
},
"required": [
"priorYearBalance",
"age"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ibond_value(issueMonth, asOfMonth, faceValue)
Accrued and redeemable value of a Series I savings bond, from its issue month, face value and an as-of month.
入力スキーマ
{
"type": "object",
"properties": {
"issueMonth": {
"type": "string",
"description": "YYYY-MM"
},
"asOfMonth": {
"type": "string",
"description": "YYYY-MM"
},
"faceValue": {
"type": "number"
}
},
"required": [
"issueMonth",
"asOfMonth",
"faceValue"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢financial_health_score(monthlyIncome, monthlyExpenses, emergencyFund, monthlyDebtPayments)
A 0-100 score from savings rate, emergency fund coverage and debt-to-income, each against a named benchmark.
入力スキーマ
{
"type": "object",
"properties": {
"monthlyIncome": {
"type": "number"
},
"monthlyExpenses": {
"type": "number"
},
"emergencyFund": {
"type": "number"
},
"monthlyDebtPayments": {
"type": "number"
}
},
"required": [
"monthlyIncome",
"monthlyExpenses",
"emergencyFund",
"monthlyDebtPayments"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢real_wage(oldPay, oldYear, newPay, newYear)
Whether a pay change kept pace with inflation, in real (inflation-adjusted) terms, using annual US CPI.
入力スキーマ
{
"type": "object",
"properties": {
"oldPay": {
"type": "number"
},
"oldYear": {
"type": "number"
},
"newPay": {
"type": "number"
},
"newYear": {
"type": "number"
}
},
"required": [
"oldPay",
"oldYear",
"newPay",
"newYear"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢emergency_fund(monthlyExpenses, fund, severance, otherResources, unemploymentBenefit, ...)
How many months of runway a set of resources covers against monthly expenses, net of unemployment benefits and COBRA.
入力スキーマ
{
"type": "object",
"properties": {
"monthlyExpenses": {
"type": "number"
},
"fund": {
"description": "Emergency fund savings",
"type": "number"
},
"severance": {
"type": "number"
},
"otherResources": {
"type": "number"
},
"unemploymentBenefit": {
"description": "Monthly unemployment benefit",
"type": "number"
},
"cobra": {
"description": "Monthly COBRA health insurance cost",
"type": "number"
},
"targetMonths": {
"description": "Target runway in months, default 6",
"type": "number"
}
},
"required": [
"monthlyExpenses"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢coast_fire(age, retireAge, invested, annualSpend, nominalReturnPct, ...)
The amount invested today that, growing alone with no further contributions, reaches a full FIRE number by retirement age.
入力スキーマ
{
"type": "object",
"properties": {
"age": {
"type": "number"
},
"retireAge": {
"type": "number"
},
"invested": {
"type": "number"
},
"annualSpend": {
"type": "number"
},
"nominalReturnPct": {
"type": "number",
"description": "Expected annual nominal investment return, as a percent"
},
"inflationPct": {
"type": "number"
},
"safeWithdrawalRatePct": {
"type": "number",
"description": "e.g. 4 for the 4% rule"
},
"contribMonthly": {
"type": "number"
},
"otherAnnualIncome": {
"description": "e.g. Social Security, pension",
"type": "number"
},
"feesPct": {
"description": "Annual investment fee drag, as a percent",
"type": "number"
}
},
"required": [
"age",
"retireAge",
"invested",
"annualSpend",
"nominalReturnPct",
"inflationPct",
"safeWithdrawalRatePct"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢inflation_adjust(amount, fromYear, toYear)
What a dollar amount in one year is worth in another year's dollars, based on annual US CPI-U.
入力スキーマ
{
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"fromYear": {
"type": "number"
},
"toYear": {
"type": "number"
}
},
"required": [
"amount",
"fromYear",
"toYear"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢fx_rate(from, to)
Daily ECB reference cross rate between two currencies.
入力スキーマ
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Currency code, e.g. EUR"
},
"to": {
"type": "string",
"description": "Currency code, e.g. USD"
}
},
"required": [
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cpi_index(year)
The annual (yearly-average) US CPI-U index value for a given year.
入力スキーマ
{
"type": "object",
"properties": {
"year": {
"type": "number"
}
},
"required": [
"year"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス