- Home
- MCP servers
- Stock Price
Stock Price
- typescript
0
GitHub Stars
typescript
Language
4 months ago
First Indexed
3 weeks 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": {
"sleepysoong-stock-price-mcp": {
"command": "node",
"args": [
"/path/to/stock-price-mcp/dist/index.js"
]
}
}
}You run a real-time stock price MCP server that serves up-to-date pricing, timestamps, market state, and multi-currency information to your MCP clients. It connects to data sources to provide fast, global stock data and can be integrated into your applications via a simple MCP client configuration.
How to use
To use this MCP server, configure your MCP client to load the stock price server as an MCP source. You can then request real-time price information for a ticker symbol such as AAPL and receive the latest price, timestamp, market state, and currency.
How to install
Prerequisites: ensure you have Node.js installed on your system. You typically need Node.js and npm available in your environment.
Create your project directory and install dependencies.
npm install
npm run build
Additional notes
Configuration is designed to be consumed by an MCP client. The provided example shows how to register a local/MCP server that runs with Node.js and exposes the server entry point.
{
"mcpServers": {
"stock_price": {
"command": "node",
"args": ["/path/to/stock-price-mcp/dist/index.js"]
}
}
}
Usage details for tools
This server exposes a tool named get_stock_price. You pass a ticker symbol to retrieve the current price, the timestamp of the price, the market state, and the currency.
Available tools
get_stock_price
Fetches real-time stock price information for a given ticker symbol, returning the last price, timestamp, market state, and currency.