{"type":"mcp_server","name":"mcp-trader","description":"The MCP Trader Server repository provides a Model Context Protocol server equipped with tools for stock analysis and trading, including technical analysis, relative strength calculations, and position sizing.","category":"Developer Tools","language":"Python","stars":272,"forks":7,"owner":"wshobson","github_url":"https://github.com/wshobson/mcp-trader","homepage":"https://sethhobson.com","setup":"## Setup\n\n### Prerequisites\n\n- Python 3.11+\n- [uv](https://github.com/astral-sh/uv)\n- [ta-lib](https://ta-lib.org/install/)\n- [Tiingo API Key](https://api.tiingo.com/)\n\n### Environment Variables\n\nCreate a `.env` file:\n\n```bash\nTIINGO_API_KEY=your_api_key_here\n```\n\n### Installing via Smithery\n\nTo install Trader for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-trader):\n\n```bash\nnpx -y @smithery/cli install mcp-trader --client claude\n```\n\nThis will:\n\n1. Install the MCP Trader server\n2. Configure it with your Tiingo API key\n3. Set up the Claude Desktop integration\n\n#### Smithery Configuration\n\nThe server includes a `smithery.yaml` configuration file that defines:\n\n- Required configuration parameters (Tiingo API key)\n- Command function to start the MCP server\n- Integration with Claude Desktop\n\nYou can customize the Smithery configuration by editing the `smithery.yaml` file.\n\n### Installation\n\n```bash\nuv venv --python 3.11\nsource .venv/bin/activate # On Windows: .venv\\Scripts\\activate\nuv sync\n```\n\n### Docker Deployment\n\nThe project includes a Dockerfile for containerized deployment:\n\n```bash\n# Build the Docker image\ndocker build -t mcp-trader .\n\n# Run the container with your API key\ndocker run -e TIINGO_API_KEY=your_api_key_here -p 8000:8000 mcp-trader\n```\n\nTo run the container in HTTP server mode:\n\n```bash\ndocker run -e TIINGO_API_KEY=your_api_key_here -p 8000:8000 mcp-trader uv run mcp-trader --http\n```","tools":"## Available Tools\n\n1.  analyze-stock (Performs technical analysis on a given stock symbol).\n2.  relative-strength (Calculates a stock's relative strength compared to a benchmark).\n3.  volume-profile (Analyzes volume distribution by price).\n4.  detect-patterns (Identifies chart patterns in price data).\n5.  position-size (Calculates optimal position size based on risk parameters).\n6.  suggest-stops (Suggests stop loss levels based on technical analysis).","faq":null,"created_at":"2025-01-09T19:29:25+00:00","updated_at":"2025-03-28T09:42:00+00:00","source_url":"https://model-context-protocol.com/servers/stock-trading-model-context-protocol-server","related_articles":[]}