stock-mcp
Verified Safeby huweihua123
Overview
Provides AI Agents with professional-grade stock market analysis capabilities by bridging large language models with real-time financial data.
Installation
MCP_TRANSPORT=streamable-http python -m uvicorn src.server.app:app --host 0.0.0.0 --port 9898Environment Variables
- REDIS_HOST
- REDIS_PORT
- REDIS_DB
- REDIS_PASSWORD
- TUSHARE_ENABLED
- TUSHARE_TOKEN
- FINNHUB_ENABLED
- FINNHUB_API_KEY
- DASHSCOPE_API_KEY
- TAVILY_API_KEY
- GOOGLE_API_KEY
- OPENROUTER_API_KEY
- WEB_SEARCH_PROVIDER
- PROXY_HOST
- PROXY_PORT
- PROXY_ENABLED
- MINIO_ENDPOINT
- MINIO_ACCESS_KEY
- MINIO_SECRET_KEY
- MINIO_BUCKET
- MINIO_SECURE
- CORS_ORIGINS
- MCP_TRANSPORT
Security Notes
The project follows good security practices by loading API keys and sensitive configurations from environment variables. Input validation is in place via Pydantic models. However, it relies heavily on numerous third-party APIs (financial data, web search) which introduces external trust dependencies. Default MinIO/Redis credentials are for development and should be secured in production. The `edgartools` library used for SEC filings shares an identity (email) with the SEC, which is a privacy consideration.
Similar Servers
maverick-mcp
Personalized stock analysis, technical indicators, and portfolio optimization via Claude Desktop.
Financial-Modeling-Prep-MCP-Server
Enables AI assistants to access and analyze comprehensive financial data, stock information, company fundamentals, and market insights from Financial Modeling Prep.
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).
trade-it-mcp
Enables natural-language interaction with stock, crypto, and options brokerages for trading, portfolio queries, and market insights.