MCP.so
登录

yfinance MCP Server

@Otman404

基本信息

分类

金融与商务

传输方式

stdio

作者

Otman404

关于 yfinance MCP Server

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

yfinance MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

yfinance MCP Server 工具

2

Get the price of a stock/cryptocurrency ticker

Get the news of a stock/cryptocurrency ticker.

概览

What is yfinance MCP Server?

yfinance MCP Server is a Model Context Protocol (MCP) server that gives LLMs access to accurate and up-to-date prices and news for stock and cryptocurrency tickers. It is designed for AI assistants that need live financial market data.

How to use yfinance MCP Server?

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).

Key features of yfinance MCP Server

  • 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

Use cases of yfinance MCP Server

  • An AI assistant answering “What is AAPL’s current share price?”
  • An agent summarizing the latest news for BTC-USD
  • A research tool fetching one‑week price history for a stock portfolio
  • A chat‑based market monitor that checks multiple tickers on demand

常见问题

1

What data sources does it use?

The README does not specify the underlying data source, but it uses the package name `finance-mcp-server` and is listed as a yfinance MCP server.

2

What are the tool arguments for `get_price_tool`?

A `ticker` string (required) and a `period` string (optional; defaults to "1d").

3

What are the tool arguments for `get_news_tool`?

A `ticker` string (required) and a `count` string (optional; defaults to 5 articles).

4

How can I install yfinance MCP Server?

Via Smithery (`npx -y @smithery/cli install @Otman404/finance-mcp-server --client claude`), with `uv pip install -e .` and then running `finance-mcp-server`, or by building and running a Docker container.

5

Does yfinance MCP Server require an API key?

No — the README does not mention any authentication or API key requirement.

评论

金融与商务 分类下的更多 MCP 服务器