stooq-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
stooq-mcp
A Model Context Protocol (MCP) server written in Rust that fetches stock price data from stooq.com.
Demo
https://github.com/user-attachments/assets/63b55175-80c3-42aa-a28a-bdb21c66169e
Related MCP server: AlphaVantage-MCP
Features
Latest stock prices - Get real-time stock price data
Historical data - Retrieve historical stock data with custom date ranges
Multi-market support - Access stocks from 5 major markets
Supported Markets
Market Code | Country |
| Japan |
| United States |
| United Kingdom |
| Hong Kong |
| Germany |
Installation
Prerequisites
Rust 1.75+
Cargo
One-liner Install
curl -fsSL https://raw.githubusercontent.com/hoqqun/stooq-mcp/main/install.sh | bashThis will install to ~/.stooq-mcp/. To customize:
STOOQ_MCP_DIR=/your/path curl -fsSL https://raw.githubusercontent.com/hoqqun/stooq-mcp/main/install.sh | bashQuick Install
git clone https://github.com/hoqqun/stooq-mcp.git
cd stooq-mcp
./install.shThe install script will:
Build the project
Register with Claude Code and/or Claude Desktop
Manual Build
cargo build --releaseThe binary will be located at ./target/release/stooq-mcp.
Usage
Claude Code
Register the MCP server with Claude Code:
claude mcp add stooq-mcp /path/to/stooq-mcp/target/release/stooq-mcpClaude Desktop
Add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"stooq-mcp": {
"command": "/path/to/stooq-mcp/target/release/stooq-mcp"
}
}
}Tools
get_stock_price
Fetches stock price data from stooq.com.
Parameters
Parameter | Type | Required | Description |
| string | ✅ | Stock ticker symbol (e.g., |
| string | ✅ | Market code: |
| string | ❌ | Start date in |
| string | ❌ | End date in |
Examples
Get latest stock price
Toyota Motor (Japan):
Get the current stock price for Toyota (7203) in Japan market.Apple (US):
Get the latest AAPL stock price from US market.Get historical data
Sony (Japan) - 2024 full year:
Get Sony (6758) stock price history from January 1, 2024 to December 31, 2024.Response format
Latest data:
Symbol,Date,Time,Open,High,Low,Close,Volume
7203.JP,2024-12-27,16:00:00,2500,2520,2480,2510,1000000Historical data:
Date,Open,High,Low,Close,Volume
2024-01-04,2450,2480,2440,2470,800000
2024-01-05,2470,2490,2460,2485,750000
...Tech Stack
Rust - Systems programming language
rmcp - MCP server implementation
reqwest - HTTP client
tokio - Async runtime
Limitations
⚠️ Important Notice
stooq.com is an unofficial API and may change without notice
Daily rate limits apply - excessive requests may be blocked
Intended for personal use and learning purposes only
Data accuracy is not guaranteed
License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
MCP server for Financial Modeling Prep API with 250+ financial data tools
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Related MCP Servers
- AlicenseBqualityDmaintenanceThis is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.245 npm9MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.12104MIT
- AlicenseBqualityDmaintenanceMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.112,329MIT
- AlicenseBqualityBmaintenanceA Model Context Protocol (MCP) server for agentic retrieval of financial data from Yahoo Finance, enabling stock information, historical data, analyst data, and more.71164 PyPI7AGPL 3.0