Lucyd

Trade Bitcoin Up/Down prediction markets on Lucyd: markets, order books, orders, positions.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
94%
Integridad del esquema
86%
Calidad de los nombres
98%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

  • LOWTool 'get_market' description lacks action verben get_market

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,396Tokens (definiciones de herramientas)
~1.0 KBTamaño de respuesta típico
Impacto moderado en la atención (1.09% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "@lucyd/mcp"
      ]
    }
  }
}

Paquetes ejecutables

npm@lucyd/mcp0.1.3stdio

Puntos de conexión remotos

https://mcp.lucyd.trade/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (9)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢get_market(market)

Full details of one market, including its rules and the ids of its up and down outcome tokens.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "market": {
      "description": "Market address (its id), from list_markets.",
      "type": "string"
    }
  },
  "required": [
    "market"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_order_book(market, outcome)

Order book of a market outcome: bids (best first) and asks with prices in USDC per token and sizes in tokens, plus best bid, best ask and mid. Buying down at p is the same book as selling up at 1 - p.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "market": {
      "description": "Market address.",
      "type": "string"
    },
    "outcome": {
      "description": "Outcome whose book to show: up or down. Default up.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "market"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_pnl_history(address, range)

Profit and loss over time of a wallet, as a series of points. Defaults to the configured wallet.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "address": {
      "description": "Wallet address. Default: the configured wallet.",
      "type": [
        "string",
        "null"
      ]
    },
    "range": {
      "description": "Period: 1d, 1w, 1m or all. Default 1w.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_positions(limit, market, state, trader)

Positions of a wallet: tokens held per market and outcome, average price, current value and profit. Settled markets show the payout. Defaults to the configured wallet.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "How many positions, 1 to 100. Default 50.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "market": {
      "description": "Only this market address, or several comma separated.",
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "description": "Market state filter: open, pending, settled or voided.",
      "type": [
        "string",
        "null"
      ]
    },
    "trader": {
      "description": "Wallet address. Default: the configured wallet.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_status

Health of the Lucyd service: API and database, settlement of ended markets on time, live trade stream. Use it when something looks stuck, e.g. a market is not resolving.

Esquema de entrada

{
  "type": "object",
  "properties": {}
}
🟢get_trader_stats(address)

Stats of a wallet: total and realized profit, volume, markets traded, win rate. Defaults to the configured wallet.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "address": {
      "description": "Wallet address. Default: the configured wallet.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_markets(limit, offset, order, period, state)

List prediction markets on Lucyd. Each market asks whether the BTC price will be Up or Down at its end date versus the strike (strike is the price times 1e8). Returns address (the market id), state, period, start and end dates, strike, winner and volume.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "How many markets to return, 1 to 100. Default 20.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "offset": {
      "description": "Skip this many markets, for paging.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "order": {
      "description": "Sort by end date: asc or desc. Default desc.",
      "type": [
        "string",
        "null"
      ]
    },
    "period": {
      "description": "Market period: 5m, 15m, 30m, 1h, 4h or Daily. Comma separated for several.",
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "description": "Market state: open, pending (ended, waiting for result), settled or voided. Comma separated for several.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_trades(from, limit, market, to, trader)

Recent trades, newest first. Filter by market and/or trader. Amounts are in USDC and tokens.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "from": {
      "description": "Only trades after this time, unix seconds.",
      "format": "uint64",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "description": "How many trades, 1 to 100. Default 20.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "market": {
      "description": "Only trades on this market address.",
      "type": [
        "string",
        "null"
      ]
    },
    "to": {
      "description": "Only trades before this time, unix seconds.",
      "format": "uint64",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "trader": {
      "description": "Only trades of this wallet. Use \"me\" for the configured wallet.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢top_traders(limit, sort)

Leaderboard of traders, best first.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "How many traders, 1 to 50. Default 10.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "sort": {
      "description": "Sort field: pnl, volume, markets or win_rate. Default pnl.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada9 herramientas