Back to Home
zhenxiay icon

stock_intelligence_mcp

by zhenxiay

Overview

An MCP server that enables AI agents to access and analyze Yahoo Finance data for stock intelligence, providing financial insights and recommendations.

Installation

Run Command
docker build . -t mcp-server-stock-intelligence:test -f Docker/Dockerfile && docker run --name mcp-server-stock -p 8008:8008 mcp-server-stock-intelligence:test

Environment Variables

  • OPENAI_API_KEY
  • HTTP_PROXY
  • HTTPS_PROXY
  • NO_PROXY

Security Notes

The `read_resources` tool is vulnerable to path traversal (CWE-22) as it directly constructs a file path using a user-provided `file_name` argument without sanitization. An attacker could potentially read arbitrary files outside the `resources` directory (e.g., `../pyproject.toml`, `/etc/passwd`). There are no other apparent 'eval' or hardcoded secrets found. `yfinance` and `ta` libraries are standard for financial data, and `toon` for LLM output optimization is safe.

Similar Servers

Stats

Interest Score30
Security Score4
Cost ClassMedium
Avg Tokens1000
Stars2
Forks1
Last Update2025-11-22

Tags

Stock AnalysisFinancial DataAI Agent ToolsMCP ServerPython