MCP

MCP

3.3

StocksMCPServer is a Model Context Protocol server designed to provide company information and stock prices using Claude.

MCP: StocksMCPServer

This project configures the MCP server to view company information and stock prices using Claude.

Configuration

The MCP server is defined in claude_desktop_config.json as follows:

{
  "mcpServers": {
    "StocksMCPServer": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\user\\PycharmProjects\\mcp", #your project directory
        "run",
        "--with",
        "mcp",
        "mcp",
        "run",
        "main.py"
      ]
    }
  }
}

Make sure to update the "directory" field to match your project path if it’s different.

Development Mode

You can also try it out interactively using MCP Inspector:

mcp dev main.py

Related MCP Servers

View all finance servers →