Skip to main content

MCP server for AI-powered stock market intelligence

Project description

financial-mcp-server

PyPI Downloads

MCP server for AI-powered stock market intelligence. 33 tools for any MCP-compatible AI agent.

No API keys required (FRED key optional). Market data from yfinance, SEC EDGAR, CFTC, Treasury.gov, and Google Trends.

Tools

Analysis & Scoring

Tool What it does
analyze_ticker Full analysis: fundamentals, momentum, composite score
scan_universe Rank tickers by composite score
score_ticker Composite score (0-100) with breakdown
get_fundamentals PE, EV/EBITDA, P/B, dividend yield, market cap
get_momentum 30d/90d momentum, volatility, relative strength
get_price Current price

SEC EDGAR

Tool What it does
get_sec_filings 10-K, 10-Q, 8-K filings for any public company
get_insider_trades Insider buys/sells (Forms 3/4/5)
search_sec_filings Full-text search across all SEC filings

Macro & Economic

Tool What it does
get_economic_indicator Any FRED series (GDP, CPI, unemployment, etc.)
get_yield_curve Treasury yield curve with inversion detection
get_economic_snapshot Key indicators at a glance
get_treasury_rates Average Treasury interest rates
get_treasury_yield_curve Daily yield curve data (1mo-30yr)
get_treasury_auctions Recent auction results

Futures & Positioning

Tool What it does
get_futures_positioning CFTC COT data for any commodity/index
get_smart_money_signal Bullish/bearish signal from commercial hedgers

Sentiment & Trends

Tool What it does
get_search_trends Google Trends interest over time
get_trending_searches Currently trending searches

Market Intelligence

Tool What it does
detect_market_regime BULL / BEAR / SIDEWAYS / HIGH_VOLATILITY / CRASH
get_regime_history Monthly regime classification
get_vix_analysis VIX level, percentile, fear signal
scan_anomalies Volume spikes, gaps, 52w extremes, divergences
scan_volume_leaders Unusual volume detection
scan_gap_movers Significant gap ups/downs at open

Portfolio & Paper Trading

Tool What it does
create_portfolio Start a paper portfolio (capital, risk profile, horizon)
analyze_portfolio Holdings, allocations, performance, and risk summary
get_holdings Current positions with values
get_trades Trade history (filter by status)
execute_buy Buy shares at the current price
execute_sell Sell shares at the current price
run_rebalance Score a universe and execute buy/sell signals
check_risk Stress score, scenario drawdowns, concentration

Paper-trading state is stored in a local SQLite DB (see FINANCIAL_MCP_DB_PATH below).

Install

pip:

pip install financial-mcp-server
financial-mcp

uvx (no install):

uvx financial-mcp-server

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "financial-mcp": {
      "command": "uvx",
      "args": ["financial-mcp-server"]
    }
  }
}

Claude Code:

claude mcp add financial-mcp -- uvx financial-mcp-server

Configuration

The server speaks stdio by default (what uvx, Claude Desktop, and Claude Code use). For a network/SSE server instead, run financial-mcp --transport sse (or set FINANCIAL_MCP_TRANSPORT=sse).

Optional environment variables:

Variable Purpose Default
FRED_API_KEY Unlocks FRED macro tools (free key) unset (FRED tools limited)
FINANCIAL_MCP_DB_PATH Where paper-trading SQLite data lives ~/.financial-mcp/financial_mcp.db
FINANCIAL_MCP_CONFIG Path to a custom config.yaml bundled defaults
FINANCIAL_MCP_TRANSPORT stdio or sse stdio

No config file is required — sensible defaults are built in.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

financial_mcp_server-0.1.7.tar.gz (55.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

financial_mcp_server-0.1.7-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file financial_mcp_server-0.1.7.tar.gz.

File metadata

  • Download URL: financial_mcp_server-0.1.7.tar.gz
  • Upload date:
  • Size: 55.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for financial_mcp_server-0.1.7.tar.gz
Algorithm Hash digest
SHA256 049c439db04307bcc2d7f98bcce7d4cce301ea2b62600272dec4e95dc2e203d8
MD5 c3f6957bf93e13bd12a9b7beef0a7d96
BLAKE2b-256 867bdfb7a766427e8a69218401be17ce8382c1ae386eff7cc47f7d7fcd8fd075

See more details on using hashes here.

Provenance

The following attestation bundles were made for financial_mcp_server-0.1.7.tar.gz:

Publisher: publish.yml on arnavbhatia1/FinancialMCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file financial_mcp_server-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for financial_mcp_server-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 99d13b1a78c61b178c720f3d35b77d0beab75cb2a02d5338fb8bdd2033203c9c
MD5 6dd1c512e0f6b0c462be460d831b47a6
BLAKE2b-256 49c69181654a89febbbc4461d941623a8232cd0cb122fd873a0b2b9672fe168c

See more details on using hashes here.

Provenance

The following attestation bundles were made for financial_mcp_server-0.1.7-py3-none-any.whl:

Publisher: publish.yml on arnavbhatia1/FinancialMCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page