Skip to main content
Glama
ajtgjmdjp

stockprice-mcp

by ajtgjmdjp

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-mcp exists on PyPI — it is not affiliated with this project. This project is published as stockprice-mcp.

Setup (Claude Desktop)

uvx stockprice-mcp serve

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "stockprice": {
      "command": "uvx",
      "args": ["stockprice-mcp", "serve"]
    }
  }
}

Related MCP server: openmarkets

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

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    MCP server providing comprehensive access to Finnhub financial market data API for AI assistants like Claude Desktop.
    15
    10
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server for agentic retrieval of financial data from Yahoo Finance, enabling stock information, historical data, analyst data, and more.
    71
    3
    AGPL 3.0
  • A
    license
    A
    quality
    A
    maintenance
    MCP server that exposes Yahoo Finance data through tools for searching instruments, fetching quotes, history, company info, financials, dividends, news, recommendations, and options. Enables AI assistants to answer market-data questions using natural language.
    2
    21
    MIT

View all related MCP servers

Related MCP Connectors

  • Live financial data MCP: FX, crypto, stocks, news, URL reader. x402 on Base: $0.001/call.

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • Twelve Data MCP: real-time & historical market data (stocks, crypto, forex, etc).

View all MCP Connectors

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