bitflyer-mcp

bitflyer-mcp

A read-only MCP server that retrieves public market data from bitFlyer, allowing natural language querying of ticker, order book, executions, exchange health, and tradable products.

Category
Visit Server

README

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.

Safe by design: this server uses only bitFlyer's public REST API — no API key, no authentication, no access to any account, balance, position, or order. It cannot place, cancel, or read trades. Worst case for anyone running it is a read of public market data.

⚠️ Not investment advice. This is an information tool. Trading crypto carries risk.

Tools

Tool What it returns
get_ticker(product_code) last price (ltp), best bid/ask, volume, timestamp
get_board(product_code, depth) order book summarized to top depth levels (mid, spread, bids, asks)
get_executions(product_code, count) recent trades (price, size, side, time)
get_board_state(product_code) board state (RUNNING / CLOSED / CIRCUIT BREAK, SFD)
get_health(product_code) exchange status (NORMAL / BUSY / STOP …)
list_markets() all tradable products (spot / FX / futures)

product_code examples: FX_BTC_JPY (BTC margin, default), BTC_JPY (spot), ETH_JPY, XRP_JPY.

Install

# from PyPI is not published yet — install from source
git clone https://github.com/TakuroidX/bitflyer-mcp.git
cd bitflyer-mcp
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-mcp

Example

> 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 — the safest possible surface. No credentials are read or stored.
  • 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_board returns the top-N to stay LLM-context-friendly.
  • bitFlyer has no native OHLC/candle endpoint, so this server does not fabricate one.

Development

pip install -e ".[dev]" pytest pytest-asyncio
pytest

License

MIT © TakuroidX

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured