About Stockprice MCP
Stockprice MCP is an MCP server published by ajtgjmdjp in the Developer Tools category: yahoo Finance MCP server for Claude Desktop — free stock prices & FX rates, no API key required.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/ajtgjmdjp/stockprice-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (4)
get_fx_ratesJPY FX rates (USDJPY, EURJPY, GBPJPY, CNYJPY)
Parameters not published.
get_stock_historyOHLCV history for a date range
Parameters not published.
get_stock_priceLatest price + fundamentals for TSE-listed stocks (code.T)
Parameters not published.
search_tickerSearch ticker by company name or keyword
Parameters not published.
Ask AI
Ask AI about Stockprice MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
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 serve
Add to claude_desktop_config.json:
{
"mcpServers": {
"stockprice": {
"command": "uvx",
"args": ["stockprice-mcp", "serve"]
}
}
}
Tools
| Tool | Description |
|---|---|
get_stock_price |
Latest price + fundamentals for TSE-listed stocks (code.T) |
get_stock_history |
OHLCV history for a date range |
get_fx_rates |
JPY FX rates (USDJPY, EURJPY, GBPJPY, CNYJPY) |
search_ticker |
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
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.