fintools-mcp
fintools-mcp
Инструменты финансового анализа для ИИ-ассистентов через MCP (Model Context Protocol).
Предоставьте Claude, ChatGPT, Cursor или любому другому ИИ, совместимому с MCP, доступ к реальному финансовому анализу — не просто к котировкам акций, а к аналитическому инструментарию, который действительно использует трейдер.
Инструменты
Инструмент | Что он делает |
| RSI, MACD, ATR, EMA (9/21/50/200), уровни Фибоначчи, оценка тренда |
| Текущая цена, объем, диапазон за 52 недели, рыночная капитализация |
| Оценка тренда от -100 (сильный нисходящий тренд) до +100 (сильный восходящий тренд) с разбивкой по компонентам |
| Ключевые уровни поддержки/сопротивления с количеством касаний и рейтингом силы |
| Скрининг акций S&P 500 по RSI, оценке тренда, положению EMA, относительному объему — быстрый поиск сетапов |
| Цепочка опционов с анализом IV, фильтрацией ликвидности, коэффициентами put/call |
| Расчет размера позиции на основе риска с учетом стоп-лосса и тейк-профита |
| Расчет размера позиции на основе ATR — автоматический расчет стопа и цели исходя из волатильности |
| Винрейт, фактор прибыли, коэффициент Шарпа, просадка, серии сделок на основе P&L |
| Техническое сравнение нескольких символов бок о бок |
Related MCP server: MCP YFinance Stock Server
Как это работает

Быстрый старт
Установка
pip install fintools-mcpИли с помощью uv:
uv pip install fintools-mcpДобавление в Claude 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Примеры
После настройки вы можете задавать своему ИИ-ассистенту вопросы вроде:
"Найди перепроданные акции S&P 500, которые все еще выше своей 200 EMA"
"Какая оценка тренда у SPY?"
"Покажи уровни поддержки и сопротивления для NVDA"
"Какой сейчас технический сетап по AAPL?"
"Проанализируй цепочку опционов SPY на следующую пятницу"
"Если я хочу открыть длинную позицию по NVDA с депозитом $100k и риском 1.5%, сколько акций купить и где поставить стоп?"
"Сравни 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.-