stockprice-mcp
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., "@stockprice-mcpget the latest stock price for Toyota (7203)"
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.
stockprice-mcp
Status: Maintenance mode — This project is stable and functional but not actively developed. Issues and PRs are welcome.
Stock price & FX rate MCP server for Claude Desktop, powered by yfinance. No API key required.
Note: An unrelated package named
yfinance-mcpexists on PyPI — it is not affiliated with this project. This project is published asstockprice-mcp.
Setup (Claude Desktop)
uvx stockprice-mcp serveAdd to claude_desktop_config.json:
{
"mcpServers": {
"stockprice": {
"command": "uvx",
"args": ["stockprice-mcp", "serve"]
}
}
}Tools
Tool | Description |
| Latest price + fundamentals for TSE-listed stocks (code.T) |
| OHLCV history for a date range |
| JPY FX rates (USDJPY, EURJPY, GBPJPY, CNYJPY) |
| Search ticker by company name or keyword |
Usage in Claude Desktop
stockprice でトヨタ(7203)の最新株価を教えてstockprice で USDJPY の直近1週間の推移を確認してstockprice でソニーのティッカーを検索してCLI
pip install stockprice-mcp
yfinance-mcp price 7203 # 最新株価
yfinance-mcp history 7203 --start 2025-01-01 # 価格履歴
yfinance-mcp fx # FXレート
yfinance-mcp search Toyota # ティッカー検索
yfinance-mcp test # 疎通確認
yfinance-mcp serve # MCPサーバー起動Python
import asyncio
from yfinance_mcp import YfinanceClient
async def main():
client = YfinanceClient()
price = await client.get_stock_price("7203")
print(price.close, price.trailing_pe)
asyncio.run(main())Disclaimer
This package uses yfinance (Apache 2.0). Data is intended for personal, educational, and research use.
License
Apache-2.0
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajtgjmdjp/stockprice-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server