bitflyer-mcp
Query bitFlyer public market data read-only through MCP tools.
Get latest ticker: ltp, best bid/ask, volume, timestamp.
Get summarized order book: mid price, spread, top
depthbids/asks (default 10).Get recent public executions: price, size, side, time (default 20, max 100).
Get board state: RUNNING, CLOSED, CIRCUIT BREAK, etc.
Get exchange health: NORMAL, BUSY, STOP, etc.
List all tradable markets: spot, FX, futures.
Use default
FX_BTC_JPYor specifyBTC_JPY,ETH_JPY,XRP_JPY, etc.No API key or account access; cannot view balances/positions/private orders or place/cancel orders.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bitflyer-mcp What's the current FX_BTC_JPY price and spread on bitFlyer?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bitflyer-mcp
Read-only MCP server for bitFlyer public market data. Lets Claude (Desktop / Code) and other MCP clients query bitFlyer's ticker, order book, recent executions, and exchange health in natural language.
Public market data only: no API key or account authentication is required. The server cannot access account balances, positions, private orders, or personal trade history, and cannot place or cancel orders.
get_executionsreturns publicly available market executions.
⚠️ Not investment advice. This is an information tool. Trading crypto carries risk.
Tools
Tool | What it returns |
| last price (ltp), best bid/ask, volume, timestamp |
| order book summarized to top |
| recent trades (price, size, side, time) |
| board state (RUNNING / CLOSED / CIRCUIT BREAK, SFD) |
| exchange status (NORMAL / BUSY / STOP …) |
| all tradable products (spot / FX / futures) |
product_code examples: FX_BTC_JPY (BTC margin, default), BTC_JPY (spot), ETH_JPY, XRP_JPY.
Related MCP server: bybit-trading
Install
# from PyPI is not published yet — install from source
git clone https://github.com/TakuroidX/bitflyer-mcp.git
cd bitflyer-mcp
python3 -m pip install -e .Requires Python ≥ 3.10. Dependencies: mcp, httpx.
Use with Claude Desktop
Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/):
{
"mcpServers": {
"bitflyer": {
"command": "bitflyer-mcp"
}
}
}Then ask Claude things like "What's the current FX_BTC_JPY price and spread on bitFlyer?"
Use with Claude Code
claude mcp add bitflyer -- bitflyer-mcpExample
Illustrative, simplified output (sample prices, not live market data):
> bitFlyer の FX_BTC_JPY、今いくら?板の厚さは?
get_ticker → ltp ¥10,210,000 / best_bid ¥10,209,500 / best_ask ¥10,210,500
get_board → mid ¥10,210,000 / spread ¥1,000 / 上位10段...Design notes
Public-only / read-only — uses public market endpoints without account credentials.
Rate-limit aware — a minimum request interval keeps usage under bitFlyer's public per-IP limit (~500 req / 5 min).
Board summarization — the raw board has hundreds of levels;
get_boardreturns the top-N to stay LLM-context-friendly.bitFlyer has no native OHLC/candle endpoint, so this server does not fabricate one.
Development
python3 -m pip install -e . pytest pytest-asyncio
python3 -m pytestLicense
MIT © TakuroidX
Available Tools
6 toolsget_boardA
bitFlyer の板情報 (オーダーブック) を上位 depth 段に要約して取得する (read-only)。
返す値: mid_price, spread, best_bid, best_ask, 上位 depth 段の bids/asks。 全板は数百〜千件あるため depth (既定10) 段に圧縮して返す。 product_code 例: FX_BTC_JPY, BTC_JPY。
Inputs: product_code, depth.
get_board_stateB
板の状態 (health, state, 特別気配 SFD など) を取得する (read-only)。
state 例: RUNNING (通常), CLOSED, STARTING, PREOPEN, CIRCUIT BREAK。 取引可能かの判断に使える。
Inputs: product_code.
get_executionsA
直近の約定履歴 (recent trades) を取得する (read-only)。
各約定: price, size, side (BUY/SELL), exec_date。count は 1〜100 (既定20)。
Inputs: product_code, count.
get_healthC
取引所の稼働状況を取得する (read-only)。
status 例: NORMAL, BUSY, VERY BUSY, SUPER BUSY, NO ORDER, STOP。
Inputs: product_code.
get_tickerA
bitFlyer の最新ティッカーを取得する (read-only)。
返す主な値: ltp (最終取引価格), best_bid / best_ask (最良気配), volume (出来高), timestamp。 product_code 例: FX_BTC_JPY (BTC証拠金FX), BTC_JPY (現物), ETH_JPY, XRP_JPY。
Inputs: product_code.
list_marketsA
bitFlyer で取引可能な全 product (現物・FX・先物) の一覧を取得する (read-only)。
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct piece of data: order book summary, board state, recent trades, exchange health, ticker, and market list. No overlap in purpose.
All tools follow a consistent verb_noun snake_case pattern, using 'get_' for most and 'list_' for one, which is a standard alternative.
6 tools is appropriate for a read-only market data server, covering essential endpoints without unnecessary clutter.
The set covers core market data: order book, trades, ticker, exchange status, and available markets. No obvious gaps for typical data retrieval needs.
Related MCP Connectors
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
Historical tick, order book and settlement data for Polymarket and Predict.fun crypto up/down markets, plus smart-money lists and backtest quotes, over a read-only MCP server.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to query real-time cryptocurrency data using natural language.1216MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for cryptocurrency trading across multiple exchanges (Bybit, Binance, KuCoin, etc.) with real-time price data, comparison, and natural language query support. Integrates with AI assistants via the Model Context Protocol.MIT
- FlicenseAqualityCmaintenanceA read-only MCP server for stock quotes, Coinbase prices, and Polymarket markets, supporting tools like get_stock_quote, get_coinbase_spot_price, and search_polymarket_markets.61-
- AlicenseBqualityDmaintenanceMCP server that exposes QuantXData's institutional crypto market data APIs to AI assistants, enabling natural language queries for trades, order books, OHLCV, options, and more across 120+ exchanges.12MIT