Skip to main content

financial-mcp-server

PyPI Downloads

Give your AI agent real stock-market data. This is an MCP server with 42 tools for prices, technicals, fundamentals, news, earnings, options, analyst ratings, SEC filings, macro data, futures positioning, market-regime detection, and paper trading — usable by any MCP-compatible LLM or agent (Claude, Cursor, and more).

No API keys required to get started. Data comes from yfinance, SEC EDGAR, CFTC, Treasury.gov, and Google Trends.


Quick start (2 minutes)

You connect this server to your AI app once, then just talk to your agent normally — it calls the tools for you. There's nothing to run yourself.

Step 1 — Install a launcher

You need one of these on your machine:

  • uv (recommended — runs the server without installing it):
    # macOS / Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    # Windows (PowerShell)
    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    
  • or pip (Python 3.10+ already installed):
    pip install financial-mcp-server
    

Step 2 — Add it to your AI app

Pick your app below, paste the config, and restart the app. That's it.

Claude Desktop

Open your config file (create it if it doesn't exist):

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this, then fully quit and reopen Claude Desktop:

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

One command:

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

Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

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

Then enable it in Settings → MCP.

Any other MCP client (Windsurf, custom agents, SDKs…)

Configure an MCP server that launches this command over stdio:

command: uvx
args:    ["financial-mcp-server"]

If you installed with pip instead of uv, the command is just financial-mcp (no args). Most clients use the same mcpServers JSON shape shown above.

Using pip instead of uv? Replace "command": "uvx", "args": ["financial-mcp-server"] with "command": "financial-mcp" everywhere above.

Step 3 — Verify it's working

In your agent, ask:

"What's the current price of AAPL?"

If it answers with a live price, you're connected. Other things to try:

  • "Analyze NVDA — fundamentals, momentum, and a score."
  • "What market regime are we in right now? Give me the full market brief."
  • "Is TSLA overbought? Check the technicals."
  • "When does AMZN report earnings, and what are analysts expecting?"
  • "Show me recent SEC 10-K filings for Microsoft."
  • "Scan AAPL, MSFT, GOOGL, AMZN and rank them."

What you can ask for (all 42 tools)

You don't call these directly — your agent picks the right one from your question. This is just a reference for what's available.

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

Price Action & Technicals

Tool What it does
get_price_history OHLCV bars for any period/interval (1m to monthly)
get_technical_indicators RSI, MACD, SMAs, Bollinger, ATR, 52w levels + plain-English summary

Company Intelligence

Tool What it does
get_ticker_news Latest headlines with publisher, date, and summary
get_earnings_info Next earnings date, EPS estimates, recent surprises
get_analyst_ratings Price targets, upside, recommendation trend
get_options_snapshot Put/call ratios, ATM implied volatility, max pain

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.)
search_fred_series Find the right FRED series ID by keyword
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
get_market_brief One-call situational awareness: regime + VIX + sectors + yields
detect_market_regime BULL / BEAR / SIDEWAYS / HIGH_VOLATILITY / CRASH
get_regime_history Monthly regime classification
get_vix_analysis VIX level, percentile, fear signal
get_sector_performance All 11 sector ETFs ranked vs SPY (1d/5d/1mo/3mo)
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 trades are saved to a local SQLite file (see FINANCIAL_MCP_DB_PATH below).


Optional settings

Everything works out of the box. These are only if you want to customize:

Environment variable What it does Default
FRED_API_KEY Unlocks the FRED macro tools — grab a free key unset (FRED tools limited)
FINANCIAL_MCP_DB_PATH Where paper-trading data is stored ~/.financial-mcp/financial_mcp.db
FINANCIAL_MCP_TRANSPORT stdio (for AI apps) or sse (network server) stdio
FINANCIAL_MCP_CONFIG Path to a custom config.yaml built-in defaults

To set an env var in Claude Desktop / Cursor, add an "env" block to the config:

{
  "mcpServers": {
    "financial-mcp": {
      "command": "uvx",
      "args": ["financial-mcp-server"],
      "env": { "FRED_API_KEY": "your-key-here" }
    }
  }
}

Running as a standalone network server? financial-mcp --transport sse.


Troubleshooting

  • Agent doesn't see the tools → fully restart the app after editing the config (Claude Desktop must be quit, not just closed).
  • uvx: command not found → install uv (Step 1), or switch to the pip method (pip install financial-mcp-server, then use "command": "financial-mcp").
  • Want to confirm the package runs at all? → uvx financial-mcp-server --help.

Changelog

See CHANGELOG.md for what changed in each release.

License

MIT

Metadata

Release files for financial-mcp-server 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for financial-mcp-server 0.1.12
File Size Uploaded Provenance Actions
financial_mcp_server-0.1.12.tar.gz 77.4 kB With provenance Details for financial_mcp_server-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for financial-mcp-server 0.1.12
File Interpreter ABI Platform Actions
financial_mcp_server-0.1.12-py3-none-any.whl Python 3 none any Details for financial_mcp_server-0.1.12-py3-none-any.whl

Total release size: 144.0 kB

Release files / financial_mcp_server-0.1.12.tar.gz

Download URL financial_mcp_server-0.1.12.tar.gz
Size 77.4 kB
Tags Source
SHA-256 checksum
How to use checksums
384193f42cae52313c41b59c1075c78f60b82a101dae77bc8cabe6c49a8699ca
BLAKE2b-256 checksum
How to use checksums
5dce4b51fa467f4e6403fd2ab88adde2db8938dfa6a54109b1e685ba9677c565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.

Transparency log

Release files / financial_mcp_server-0.1.12-py3-none-any.whl

Download URL financial_mcp_server-0.1.12-py3-none-any.whl
Size 66.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9dbff847ac8fae17540040eac3d35293e573bdebee5f7e78aedab6bba5dade44
BLAKE2b-256 checksum
How to use checksums
54e6b84a2e70efc47bd9eca79a9ca873c496e777e3d149c32787f529931f7beb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.

Transparency log

Security for financial-mcp-server 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for financial_mcp_server-0.1.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page