hoqqun/stooq-mcp

💰 Finance & Fintech
0 Views
0 Installs

🦀 ☁️ - Fetch real-time stock prices from Stooq without API keys. Supports global markets (US, Japan, UK, Germany).

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "hoqqun-stooq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hoqqun-stooq-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

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

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 CodeCountry
jpJapan
usUnited States
ukUnited Kingdom
hkHong Kong
deGermany

Installation

Prerequisites

  • Rust 1.75+
  • Cargo

One-liner Install

curl -fsSL https://raw.githubusercontent.com/hoqqun/stooq-mcp/main/install.sh | bash

This will install to ~/.stooq-mcp/. To customize:

STOOQ_MCP_DIR=/your/path curl -fsSL https://raw.githubusercontent.com/hoqqun/stooq-mcp/main/install.sh | bash

Quick Install

git clone https://github.com/hoqqun/stooq-mcp.git
cd stooq-mcp
./install.sh

The install script will:

  1. Build the project
  2. Register with Claude Code and/or Claude Desktop

Manual Build

cargo build --release

The 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-mcp

Claude 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

ParameterTypeRequiredDescription
tickerstringStock ticker symbol (e.g., "7203", "AAPL")
marketstringMarket code: jp, us, uk, hk, de
start_datestringStart date in YYYYMMDD format (e.g., "20240101")
end_datestringEnd date in YYYYMMDD format (e.g., "20241231")

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,1000000

Historical 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.

Related MCP Servers

@agentfund/mcp

📇 ☁️ - Fundraising infrastructure for AI agents on Solana — campaigns, x402 donations, and on-chain reputation. MCP tools for registering agents, creating campaigns, and donating via the x402 pay-to-call flow, backed by Anchor programs (agentregistry, escrow, reputation). npx -y @agentfund/mcp

💰 Finance & Fintech1 views
@asterpay/mcp-server

📇 ☁️ - EUR settlement for AI agents via x402 protocol. Market data, AI tools, crypto analytics — pay-per-call in USDC on Base. SEPA Instant EUR off-ramp.

💰 Finance & Fintech1 views
@czagents/cnb

📇 ☁️ 🏠 🍎 🪟 🐧 - Czech National Bank (ČNB) daily FX rates: fetch official CZK exchange rates, convert between currencies, fetch historical rates. Cached 10 min to ease upstream load. npm @czagents/cnb or HTTP at cnb.cz-agents.dev/mcp.

💰 Finance & Fintech1 views
@arbitova/mcp-server

📇 ☁️ - Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create escrow, mark delivered with on-chain content hash, confirm or dispute, arbiter resolves with signed verdict, cancel/escalate on timeout. npx @arbitova/mcp-server

💰 Finance & Fintech0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.