Back to Home
sacahan icon

CasualMarket

by sacahan

Overview

Provides a comprehensive MCP Server for Taiwan stock market data, offering real-time stock quotes, financial analysis, market insights, and simulated trading tools.

Installation

Run Command
uvx --from . casual-market-mcp

Environment Variables

  • LOG_LEVEL
  • MARKET_MCP_API_TIMEOUT
  • MARKET_MCP_API_RETRIES
  • MARKET_MCP_CACHE_TTL
  • MARKET_MCP_CACHE_MAX_SIZE
  • MARKET_MCP_CACHE_MAX_MEMORY_MB
  • MARKET_MCP_CACHING_ENABLED
  • MARKET_MCP_RATE_LIMIT_INTERVAL
  • MARKET_MCP_RATE_LIMIT_GLOBAL_PER_MINUTE
  • MARKET_MCP_RATE_LIMIT_PER_SECOND
  • MARKET_MCP_RATE_LIMITING_ENABLED
  • MARKET_MCP_MONITORING_STATS_RETENTION_HOURS
  • MARKET_MCP_MONITORING_CACHE_HIT_RATE_TARGET
  • MARKET_MCP_TWSE_API_URL
  • MARKET_MCP_LOG_FORMAT
  • MARKET_MCP_LOG_FILE

Security Notes

The `src/api/openapi_client.py` sets `verify=False` for its `httpx.AsyncClient` which disables SSL certificate validation. This is a critical security vulnerability as it makes the connection susceptible to Man-in-the-Middle (MITM) attacks, allowing attackers to intercept and potentially alter communication without detection. This setting should be changed to `verify=True` in a production environment, or a robust alternative security mechanism should be implemented.

Similar Servers

Stats

Interest Score32
Security Score4
Cost ClassLow
Stars2
Forks2
Last Update2025-11-27

Tags

Financial TradingStock MarketReal-time DataAPI IntegrationPython