MCP.so
登录

Stock Assistant MCP Server

@shwetha-sundar

关于 Stock Assistant MCP Server

暂无概览

基本信息

分类

AI 与智能体

运行时

python

传输方式

stdio

发布者

shwetha-sundar

配置

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

{
  "mcpServers": {
    "mcp-server-shwetha-sundar": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Stock Assistant MCP Server?

Stock Assistant MCP Server is a Model Context Protocol (MCP) server that provides real-time stock data, historical analysis, and stock comparisons using the Yahoo Finance API. It uses SSE transport and is authenticated with an API key, targeting developers who integrate stock market data into MCP‑powered applications.

How to use Stock Assistant MCP Server?

Install prerequisites (Python 3.13+, uv), create a virtual environment, install dependencies with uv sync, set the API_KEYS environment variable, and run uv run fastapi dev main.py. Then configure your MCP client (e.g., VS Code) with the server’s SSE URL (http://localhost:8000/sse) and the API key in the request headers.

Key features of Stock Assistant MCP Server

  • Real‑time stock data via Yahoo Finance API
  • Historical stock price analysis
  • Stock comparison across multiple tickers
  • SSE (Server‑Sent Events) transport
  • API‑key authentication
  • Deployable to Azure Container Apps

Use cases of Stock Assistant MCP Server

  • Fetching current stock prices for a portfolio dashboard
  • Analyzing historical trends of a stock over a custom period
  • Comparing financial metrics of two or more companies
  • Providing real‑time market data to an LLM‑based assistant
  • Running a self‑hosted stock data service in cloud containers

FAQ from Stock Assistant MCP Server

What data does Stock Assistant MCP Server provide?

It provides real‑time stock data, historical analysis, and stock comparisons sourced from the Yahoo Finance API.

What are the system requirements for running the server?

Python 3.13 or later and the uv package manager are required.

How do I authenticate with the server?

The server requires an API key passed in the x-api-key header of SSE requests. You set the key via the API_KEYS environment variable.

Can I deploy Stock Assistant MCP Server to the cloud?

Yes, it can be deployed to Azure Container Apps using the provided az containerapp up command.

What transport protocol does the server use?

It uses SSE (Server‑Sent Events) as the communication transport.

评论

AI 与智能体 分类下的更多 MCP 服务器