Back to Home
huweihua123 icon

stock-mcp

Verified Safe

by huweihua123

Overview

Provides AI Agents with professional-grade stock market analysis capabilities by bridging large language models with real-time financial data.

Installation

Run Command
MCP_TRANSPORT=streamable-http python -m uvicorn src.server.app:app --host 0.0.0.0 --port 9898

Environment 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

Stats

Interest Score57
Security Score8
Cost ClassLow
Avg Tokens200
Stars70
Forks21
Last Update2026-01-18

Tags

Financial DataStock Market AnalysisAI Agent ToolMulti-source DataTechnical Analysis