MCP: StocksMCPServer
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.
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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



