MCP: StocksMCPServer

by Lacri1

134 downloads
Not rated
GitHub

About

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

Details

Author
Lacri1
Downloads
134
Categories
Other

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

Configure the server in claude_desktop_config.json using the uv command with the --directory argument pointing to your project directory. For interactive development, run mcp dev main.py to use the MCP Inspector.

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
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.