MCP: StocksMCPServer

by Lacri1

134 downloads Not rated yet

About

Configure the MCP server to view company information and stock prices using the Claude

Explore

- Fetches company information and stock prices via Claude
- Simple configuration using uv and MCP
- Supports interactive development with MCP Inspector

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.

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
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.