yfinance MCP Server

SSE

by Otman404

313 downloads Not rated yet Apache-2.0 license

About

Finance mcp server- Get up-to-date prices and news about stocks and cryptocurrencies

Details

Transport
SSE
License
Apache-2.0 license

Explore

- Provides real-time prices for stock and cryptocurrency tickers
- Delivers news articles for any given ticker symbol
- Configurable data periods and article count
- Deployable via Smithery, uv, or Docker
- Integrates with Claude Desktop and 5ire clients

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name yfinance MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via Smithery, uv pip, or Docker. The server exposes two tools: get_price_tool (requires a ticker string, with an optional period string defaulting to "1d") and get_news_tool (requires a ticker string, with an optional count integer defaulting to 5). Add the server configuration to your MCP client’s settings (examples are provided for Claude Desktop and 5ire).

get_stock_data

Retrieve comprehensive stock market data for individual ticker symbols from Yahoo Finance. Returns current price, intraday high/low, 52-week range, trading volume, market capitalization, P/E ratio, earnings per share, dividend yield, and sector classification. Use for fundamental analysis, stock screening, or building financial dashboards.

screen_stocks

Filter and screen stocks based on financial criteria like market cap range, sector, P/E ratio thresholds, dividend yield, or revenue growth. Returns matching ticker symbols with key metrics. Use for value investing, growth stock identification, or portfolio rebalancing analysis.

get_crypto_prices

Fetch real-time cryptocurrency prices and 24-hour market data for multiple coins. Returns current price in USD, 24h price change percentage, market cap, and trading volume. Use for crypto portfolio tracking, price alerts, or comparing digital assets.

get_exchange_rates

Look up current foreign exchange rates between major world currencies. Returns exchange rate, bid/ask spread, and last update timestamp. Use for travel planning, international business transactions, or forex trading decisions.

track_crypto_portfolio

Monitor real-time prices and performance metrics for a portfolio of cryptocurrency holdings. Returns current price per coin, 24-hour percentage change, portfolio value summary, and top movers. Use for active portfolio management and price monitoring.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "yfinance mcp server": {
            "finance-mcp-server": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@Otman404/finance-mcp-server",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "finance-mcp-server": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@Otman404/finance-mcp-server",
            "--client",
            "claude"
        ]
    }
}

[](https://smithery.ai/server/@Otman404/finance-mcp-server)<<<Model Context Protocolserver that allows LLMs to get accurate and up-to-date prices and news about stock/cryptocurrencies tickers.

- get_price_tool: Get the price of a stock/cryptocurrency ticker

- Arguments:

- ticker(string): Required - Ticker name or alias (e.g., "BTC-USD", "AAPL")
- period(string): Optional - Time period (e.g., "1d", "5d", "1mo"). Defaults to "1d"

- Required arguments:

- ticker(string): Required
- count(string): Optional - Number of articles to retrieve (default: 5)

To install yfinance-mcp-server for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install @Otman404/finance-mcp-server --client claude
# build the container docker build -t finance-server . # run the container docker run -it finance-server

Add the following toclaude_desktop_config.json

"mcpServers": { "finance": { "command": "uvx", "args": ["finance-mcp-server"] } }
{ "mcpServers": { "finance": { "command": "docker", "args": ["run", "-i", "--rm", "finance-server"] } } }
{ "key": "finance", "command": "uvx", "args": ["finance-mcp-server"] }
{ "key": "finance-server", "command": "docker", "args": ["run", "-i", "--rm", "finance-server"] }

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

Fetches the latest cryptocurrency news and converts article content from HTML to Markdown.

20 financial tools for AI agents: real-time FX conversion, stock quotes, crypto prices, open banking, Stripe payments, calculators, news headlines and web reading. Free and standard tiers.

An AI agent providing unified access to financial market data and news articles.

Shariah-compliant investing for AI agents — screen stocks & ETFs across 5 methodologies (AAOIFI, DJIM, FTSE, MSCI, S&P), audit portfolios, calculate zakat, get market data, news & SEC filings.

Real-time news with bias scoring across 5,000+ sources and 15+ dimensions, balanced news synthesis, live market data with AI analysis, ML options pricing, and semantic meme search.

Search for market news and financial data by entity, country, industry, or symbol using the Marketaux API.

MCP to interface with multiple blockchains, staking, DeFi, swap, bridging, wallet management, DCA, Limit Orders, Coin Lookup, Tracking and more.

Access real-time and historical crypto market data from CoinAPI’s MCP server, built for developers and AI agents needing reliable, unified market coverage.

Remote MCP server for historical crypto & prediction-market data: search ~500K instruments, live market stats (OHLC, turnover, spreads, depth, slippage) and tick-data purchase. Keyless for catalog & stats; optional OAuth for account tools. Endpoint: https://cryptostruct.com/mcp

Read-only MCP server for your Evibe investment portfolio + live market data (holdings, performance, dividends, benchmarks, screeners). Works with Claude & ChatGPT.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.