LCX Liberty DEX

Best-route swap quotes, token search and USD prices across EVM chains. Read-only, never trades.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
72%
이름 품질
100%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,602토큰 (도구 정의)
~1.5 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.25%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "lcx-liberty-dex": {
      "url": "https://swap-api.lcx.com/mcp"
    }
  }
}

원격 엔드포인트

https://swap-api.lcx.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (5)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢get_quote(amount, chainId, decimals, tokenIn, tokenOut)

Best route and expected output for selling a specific amount of one token for another on one chain, priced from the pools LCX Liberty DEX indexes itself. Use it for what an amount would swap for; use get_price for a token's value, and search_tokens first to turn a ticker into an address. Read-only: it never executes a trade. Returns output.amount and output.minimumAmount (at 0.5% slippage) in tokenOut's base units, with output.decimals to scale them; priceImpactPct, gasFeeUSD, the venues and the per-hop routes; and blockNumber and expiresAt, since a quote is priced at one block and lives 120 seconds. When there is no quote, the result is an error that says why: no route between the two tokens, or liquidity too thin for this size, usually naming a size that would fill.

입력 스키마

{
  "type": "object",
  "properties": {
    "amount": {
      "description": "Positive human amount of tokenIn to sell, e.g. \"1.5\". Scaled by the token's own decimals, which the server knows: do not send decimals.",
      "pattern": "^\\s*(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?\\s*$",
      "type": "string"
    },
    "chainId": {
      "description": "1 Ethereum, 8453 Base, 42161 Arbitrum One, 10 OP Mainnet, 4663 Robinhood Chain, 56 BNB Chain, 137 Polygon, 43114 Avalanche, 130 Unichain, 143 Monad, 5042 Arc, 999 HyperEVM",
      "enum": [
        1,
        8453,
        42161,
        10,
        4663,
        56,
        137,
        43114,
        130,
        143,
        5042,
        999
      ],
      "type": "integer"
    },
    "decimals": {
      "description": "Optional, and best left out. Only for a token the index holds no decimals for; a value that disagrees with the token's own is refused (decimals_mismatch).",
      "maximum": 36,
      "minimum": 0,
      "type": "integer"
    },
    "tokenIn": {
      "description": "Sell token address. Use the zero address for native ETH.",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "type": "string"
    },
    "tokenOut": {
      "description": "Buy token address.",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "type": "string"
    }
  },
  "required": [
    "chainId",
    "tokenIn",
    "tokenOut",
    "amount"
  ],
  "additionalProperties": false
}
🟢search_tokens(chainId, limit, search)

Finds tokens on one chain by symbol, name or address, and gives the address get_quote and get_price need. Use it whenever you have a ticker or a name instead of an address. Read-only. Matching is case-insensitive on any part of the symbol, name or address; with no search it lists the chain's tokens. Results are ranked: the chain's curated tokens first, then other indexed tokens by how many pools hold them. A symbol is not unique, so when several match, prefer the verified one or the one with the most depth. Each result has address (the zero address for the native coin), symbol, name, decimals, verified, poolCount and depthUsd; hasMore says more matched than limit returned. A token refused for a transfer tax is left out unless its exact address is searched, which returns it with transferTaxBps.

입력 스키마

{
  "type": "object",
  "properties": {
    "chainId": {
      "description": "1 Ethereum, 8453 Base, 42161 Arbitrum One, 10 OP Mainnet, 4663 Robinhood Chain, 56 BNB Chain, 137 Polygon, 43114 Avalanche, 130 Unichain, 143 Monad, 5042 Arc, 999 HyperEVM",
      "enum": [
        1,
        8453,
        42161,
        10,
        4663,
        56,
        137,
        43114,
        130,
        143,
        5042,
        999
      ],
      "type": "integer"
    },
    "limit": {
      "description": "Max results to return. Default 10, at most 50.",
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "search": {
      "description": "Any part of a symbol, name or address, case-insensitive, e.g. \"usdc\" or \"0x833589\". Leave it out to list the chain's tokens.",
      "type": "string"
    }
  },
  "required": [
    "chainId"
  ],
  "additionalProperties": false
}
🟢get_price(chainId, token)

USD price of one whole token on one chain, priced from the pools LCX Liberty DEX indexes itself (real depth, not a mid-market feed). Use it for a token's value; use get_quote for what a specific amount would swap for, and search_tokens first to turn a ticker into an address. Read-only. Returns usd, change24h (a ratio: 0.0123 is +1.23%), source, and the age of the pool state behind the price (asOfBlock, ageSeconds, stale). When there is no honest price, usd is null and reason says why (for example token_not_indexed or below_depth_floor) instead of an error.

입력 스키마

{
  "type": "object",
  "properties": {
    "chainId": {
      "description": "1 Ethereum, 8453 Base, 42161 Arbitrum One, 10 OP Mainnet, 4663 Robinhood Chain, 56 BNB Chain, 137 Polygon, 43114 Avalanche, 130 Unichain, 143 Monad, 5042 Arc, 999 HyperEVM",
      "enum": [
        1,
        8453,
        42161,
        10,
        4663,
        56,
        137,
        43114,
        130,
        143,
        5042,
        999
      ],
      "type": "integer"
    },
    "token": {
      "description": "Token address on that chain. Use the zero address for the chain's native coin; on Arc, whose native coin is USDC, use its contract 0x3600000000000000000000000000000000000000.",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "type": "string"
    }
  },
  "required": [
    "chainId",
    "token"
  ],
  "additionalProperties": false
}
🟢list_chains

Every chain LCX Liberty DEX serves, with the live health of its index. Call it to learn which chainId values the other tools accept and whether a chain is quoting right now, or to explain a refused or stale answer from get_quote or get_price. Read-only, takes no arguments, and does not count against the API key's quota. Each entry has chainId, key, name, nativeSymbol, wrappedNative, router (the address a swap approves), ready (fresh enough to build a swap), degraded (still quoting, prices indicative only), available, unavailableReason (why not, when it is not) and ageSeconds, how long since the index recorded a new block, judged against freshnessLimitSeconds.

입력 스키마

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_my_usage

Reads the calling API key's own plan and usage, so no key or account id is passed. Use it to answer questions about quota or throttling, or before a long run of calls. Read-only, live, and it does not count against the quota. Returns plan and planLabel; callsUsed, monthlyCalls and callsRemaining for the current billing period (monthlyCalls and callsRemaining are null when the plan has no cap); and rateLimit as perSecond and perMinute, where a slow request uses more than one. Only successful calls are counted, and at the limit calls are refused, never billed as overage.

입력 스키마

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 5개