Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

upbit-mcp-server

MCP.Pizza Chef: solangii

The upbit-mcp-server is a Model Context Protocol server implementation for the Upbit cryptocurrency exchange. It exposes Upbit's OpenAPI functionalities through MCP, enabling real-time access to market data such as tickers, order books, trades, and candle charts. It also supports account management features including balance checks, order creation and cancellation, deposits, withdrawals, and technical analysis tools. This server facilitates seamless integration of Upbit exchange data and trading operations into AI workflows and applications.

Use This MCP server To

Retrieve real-time cryptocurrency market data from Upbit Access detailed order book and trade history for analysis Create and cancel trading orders programmatically Manage account balances and transaction history Perform technical analysis using Upbit market data Automate deposit and withdrawal operations Integrate Upbit exchange data into AI-driven trading bots Generate market summaries for portfolio management

README

Upbit MCP Server

A server implementation for Upbit Cryptocurrency Exchange OpenAPI using the Model Context Protocol (MCP). This project provides tools to interact with Upbit exchange services, such as retrieving market data (quotes, orderbooks, trade history, chart data), account information, creating and canceling orders, managing deposits/withdrawals, and performing technical analysis.

Features

  • Market data retrieval (ticker, orderbook, trades, candle data)
  • Account information (balance, order history)
  • Order creation and cancellation
  • Deposit and withdrawal functions
  • Technical analysis tools
수행가능한 기능 목록
시장 데이터 조회
  • 현재 암호화폐 시세 조회 (get_ticker)
  • 호가창 정보 조회 (get_orderbook)
  • 최근 체결 내역 조회 (get_trades)
  • 주요 암호화폐 시장 요약 정보 확인 (get_market_summary)
계정 정보 조회
  • 보유 중인 자산 목록 및 잔고 확인 (get_accounts)
  • 주문 내역 조회 (get_orders)
  • 특정 주문 상세 정보 조회 (get_order)
  • 입출금 내역 조회 (get_deposits_withdrawals)
거래 기능
  • 지정가/시장가 매수 주문 생성 (create_order)
  • 지정가/시장가 매도 주문 생성 (create_order)
  • 주문 취소 (cancel_order)
채팅 예시

아래는 실제 채팅 예시 이미지입니다.

example1 example2

Prerequisites

Before you begin, you need to get your Upbit API keys:

  1. Create an account on Upbit if you don't already have one
  2. Go to the Upbit Developer Center
  3. Create a new API key
  4. Make sure to set appropriate permissions (read, trade, withdraw as needed)
  5. Store your API keys(UPBIT_ACCESS_KEY, UPBIT_SECRET_KEY) in the .env file (see Installation section)

Installation

  1. Clone the repository:

    git clone https://github.com/solangii/upbit-mcp-server.git
    cd upbit-mcp-server
  2. Install dependencies:

    cd upbit-mcp-server
    uv sync

    If you don't have uv installed yet, you can install it as follows:

    Using uv provides faster installation and more reliable dependency resolution.

    # Install uv
    curl -Ls https://astral.sh/uv/install.sh | sh
    
     # Add uv to your PATH
    echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
    source ~/.zshrc  # or bashrc, depending on your shell
  3. Set up environment variables: Create a .env file in the project root and add your Upbit API keys:

    UPBIT_ACCESS_KEY=your_access_key_here
    UPBIT_SECRET_KEY=your_secret_key_here
    

Usage

Install in Claude Desktop

Option 1: Using Claude config file (Direct integration)

You can add the MCP server directly to Claude's configuration file:

  1. Install Claude Desktop

  2. Add the following to your Claude Desktop configuration:

    • macOS: ``~/Library/Application Support/Claude/claude_desktop_config.json`
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the following configuration (adjust paths as needed):

    {
      "mcpServers": {
        "upbit-mcp-server": {
          "command": "/full/path/to/upbit-mcp-server/.venv/bin/python",
          "args": [
            "/full/path/to/upbit-mcp-server/main.py"
          ]
        }
      }
    }
  4. Restart Claude to load the new configuration.

Option 2: Using fastmcp
fastmcp install main.py --name "Upbit API"

Run Directly with Python

uv run python main.py

Development Mode (Web Interface)

fastmcp dev main.py

Caution

  • This server can process real trades, so use it carefully.
  • Keep your API keys secure and never commit them to public repositories.

License

MIT

upbit-mcp-server FAQ

How do I authenticate with the upbit-mcp-server?
You authenticate using Upbit API keys configured in the server to securely access account and trading features.
Can I retrieve historical market data with this server?
Yes, the server supports fetching candle data and trade history for various cryptocurrencies.
Does the server support order management?
Yes, you can create, cancel, and query orders through the MCP interface.
Is it possible to perform deposits and withdrawals via the server?
Yes, deposit and withdrawal functions are exposed through the MCP server for account management.
What technical analysis tools are available?
The server provides access to common technical indicators and chart data to support analysis workflows.
How does this server integrate with different LLM providers?
The server uses MCP, enabling integration with models like OpenAI GPT, Anthropic Claude, and Google Gemini without protocol changes.
Can I use this server for automated trading strategies?
Yes, it supports programmatic order execution and market data retrieval suitable for automated trading bots.
What security measures are in place?
The server scopes API key usage and limits access to authorized operations, ensuring secure interaction with Upbit services.