MCP.so
登录

Finance_mcp_server

@dino65-dev

关于 Finance_mcp_server

A Model Context Protocol (MCP) server that provides real-time financial data to Large Language Models through Yahoo Finance.

基本信息

分类

金融与商务

传输方式

stdio

发布者

dino65-dev

提交者

Dinmay Brahma

配置

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

{
  "mcpServers": {
    "Finance_mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Finance_mcp-server?

Finance_mcp-server is a Model Context Protocol (MCP) server that provides real-time financial data to Large Language Models through Yahoo Finance. It enables AI models like Claude to access stock prices, historical data, company profiles, and other financial metrics, and integrates with MCP clients such as Claude Desktop, Cursor, and Winds AI.

How to use Finance_mcp-server?

Install Python 3.9+, clone the repository, create a virtual environment, and install dependencies with pip install -r requirements.txt. Start the server by running python yfinance_mcp_server.py. Then configure an MCP client (e.g., Claude Desktop or Cursor) with a JSON configuration pointing to the server script.

Key features of Finance_mcp-server

  • Real-time stock price lookup for publicly traded companies.
  • Historical data analysis over custom time periods.
  • Detailed company profiles and financial metrics.
  • Compare multiple stocks using various metrics.
  • Search stocks by company name or keywords.

Use cases of Finance_mcp-server

  • Ask an AI assistant for the current price of Apple stock.
  • Retrieve the past three months of TSLA stock history.
  • Get Amazon’s market capitalization through a natural language query.
  • Compare P/E ratios of Google, Microsoft, and Apple.
  • Find stocks related to artificial intelligence by keyword.

FAQ from Finance_mcp-server

What are the system requirements?

Python 3.9 or higher, plus the yfinance and mcp packages.

How do I install Finance_mcp-server?

Clone the repository, create a virtual environment (recommended), and run pip install -r requirements.txt.

How do I connect it to Claude Desktop?

Open Claude Desktop Settings, add an MCP configuration with the command python /absolute/path/to/yfinance_mcp_server.py, save, and restart.

What tools does the server provide?

Five tools: get_stock_price, get_historical_data, get_stock_metric, compare_stocks, and search_stocks.

Where does the financial data come from?

All data is sourced from Yahoo Finance via the yfinance library.

评论

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