fintools-mcp
fintools-mcp
MCP (Model Context Protocol) を介したAIアシスタント向けの金融分析ツール。
Claude、ChatGPT、Cursor、またはMCP互換のAIに、単なる株価だけでなく、トレーダーが実際に使用する分析ツールキットへのアクセスを提供します。
ツール
ツール | 機能 |
| RSI、MACD、ATR、EMA (9/21/50/200)、フィボナッチレベル、トレンド評価 |
| 現在価格、出来高、52週レンジ、時価総額 |
| -100(強い下降トレンド)から+100(強い上昇トレンド)までのトレンドスコアと構成要素の内訳 |
| タッチ回数と強度評価を含む主要なサポート/レジスタンスレベル |
| RSI、トレンドスコア、EMA位置、相対出来高によるS&P 500のスクリーニング — セットアップを迅速に発見 |
| IV分析、流動性フィルタリング、プット/コール比率を含むオプションチェーン |
| ストップロスと利益目標を用いたリスクベースのポジションサイジング |
| ATRベースのポジションサイジング — ボラティリティからストップとターゲットを自動計算 |
| 取引損益からの勝率、プロフィットファクター、シャープレシオ、ドローダウン、連勝/連敗記録 |
| 複数のシンボル間でのテクニカル比較 |
Related MCP server: MCP YFinance Stock Server
仕組み

