Skip to main content
Glama
kukapay

crypto-liquidations-mcp

by kukapay

암호화폐 청산 MCP

바이낸스의 암호화폐 청산 이벤트를 실시간으로 스트리밍하는 MCP 서버로, AI 에이전트가 변동성이 큰 시장 움직임에 즉각적으로 대응할 수 있도록 지원합니다.

특허파이썬 버전상태

특징

  • 실시간 청산 스트리밍 : Binance WebSocket 에 연결하여 청산 이벤트를 캡처합니다.

  • 청산 데이터 저장소 : 영구 저장소 없이 최대 1000개의 청산 이벤트 목록을 메모리 내에 유지합니다.

  • 도구: get_latest_liquidations :

    • 마크다운 테이블에서 최신 청산 이벤트를 검색합니다.

    • 열: Symbol , Side , Price , Quantity , Time (HH:MM:SS 형식).

    • 매개변수: limit (기본값 10).

  • 프롬프트: analyze_liquidations :

    • get_latest_liquidations 도구를 활용하여 모든 심볼의 청산 추세를 분석하라는 메시지를 생성합니다.

Related MCP server: binance-alpha-mcp

필수 조건

  • Python 3.10 : 호환성을 위해 필요함.

  • uv : 패키지 및 종속성 관리자(아래 설치 지침 참조).

  • 인터넷 접속 : Binance WebSocket에 연결합니다.

설치

1. 저장소 복제

지엑스피1

2. 종속성 설치

uv 사용하여 필요한 패키지를 설치하세요:

uv sync

3. MCP 클라이언트와 통합

서버에 연결하도록 MCP 클라이언트를 구성하세요. Claude Desktop의 경우:

{
 "mcpServers": {
   "crypto-liquidations": {
     "command": "uv",
     "args": ["--directory", "/path/to/crypto-liquidations-mcp", "run", "main.py"]
   }
 }
}

용법

시작하려면 MCP 서버를 실행하여 바이낸스에서 청산 이벤트 스트리밍을 시작하세요. 서버는 로그를 생성하거나 디스크에 데이터를 저장하지 않고 최대 1,000개의 최근 이벤트를 메모리에 수집하며, 자동으로 작동합니다.

청산 이벤트 검색

get_latest_liquidations 도구를 사용하여 최근 청산 이벤트를 가져옵니다. limit 매개변수를 사용하여 검색할 이벤트 수(최대 1000개)를 지정할 수 있습니다. 예를 들어 다음과 같은 질문을 할 수 있습니다.

"바이낸스에서 가장 최근의 5개 청산 이벤트를 보여주세요."

이렇게 하면 거래 쌍, 매수 또는 매도 측, 가격, 수량, 각 청산 시간을 HH:MM:SS 형식으로 깔끔하게 정리된 표가 반환됩니다.

출력 예 :

| Symbol   | Side | Price  | Quantity | Time     |
|----------|------|--------|----------|----------|
| BTCUSDT  | BUY  | 50000  | 1.5      | 14:30:45 |
| ETHUSDT  | SELL | 3000   | 10.0     | 14:30:40 |
| BNBUSDT  | BUY  | 500    | 20.0     | 14:30:35 |
| ADAUSDT  | SELL | 1.2    | 1000.0   | 14:30:30 |
| XRPUSDT  | BUY  | 0.8    | 5000.0   | 14:30:25 |

이 표를 통해 바이낸스에서 발생한 대량 매수 또는 매도 청산 등 최근 시장 활동을 쉽게 확인할 수 있습니다.

청산 추세 분석

analyze_liquidations 프롬프트는 데이터를 심층적으로 분석하는 데 도움을 줍니다. 빈도, 거래량, 시장 영향에 중점을 두고 모든 거래 쌍의 청산 추세를 분석하는 지침을 생성합니다. 또한 get_latest_liquidations 도구를 사용하여 데이터를 가져오도록 제안하여 최신 정보를 활용할 수 있도록 합니다.

이는 청산이 늘어나고 있는지, 아니면 상당한 가격 변동을 알리고 있는지 등 보다 광범위한 시장 역학을 이해하는 데 특히 유용합니다.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 라이선스 파일을 참조하세요.

Available Tools

1 tool
get_latest_liquidationsA

Retrieve the latest liquidation events from Binance in a table format.

Args:
    limit (int): The maximum number of liquidation events to return (default: 10, max: 1000).
    ctx (Context, optional): The MCP context for logging and server interaction. Defaults to None.

Returns:
    str: A Markdown table containing the latest liquidation events, sorted by timestamp in descending order.
ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
ctxNo

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal that results are sorted by timestamp in descending order and returned as a Markdown table, which are useful behavioral traits. However, it doesn't mention rate limits, authentication requirements, data freshness, error conditions, or whether this is a read-only operation (though 'retrieve' implies it). The description adds some value but leaves significant behavioral aspects unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Args, Returns) and front-loaded the core purpose. Every sentence adds value: the first states what the tool does, followed by parameter explanations and return format. It could be slightly more concise by integrating the default values more seamlessly, but overall it's efficient and well-organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description provides good contextual coverage. It explains the tool's purpose, parameters, and return format clearly. The main gap is the lack of behavioral details like rate limits or authentication, but for a data retrieval tool with well-documented parameters, this is reasonably complete. The absence of an output schema is mitigated by the clear return value description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides excellent parameter semantics beyond the input schema. While schema description coverage is 0%, the description clearly explains both parameters: 'limit' with its default (10) and maximum (1000) values, and 'ctx' as optional with its purpose ('MCP context for logging and server interaction'). This fully compensates for the lack of schema descriptions and adds meaningful context about parameter usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('retrieve'), resource ('latest liquidation events from Binance'), and output format ('table format'). It distinguishes itself by specifying the source (Binance) and format (Markdown table), making the purpose unambiguous even without sibling tools for comparison.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. While there are no sibling tools listed, it doesn't mention any prerequisites, constraints, or scenarios where this tool would be appropriate versus other data retrieval methods. The only implicit guidance is the focus on 'latest' events, but no explicit usage context is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • First observedget_latest_liquidations

TDQS

A3.7/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as retrieving liquidation events from Binance, making it distinct by default.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'get_latest_liquidations' follows a clear verb_noun pattern, which would be consistent if more tools were added.

Tool Count2/5

A single tool is too few for a server focused on crypto liquidations, as it severely limits functionality. The scope suggests a need for more operations, such as filtering by asset, time range, or exchange, making this feel incomplete and thin.

Completeness2/5

The tool surface is significantly incomplete for the domain of crypto liquidations. While it provides a basic retrieval function, there are obvious gaps, such as no ability to filter by parameters like asset type, exchange, or time period, which are essential for practical use.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers