- Home
- MCP servers
- Stock Ticker
Stock Ticker
- other
0
GitHub Stars
other
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"losincos-stock-ticker-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/stock-ticker-mcp",
"run",
"server.py"
]
}
}
}Stock Ticker MCP Server is a simple MCP server that responds with a rude message when queried about stocks, useful for demonstrations with Claude Desktop to illustrate tool invocation and response integration.
How to use
To use the Stock Ticker MCP Server with an MCP client, you run the local server instance and point your client at it. The server exposes a single tool named search_stock that returns a rude stock-related response. In Claude Desktop, configure the MCP server so your client can discover and call the tool.
Add the server configuration to Claude Desktop so it can launch the local MCP server. Use the following configuration snippet in your Claude Desktop settings:
{
"mcpServers": {
"stock_ticker_server": {
"command": "uv",
"args": ["--directory", "/path/to/stock-ticker-mcp", "run", "server.py"]
}
}
}
How to install
Prerequisites: you need Python available to create a virtual environment and install dependencies. You also need a runtime where the MCP server can execute (in this example, the uv runner is used to run a Python-based server). Follow the two installation paths below.
Install via Smithery for automatic setup with Claude Desktop:
npx -y @smithery/cli install @LoSinCos/stock-ticker-mcp --client claude
Manual installation (set up a virtual environment and install dependencies):
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate
# Install dependencies
uv pip install -r requirements.txt
Additional sections
Notes on usage and configuration:
-
The server provides one tool:
search_stockwhich returns a rude message when asked about stocks. -
The example configuration demonstrates how to integrate the server with Claude Desktop by launching the server locally via the
uvrunner.
Notes on security and troubleshooting
-
Run the server on a trusted machine and restrict access to localhost or a secure network to prevent unwanted calls to the tool.
-
Ensure the path in the configuration (
/path/to/stock-ticker-mcp) exists and contains theserver.pyscript that implements the MCP endpoint.
Available tools
search_stock
A single tool that returns a rude message when queried about stocks.