クイックスタート
インストール
pip install fintools-mcpまたは uv を使用する場合:
uv pip install fintools-mcpClaude Desktopへの追加
~/Library/Application Support/Claude/claude_desktop_config.json を編集します:
{
"mcpServers": {
"fintools": {
"command": "uv",
"args": ["run", "--from", "fintools-mcp", "fintools-mcp"]
}
}
}pip経由でインストールした場合:
{
"mcpServers": {
"fintools": {
"command": "fintools-mcp"
}
}
}Claude Codeへの追加
claude mcp add fintools -- uv run --from fintools-mcp fintools-mcp使用例
設定が完了すると、AIアシスタントに以下のような質問ができます:
「200 EMAより上で、売られすぎているS&P 500銘柄を探して」
「SPYのトレンドスコアは?」
「NVDAのサポートとレジスタンスレベルを表示して」
「AAPLの現在のテクニカルセットアップはどうなっている?」
「来週金曜日のSPYオプションチェーンを分析して」
「10万ドルの口座で1.5%のリスクを取ってNVDAをロングする場合、何株購入すべきで、ストップはどこに置くべき?」
「AAPL、GOOGL、MSFT、AMZNを比較して、最も強いトレンドはどれ?」
「私の過去20回の取引結果はこれです: [150, -80, 200, ...] — 勝率とシャープレシオは?」
出力例
テクニカル指標
> "What's the technical setup on SPY?"
SPY @ $573.42
RSI(14): 58.3 — bullish momentum
MACD: 2.14 (histogram +0.38, bullish)
ATR(14): $7.82
EMAs: 9 > 21 > 50 > 200 (fully stacked bullish)
Fibonacci: In golden pocket (0.618-0.65 retracement)
Trend: Bullish (all signals aligned)ポジションサイジング
> "Size a long position on AAPL at $227, stop $220, target $245"
Shares: 214
Position value: $48,578
Risk: $1,498 (1.5% of $100k)
Reward: $3,852
R:R ratio: 2.57アーキテクチャ
fintools-mcp/
├── fintools_mcp/
│ ├── server.py # MCP server — tool definitions
│ ├── data.py # Market data via yfinance
│ ├── indicators/ # Technical indicators (standalone, no deps)
│ │ ├── rsi.py # RSI — Wilder's smoothing
│ │ ├── macd.py # MACD (12, 26, 9)
│ │ ├── atr.py # ATR — Average True Range
│ │ ├── ema.py # EMA — any period
│ │ ├── vwap.py # VWAP — intraday, daily reset
│ │ └── fibonacci.py # Fibonacci retracement + golden pocket
│ └── analysis/
│ ├── position_sizer.py # Risk-based + ATR-based sizing
│ └── trade_stats.py # KPI calculator (60+ metrics)
└── tests/データソース
株価データ: Yahoo Finance (無料、APIキー不要)
オプションデータ: Yahoo Finance オプションチェーン
基本機能にAPIキーは不要です。
開発
git clone https://github.com/slimbiggins007/fintools-mcp.git
cd fintools-mcp
uv sync
uv run python -m fintools_mcp # starts the MCP serverテストの実行:
uv run pytestライセンス
MIT
Available Tools
17 toolsabout_fintoolsA
Explain the public connector and the paid Fintools MCP package.
Use this when a user asks what Fintools can do, what package is installed, how to upgrade, or why a market-analysis workflow is unavailable here.
Inputs: no named parameters. Returns: result
analyze_options_chainD
Paid Fintools MCP required: options-chain context and liquidity filters.
Inputs: ticker (required), expiration, min_volume, max_spread_pct, +1 more. Returns: result
analyze_tradesC
Paid Fintools MCP required: trade-stat calculations and review context.
Inputs: pnls (required), starting_equity. Returns: result
calculate_atr_positionC
Paid Fintools MCP required: ATR-based position sizing.
Inputs: ticker (required), period, risk_pct, direction, +3 more. Returns: result
calculate_position_sizeC
Paid Fintools MCP required: risk-based position sizing.
Inputs: ticker (required), stop_price (required), entry_price (required), target_price (required), +2 more. Returns: result
check_connectionA
Confirm that the public Fintools connector is connected and responding.
Inputs: no named parameters. Returns: result
compare_tickersC
Paid Fintools MCP required: side-by-side technical comparison.
Inputs: tickers (required), period. Returns: result
find_breakoutsD
Paid Fintools MCP required: breakout discovery and candidate surfacing.
Inputs: max_rsi, min_rsi, max_results, exclude_symbols, +1 more. Returns: result
get_data_source_statsA
Show public connector cache status and provider request counters.
Inputs: no named parameters. Returns: result
get_market_snapshotD
Paid Fintools MCP required: day-context gates, flags, and fresh_add_status.
Inputs: ticker (required), period. Returns: result
get_option_quoteC
Paid Fintools MCP required: option quote, spread, IV, and entry P&L context.
Inputs: option_symbol (required), entry_price. Returns: result
get_stock_quoteB
Get a basic stock quote in the public Fintools connector.
Args: ticker: Stock symbol, such as AAPL, SPY, or TSLA.
Inputs: ticker (required). Returns: result
get_support_resistanceC
Paid Fintools MCP required: support/resistance levels and structure.
Inputs: ticker (required), lookback, max_levels. Returns: result
get_technical_indicatorsC
Paid Fintools MCP required: RSI, MACD, ATR, EMAs, Fibonacci, and chart context.
Inputs: ticker (required), period, interval. Returns: result
get_trend_scoreC
Paid Fintools MCP required: graduated trend score with component breakdowns.
Inputs: ticker (required). Returns: result
screen_stocksC
Paid Fintools MCP required: custom screens by trend, RSI, EMAs, and volume.
Inputs: rsi_max, rsi_min, tickers, universe, +6 more. Returns: result
winner_similarity_scanC
Paid Fintools MCP required: winner-similarity candidate ranking and triage.
Inputs: tickers (required), max_results. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool has a distinct purpose: quotes, technical analysis, options, position sizing, screening, meta functions. No two tools appear to do the same thing, and descriptions clearly differentiate them.
Most tools follow a verb_noun pattern with snake_case (e.g., get_stock_quote, calculate_position_size). Minor inconsistency: 'about_fintools' and 'winner_similarity_scan' break the pattern slightly, but overall the naming is predictable and clear.
With 17 tools, the server covers a broad financial toolkit without being overwhelming. Each tool appears necessary for the domain of financial analysis and trading, and the count feels well-scoped.
The tool set covers core financial workflows: quotes, technical indicators, options, trades, scanning, and position sizing. Minor gaps exist (e.g., no historical price data, no news), but the provided tools form a coherent and functional surface for the stated purpose.
Maintenance
Related MCP Connectors
Trading journal, options risk checks, position sizing and Monte Carlo analytics for AI assistants.
Yahoo Finance for AI agents: quotes, price history, options with Greeks, financials, news, movers.
Stock & options risk analytics for AI agents: pre-trade risk scan, IV, gamma walls, Monte Carlo.
Stock research for AI assistants: scan and chart US stocks; SEC filings, insider trades and news.
Related MCP Servers
- FlicenseBqualityNot gradedmaintenanceEnables LLMs to retrieve, analyze, and visualize stock prices and financial report data for quantitative trading research and investment analysis. Provides real-time and historical stock data, financial statement analysis, key metric calculations, and trading signal visualization.13-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to retrieve real-time stock data, manage watchlists, and perform comprehensive technical analysis using Yahoo Finance API. Provides 18+ tools for stock price tracking, trend analysis, volatility assessment, and financial indicators through MCP integration.MIT
- AlicenseAqualityDmaintenanceProvides comprehensive financial analysis and real-time market data including stock information, options chains, technical indicators, financial statements, earnings calendars, and market sentiment indicators through integration with yfinance and other financial APIs.14MIT
- FlicenseNot gradedqualityNot gradedmaintenanceProvides comprehensive stock intelligence workflows by integrating data from multiple providers for market analysis, technical indicators, and fundamental data. It enables users to perform technical, fundamental, and risk analysis alongside options and news tracking through a unified tool registry.-