stock-mcp-server

User-1289/stock-mcp-server

3.2

If you are the rightful owner of stock-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides a comprehensive overview of setting up and running an MCP server for retrieving stock prices and historical data.

MCP Server for Getting Stock Prices and Historical Data

Setup Instructions

  1. Download Claude for Desktop

  2. Edit Config File (Mac)

    • Open:
      ~/Library/Application\ Support/Claude/claude_desktop_config.json
      
    • Add the following block:
      "mcpServers": {
        "stocks": {
          "command": "/Users/[your_user_name]/.local/bin/uv",
          "args": [
            "--directory",
            "/Users/armaan/Desktop/mcp/finance-stocks",
            "run",
            "stocks.py"
          ]
        }
      }
      
  3. Run the Server

    uv run stocks.py
    
    
  4. Open Claude Code

    • Enable if not enabled in the connections