Skip to main content
Glama

fintools-mcp

Инструменты финансового анализа для ИИ-ассистентов через MCP (Model Context Protocol).

Предоставьте Claude, ChatGPT, Cursor или любому другому ИИ, совместимому с MCP, доступ к реальному финансовому анализу — не просто к котировкам акций, а к аналитическому инструментарию, который действительно использует трейдер.

Инструменты

Инструмент

Что он делает

get_technical_indicators

RSI, MACD, ATR, EMA (9/21/50/200), уровни Фибоначчи, оценка тренда

get_stock_quote

Текущая цена, объем, диапазон за 52 недели, рыночная капитализация

get_trend_score

Оценка тренда от -100 (сильный нисходящий тренд) до +100 (сильный восходящий тренд) с разбивкой по компонентам

get_support_resistance

Ключевые уровни поддержки/сопротивления с количеством касаний и рейтингом силы

screen_stocks

Скрининг акций S&P 500 по RSI, оценке тренда, положению EMA, относительному объему — быстрый поиск сетапов

analyze_options_chain

Цепочка опционов с анализом IV, фильтрацией ликвидности, коэффициентами put/call

calculate_position_size

Расчет размера позиции на основе риска с учетом стоп-лосса и тейк-профита

calculate_atr_position

Расчет размера позиции на основе ATR — автоматический расчет стопа и цели исходя из волатильности

analyze_trades

Винрейт, фактор прибыли, коэффициент Шарпа, просадка, серии сделок на основе P&L

compare_tickers

Техническое сравнение нескольких символов бок о бок

Related MCP server: MCP YFinance Stock Server

Как это работает

fintools-mcp sequence diagram

Быстрый старт

Установка

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 tools
about_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

    B3/5.0

    Scored across 17 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      Not graded
      maintenance
      Enables 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
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    • A
      license
      A
      quality
      D
      maintenance
      Provides 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.
      14
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides 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.
      -