get_stock_priceLABSCO SUMMARY
One call, five markets, nothing to sign up for.
Most price feeds want an account before the first quote. This one builds to a binary and answers, which makes it the cheapest way to put Japanese, European and US listings in front of a model that needs one number rather than a data plan.
What it is
A single-purpose server written in Rust that fetches share prices from stooq.com. One call takes a ticker and a market code and returns the latest price, or the history between two dates when you give a range.
What you get
- The latest price for a ticker in any of five markets: jp, us, uk, hk and de
- Historical data over a start and end date you supply, in YYYYMMDD form
- Tickers in each market's own convention — a numeric code for Toyota in jp, AAPL in us
- A single compiled binary with no runtime dependency once it is built
Requirements
Rust 1.75 or newer and Cargo to build it; an install script will build and register the binary with Claude Code and Claude Desktop for you. No account, no API key — the data comes from stooq.com's public feed.
Setup effort
One command — curl -fsSL https://raw.githubusercontent.com/hoqqun/stooq-mcp/main/install.sh | bash
USE CASES
Checking where a share closed
Name the ticker and its market code and read the latest price back in the conversation.
Looking at how a year went
Give a start and end date and take the history back as a series to reason over.
Comparing a listing across markets
Ask for the same company's ticker in each market it trades in and put the prices side by side.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
Rust 1.75+
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
Setup
git clone https://github.com/hoqqun/stooq-mcp.git
cd stooq-mcp
./install.shOr run the install script
curl -fsSL https://raw.githubusercontent.com/hoqqun/stooq-mcp/main/install.sh | bashMCP Clients
Any MCP client
{
"mcpServers": {
"stooq-mcp": {
"command": "<YOUR_PATH_TO_STOOQ_MCP>/target/release/stooq-mcp"
}
}
}