Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stock Price MCP Serverget price for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stock Price MCP Server
MCP (Model Context Protocol) server that provides real-time stock price information using Yahoo Finance API.
Features
π Real-time stock price data
π Price update timestamps
π¦ Market state information (PRE, REGULAR, AFTER, POST, CLOSED)
π± Multi-currency support
π Global market coverage
π Completely free with no rate limits
Installation
npm install
npm run buildUsage
As an MCP Server
Add to your MCP client configuration:
{
"mcpServers": {
"stock-price": {
"command": "node",
"args": ["/path/to/stock-price-mcp/dist/index.js"]
}
}
}Available Tools
get_stock_price
Get real-time stock price information for a ticker symbol.
Input:
{
"ticker": "AAPL"
}Output:
{
"ticker": "AAPL",
"last_price": 150.25,
"timestamp": "2024-01-15T16:00:00.000Z",
"market_state": "CLOSED",
"currency": "USD"
}Market States
PRE- Pre-market tradingREGULAR- Regular trading hoursAFTER- After-hours tradingPOST- Post-market tradingCLOSED- Market closed
Supported Markets
US Stocks:
AAPL,TSLA,MSFTKorean Stocks:
005930.KS(Samsung)European Stocks:
BMW.DEAnd many more global exchanges
Development
npm run devLicense
MIT
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.