Skip to main content
Glama
opldotdev

Bitcoin SV MCP Server

by opldotdev

Servidor MCP de Bitcoin SV

insignia de herrería

⚠️ AVISO: Trabajo experimental en progreso
Este proyecto se encuentra en una fase experimental inicial. Las características pueden cambiar y la API aún no es estable. ¡Agradecemos sus contribuciones, comentarios e informes de errores! No dude en abrir incidencias o enviar solicitudes de incorporación de cambios.

Una colección de herramientas de Bitcoin SV (BSV) para el marco del Protocolo de Contexto de Modelo (MCP). Esta biblioteca proporciona funciones de billetera, ordinales y utilidades para la interacción con la blockchain de BSV.

Instalación y configuración

Usar pan (opcional pero recomendado)

Este proyecto se creó con Bun , un entorno de ejecución rápido de JavaScript y gestor de paquetes. Si bien se recomienda Bun para un rendimiento óptimo, el servidor también puede ejecutarse con Node.js y npm, ya que Bun está diseñado para ser retrocompatible con Node.

Instalación de Bun

macOS (usando Homebrew):

brew install oven-sh/bun/bun

macOS/Linux/WSL (usando el script de instalación):

curl -fsSL https://bun.sh/install | bash

Windows: los usuarios de Windows deben usar WSL (Subsistema de Windows para Linux) o Docker para ejecutar Bun.

Node.js y npm también funcionarán, pero es posible que no ofrezcan los mismos beneficios de rendimiento.

Related MCP server: MNEE MCP Server

Conexión a clientes MCP

Este servidor implementa el Protocolo de Contexto de Modelo (MCP), lo que permite a los asistentes de IA utilizar las funcionalidades de Bitcoin SV. Puede conectar este servidor a varios clientes compatibles con MCP.

Ejemplo de configuración de MCP

Nota: La variable de entorno PRIVATE_KEY_WIF ahora es opcional. Sin ella, el servidor funciona en modo limitado, con recursos educativos y herramientas que no son de billetera disponibles. Las operaciones con billeteras y tokens MNEE requieren una clave privada válida. También puede configurar la variable de entorno IDENTITY_KEY_WIF para habilitar la firma con protocolo sigma de inscripciones de ordinales para autenticación, curación y web de confianza.

Cursor

Para utilizar el servidor BSV MCP con Cursor :

  1. Instala Cursor si aún no lo has hecho

  2. Abra Cursor y navegue a Configuración → Extensiones → Protocolo de contexto de modelo

  3. Haga clic en "Agregar un nuevo servidor MCP global"

  4. Introduzca la siguiente configuración en formato JSON:

{
  "mcpServers": {
    "Bitcoin SV": {
      "command": "bunx",
      "args": [
        "bsv-mcp@latest"
      ],
      "env": {
        "PRIVATE_KEY_WIF": "<your_private_key_wif>",
        "IDENTITY_KEY_WIF": "<your_identity_key_wif>"
      }
    }
  }
}
  1. Reemplaza <your_private_key_wif> con tu clave privada WIF (¡mantenla segura!). Si no tienes una, puedes omitirla por ahora, pero no podrás usar herramientas que requieran una billetera. <your_identity_key_wif> también es opcional. Firmará los ordinales 1Sat con el protocolo Sigma usando la clave de identidad proporcionada.

  2. Haga clic en "Guardar"

Las herramientas BSV ahora estarán disponibles para el asistente de inteligencia artificial de Cursor bajo el espacio de nombres "Bitcoin SV".

Alternativa para usuarios de npm

Si prefieres usar npm en lugar de Bun:

{
  "mcpServers": {
    "Bitcoin SV": {
      "command": "npx",
      "args": [
        "bsv-mcp@latest"
      ],
      "env": {
        "PRIVATE_KEY_WIF": "<your_private_key_wif>",
        "IDENTITY_KEY_WIF": "<your_identity_key_wif>"
      }
    }
  }
}

Claude para escritorio

Para conectar este servidor a Claude for Desktop:

  1. Abra Claude para escritorio y vaya a Claude > Configuración > Desarrollador

  2. Haga clic en "Editar configuración".

Abra el archivo JSON de configuración de Claude en su editor de texto favorito. Si prefiere hacerlo desde la CLI:

# macOS/Linux
code ~/Library/Application\ Support/Claude/claude_desktop_config.json

# Windows
code %APPDATA%\Claude\claude_desktop_config.json
  1. Agregue el servidor BSV MCP a su configuración:

    {
      "mcpServers": {
        "Bitcoin SV": {
          "command": "bun",
          "args": [
            "run", "bsv-mcp@latest"
          ],
          "env": {
            "PRIVATE_KEY_WIF": "<your_private_key_wif>",
            "IDENTITY_KEY_WIF": "<your_identity_key_wif>"
          }
        }
      }
    }
  2. Reemplace <your_private_key_wif> con su clave privada WIF real

  3. Guarde el archivo y reinicie Claude for Desktop

  4. Las herramientas BSV aparecerán cuando haga clic en el ícono de herramientas (martillo) en Claude para escritorio

Alternativa para usuarios de npm (Claude)

Si prefiere utilizar npm en lugar de Bun, reemplace el campo "comando" con "npx".

Herramientas disponibles

El kit de herramientas está organizado en varias categorías:

Herramientas de billetera

Las herramientas de billetera proporcionan la funcionalidad principal de la billetera BSV:

Nombre de la herramienta

Descripción

Ejemplo de salida

wallet_getPublicKey

Recupera una clave pública para un protocolo y un ID de clave específicos

{"publicKey":"032d0c73eb9270e9e009fd1f9dd77e19cf764fbad5f799560c4e8fd414e40d6fc2"}

wallet_createSignature

Crea una firma criptográfica para los datos proporcionados

{"signature":[144,124,85,193,226,45,140,249,9,177,11,167,33,215,209,38,...]}

wallet_verifySignature

Verifica una firma criptográfica con los datos proporcionados

{"isValid":true}

wallet_encryption

Herramienta combinada para cifrar y descifrar datos mediante las claves criptográficas de la billetera. Ejemplos: 1. Cifrar texto: "Encrypt this message: Hello World" 2. Descifrar datos: "Decrypt this data that was previously encrypted for me"

Cifrar: {"ciphertext":[89,32,155,38,125,22,49,226,26,...]} Descifrar: {"plaintext":"hello world"}

wallet_getAddress

Devuelve una dirección BSV para la billetera actual o una ruta derivada

{"address":"1ExampleBsvAddressXXXXXXXXXXXXXXXXX","status":"ok"}

wallet_sendToAddress

Envía BSV a una dirección específica (admite montos en BSV o USD)

{"status":"success","txid":"a1b2c3d4e5f6...","satoshis":1000000}

wallet_purchaseListing

Compra NFT o tokens BSV-20/BSV-21 de los listados del mercado

{"status":"success","txid":"a1b2c3d4e5f6...","type":"nft","origin":"abcdef123456..."}

wallet_createOrdinals

Crea e inscribe ordinales en la cadena de bloques BSV

{"txid":"a1b2c3d4e5f6...","inscriptionAddress":"1ExampleAddress...","contentType":"image/png"}

Herramientas BSV

Herramientas para interactuar con la cadena de bloques y la red BSV:

Nombre de la herramienta

Descripción

Ejemplo de salida

bsv_getPrice

Obtiene el precio actual de BSV desde una API de intercambio

Current BSV price: $38.75 USD

bsv_decodeTransaction

Decodifica una transacción BSV y devuelve información detallada

{"txid":"a1b2c3d4e5f6...","version":1,"locktime":0,"size":225,"inputs":[...],"outputs":[...]}

bsv_explore

Herramienta integral de exploración de blockchain que accede a los puntos finales de la API de WhatsOnChain

{"chain_info":{"chain":"main","blocks":826458,"headers":826458,"bestblockhash":"0000000000..."}}

Herramientas de ordinales

Herramientas para trabajar con ordinales (NFT) en BSV:

Nombre de la herramienta

Descripción

Ejemplo de salida

ordinals_getInscription

Recupera información detallada sobre una inscripción específica

{"id":"a1b2c3d4e5f6...","origin":"a1b2c3d4e5f6...","contentType":"image/png","content":"iVBORw0KGgoAAA..."}

ordinals_searchInscriptions

Búsquedas de inscripciones basadas en diversos criterios

{"results":[{"id":"a1b2c3...","contentType":"image/png","owner":"1Example..."},...]}

ordinals_marketListings

Recupera listados de mercado para tokens NFT, BSV-20 y BSV-21 con una interfaz unificada

{"results":[{"txid":"a1b2c3...","price":9990000,"tick":"PEPE","listing":true},...]}

ordinals_marketSales

Obtiene información sobre las ventas en el mercado de tokens BSV-20 y BSV-21

{"results":[{"txid":"a1b2c3...","price":34710050,"tick":"$BTC","sale":true},...]}

ordinals_getTokenByIdOrTicker

Recupera detalles sobre un token BSV20 específico por ID

{"tick":"PEPE","max":"21000000","lim":"1000","dec":"2"}

Herramientas de utilidad

Funciones de utilidad de propósito general:

Nombre de la herramienta

Descripción

Ejemplo de salida

utils_convertData

Convierte datos entre diferentes formatos de codificación (utf8, hex, base64, binario). Parámetros: - data (obligatorio): La cadena a convertir- from (obligatorio): Formato de codificación de origen (utf8, hexadecimal, base64 o binario)- to (obligatorio): Formato de codificación de destino (utf8, hexadecimal, base64 o binario) Ejemplos: - UTF-8 a hexadecimal: {"data": "hello world", "from": "utf8", "to": "hex"}68656c6c6f20776f726c64 - UTF-8 a base64: {"data": "Hello World", "from": "utf8", "to": "base64"}SGVsbG8gV29ybGQ= - base64 a UTF-8: {"data": "SGVsbG8gV29ybGQ=", "from": "base64", "to": "utf8"}Hello World - Hex a base64: {"data": "68656c6c6f20776f726c64", "from": "hex", "to": "base64"}aGVsbG8gd29ybGQ= Notas: - Todos los parámetros son obligatorios. - La herramienta devuelve los datos convertidos como una cadena. - Para la conversión binaria, los datos se representan como una matriz de valores de bytes.

"SGVsbG8gV29ybGQ=" (UTF-8 "Hola Mundo" convertido a base64)

Herramientas MNEE

Herramientas para trabajar con tokens MNEE:

Nombre de la herramienta

Descripción

Ejemplo de salida

mnee_getBalance

Recupera el saldo actual del token MNEE para la billetera

{"balance": {"amount": 2900, "decimalAmount": 0.029}}

mnee_sendMnee

Envía tokens MNEE a una dirección específica. Admite cantidades de MNEE y USD.

{"success": true, "txid": "d1ce853934964e6c1fe9f44c918a824f175c6ab466b966f49ebc0682a8318895", "rawtx": "0100000002a0be40d8942015f1...", "mneeAmount": 0.01, "usdAmount": "$0.01", "recipient": "15mNxEkyKJXPD8amic6oLUjS45zBKQQoLu"}

mnee_parseTx

Analice una transacción MNEE para obtener información detallada sobre sus operaciones y montos. Todos los montos se expresan en unidades atómicas con una precisión de 5 decimales (p. ej., 1000 unidades atómicas = 0,01 MNEE).

{"txid": "d1ce853934964e6c1fe9f44c918a824f175c6ab466b966f49ebc0682a8318895", "environment": "production", "type": "transfer", "inputs": [{"address": "18izL7Wtm2fx3ALoRY3MkY2VFSMjArP62D", "amount": 2900}], "outputs": [{"address": "15mNxEkyKJXPD8amic6oLUjS45zBKQQoLu", "amount": 1000}, {"address": "19Vq2TV8aVhFNLQkhDMdnEQ7zT96x6F3PK", "amount": 100}, {"address": "18izL7Wtm2fx3ALoRY3MkY2VFSMjArP62D", "amount": 1800}]}

Uso de las herramientas con MCP

Una vez conectado, podrá interactuar con Bitcoin SV en lenguaje natural a través de su asistente de IA. Aquí tiene algunos ejemplos:

Operaciones de billetera

  • Obtener mi dirección de Bitcoin SV

  • "Enviar 0,01 BSV a 1ExampleBsvAddressXXXXXXXXXXXXXXXXXX"

  • "Envía BSV por valor de $5 USD a 1ExampleBsvAddressXXXXXXXXXXXXXXXXXX"

  • "Enviar 0,01 MNEE a 1ExampleBsvAddressXXXXXXXXXXXXXXXXXX"

  • Consultar mi saldo de MNEE

  • Analizar esta transacción MNEE: txid

  • "Cifrar este mensaje con las claves de mi billetera"

  • "Descifrar estos datos que previamente fueron cifrados para mí"

  • Compra este NFT: txid_vout

  • Compre este token BSV-20: txid_vout

Ordinales (NFT)

  • Muéstrame información sobre el NFT con el punto de salida 6a89047af2cfac96da17d51ae8eb62c5f1d982be2bc4ba0d0cd2084b7ffed325_0

  • Búsqueda de NFT de Pixel Zoide

  • "Muéstrame las listas actuales de NFT de BSV en el mercado"

  • Muéstrame listados de tokens BSV-20 para el ticker PEPE.

  • Consulta las ventas recientes de tokens BSV-20.

Operaciones de blockchain

  • "¿Cuál es el precio actual del BSV?"

  • "Decodificar esta transacción BSV: (código hexadecimal o ID de la transacción)"

  • Obtén la información más reciente sobre la cadena Bitcoin SV.

  • "Muéstrame los detalles del bloque para la altura 800000"

  • Explorar el historial de transacciones de la dirección 1ExampleBsvAddressXXXX

  • "Verificar las salidas no gastadas (UTXO) de mi dirección de billetera"

  • Obtener detalles de la transacción con hash a1b2c3d4e5f6

Conversión de datos

  • Convertir "Hola Mundo" de UTF-8 a formato hexadecimal

Indicaciones y recursos de MCP

El servidor MCP de BSV ofrece indicaciones y recursos especializados que proporcionan información detallada y contexto sobre las tecnologías de Bitcoin SV. Los modelos de IA pueden acceder a ellos para mejorar su comprensión y capacidades.

Indicaciones disponibles

El servidor proporciona las siguientes indicaciones educativas a las que se puede acceder directamente a través del protocolo MCP:

Indicación de ordinales

  • Identificador : bitcoin_sv_ordinals

  • Descripción : Información completa sobre los ordinales de Bitcoin SV, incluyendo qué son, cómo funcionan y cómo usarlos.

  • Uso : Pregunte al asistente sobre "Ordinales de Bitcoin SV" u "Ordinales 1Sat" para acceder a esta información.

Indicaciones del SDK de BSV

Una colección de indicaciones que brindan información detallada sobre el SDK de Bitcoin SV:

  • Descripción general

    • Identificador : bitcoin_sv_sdk_overview

    • Descripción : Descripción general del SDK de Bitcoin SV, incluido su propósito y componentes principales.

    • Uso : "Cuéntame sobre el SDK de BSV" o "¿Qué es el SDK de Bitcoin SV?"

  • Operaciones de billetera

    • Identificador : bitcoin_sv_sdk_wallet

    • Descripción : Información sobre las operaciones de billetera en el SDK de BSV.

    • Uso : "¿Cómo funcionan las operaciones de billetera en el SDK de BSV?"

  • Edificio de transacciones

    • Identificador : bitcoin_sv_sdk_transaction

    • Descripción : Detalles sobre la creación y manipulación de transacciones.

    • Uso : "Explique la creación de transacciones con BSV SDK" o "¿Cómo creo transacciones con BSV SDK?"

  • Autenticación

    • Identificador : bitcoin_sv_sdk_auth

    • Descripción : Protocolos de autenticación e identidad en BSV SDK.

    • Uso : "¿Cómo funciona la autenticación con BSV SDK?"

  • Criptografía

    • Identificador : bitcoin_sv_sdk_cryptography

    • Descripción : Funcionalidad de firma, cifrado y verificación.

    • Uso : "Explicar las funciones criptográficas del SDK de BSV"

  • Scripting

    • Identificador : bitcoin_sv_sdk_script

    • Descripción : Capacidades de creación de scripts y contratos de Bitcoin.

    • Uso : "¿Cómo trabajo con scripts de Bitcoin usando el SDK BSV?"

  • Primitivos

    • Identificador : bitcoin_sv_sdk_primitives

    • Descripción : Tipos de datos y estructuras principales en el SDK de BSV.

    • Uso : "¿Qué primitivas están disponibles en el SDK de BSV?"

Recursos disponibles

El servidor también proporciona acceso a las especificaciones y documentación de la Solicitud de comentarios (BRC) de Bitcoin:

Recurso del registro de cambios

  • Identificador : bsv-mcp-changelog

  • Descripción : Historial de versiones y registro de cambios del servidor BSV MCP.

  • Uso : "Muéstrame el registro de cambios de BSV MCP" o "¿Qué hay de nuevo en la última versión?"

Recursos de BRC

  • Descripción general de los BRC

    • Identificador : brcs_readme

    • Descripción : Descripción general de todas las especificaciones del protocolo Bitcoin SV en el repositorio BRC.

    • Uso : "Muéstrame la descripción general de los BRC de Bitcoin SV"

  • Resumen de BRC

    • Identificador : brcs_summary

    • Descripción : Tabla de contenidos de todos los BRC de Bitcoin SV.

    • Uso : "Dame un resumen de los BRC de Bitcoin SV"

  • Especificaciones específicas de BRC

    • Identificador : brc_spec

    • Descripción : Acceda a especificaciones BRC específicas por categoría y número.

    • Uso : "Muéstrame BRC 8 en los sobres de transacción" o "¿Qué especifica BRC 1?"

Categorías BRC

Las especificaciones BRC están organizadas en las siguientes categorías:

  • Billetera

  • Actas

  • Guiones

  • Fichas

  • Superposiciones

  • Pagos

  • De igual a igual

  • Derivación de claves

  • Puntos de salida

  • Opiniones

  • Máquinas de estados

  • Aplicaciones

Uso de indicaciones y recursos

Los modelos de IA pueden usar estas indicaciones y recursos para proporcionar respuestas más precisas y detalladas sobre las tecnologías de Bitcoin SV. Como usuario, puedes:

  1. Pregunte sobre un tema específico : "Cuénteme sobre los ordinales de Bitcoin SV" o "Explique la creación de transacciones del SDK de BSV".

  2. Solicitar detalles específicos del BRC : "¿Qué especifica el BRC 8?" o "Muéstrame el BRC al crear la transacción".

  3. Obtenga descripciones generales : "¿Qué es el SDK de BSV?" o "Muéstrame un resumen de todos los BRC".

Estas indicaciones y recursos mejoran la base de conocimientos de la IA, lo que permite respuestas más técnicas y precisas incluso para temas complejos de Bitcoin SV.

Cómo funciona MCP

Cuando interactúas con un asistente de IA habilitado para MCP:

  1. La IA analiza tu solicitud y decide qué herramientas utilizar

  2. Con su aprobación, llama a la herramienta BSV MCP adecuada

  3. El servidor ejecuta la operación solicitada en la cadena de bloques de Bitcoin SV

  4. Los resultados se devuelven al asistente de IA.

  5. El asistente presenta la información de forma natural y conversacional.

Opciones de personalización

El servidor BSV MCP se puede personalizar mediante variables de entorno para habilitar o deshabilitar componentes específicos:

Configuración de componentes

Variable de entorno

Por defecto

Descripción

DISABLE_PROMPTS

false

Establezca en true para deshabilitar todas las indicaciones educativas

DISABLE_RESOURCES

false

Establezca como true para deshabilitar todos los recursos (BRC, registro de cambios)

DISABLE_TOOLS

false

Establezca en true para deshabilitar todas las herramientas

Configuración específica de la herramienta

Variable de entorno

Por defecto

Descripción

DISABLE_WALLET_TOOLS

false

Establezca en true para deshabilitar las herramientas de billetera de Bitcoin

DISABLE_MNEE_TOOLS

false

Establezca en true para deshabilitar las herramientas de token MNEE

DISABLE_BSV_TOOLS

false

Establezca en true para deshabilitar las herramientas de blockchain de BSV

DISABLE_ORDINALS_TOOLS

false

Establezca en true para deshabilitar las herramientas ordinales/NFT

DISABLE_UTILS_TOOLS

false

Establezca en true para deshabilitar las herramientas de utilidad

IDENTITY_KEY_WIF

not set

WIF opcional para clave de identidad; si se configura, las inscripciones de ordinales se firmarán con el protocolo sigma para autenticación, curación y web de confianza.

DISABLE_BROADCASTING

false

Establezca en true para deshabilitar la transmisión de transacciones; en su lugar, devuelve el hexadecimal de la transacción sin procesar: útil para probar y revisar la transacción antes de la transmisión

Ejemplos

Ejecute únicamente con recursos y estímulos educativos, sin herramientas:

DISABLE_TOOLS=true bunx bsv-mcp@latest

Ejecute solo con herramientas BSV, sin billetera ni otra funcionalidad:

DISABLE_PROMPTS=true DISABLE_RESOURCES=true DISABLE_WALLET_TOOLS=true DISABLE_MNEE_TOOLS=true DISABLE_ORDINALS_TOOLS=true DISABLE_UTILS_TOOLS=true bunx bsv-mcp@latest

Utilice todas las herramientas excepto las operaciones de billetera:

DISABLE_WALLET_TOOLS=true bunx bsv-mcp@latest

Crear transacciones sin difundirlas (modo de prueba):

DISABLE_BROADCASTING=true bunx bsv-mcp@latest

Solución de problemas

Si tiene problemas con el servidor BSV MCP:

Problemas de conexión

  1. Asegúrese de que Bun o Node.js esté instalado en su sistema

  2. Verifique que su clave privada WIF esté configurada correctamente en el entorno

  3. Compruebe que su cliente sea compatible con MCP y esté configurado correctamente

  4. Busque mensajes de error en la salida de la consola del cliente

Manteniendo a Bun actualizado

Es importante mantener Bun actualizado a la última versión para garantizar la compatibilidad:

# Update Bun to the latest version
bun upgrade

Para verificar su versión actual de Bun:

bun --version

Registro y depuración

Para Claude for Desktop, consulte los registros en:

# macOS/Linux
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

# Windows
type %APPDATA%\Claude\Logs\mcp*.log

Para Cursor, verifique los registros de MCP de Cursor en Configuración → Extensiones → Protocolo de contexto de modelo.

Actualizaciones recientes

  • Control de transmisión de transacciones : se agregó la variable de entorno DISABLE_BROADCASTING para evitar que las transacciones se transmitan a la red

  • Blockchain Explorer : Se agregó la herramienta bsv_explore para el acceso a la API de WhatsOnChain con compatibilidad con mainnet/testnet

  • Herramientas unificadas : wallet_encrypt y wallet_decrypt se fusionaron en una única herramienta wallet_encryption

  • Mercado mejorado : compatibilidad con NFT y tokens BSV-20/21 en listados, ventas y compras

  • Rendimiento : Se agregó almacenamiento en caché de precios y se optimizó la estructura del punto final de la API.

  • Validación mejorada : mejor manejo de errores para claves privadas y parámetros

Explorador de cadenas de bloques de Bitcoin SV

La herramienta bsv_explore proporciona acceso completo a la blockchain de Bitcoin SV a través de la API WhatsOnChain. Esta potente herramienta de exploración permite consultar diversos aspectos de la blockchain, incluyendo datos de la cadena, bloques, transacciones e información de direcciones.

Puntos finales disponibles

La herramienta admite las siguientes categorías de puntos finales y puntos finales específicos:

Datos de la cadena

Punto final

Descripción

Parámetros requeridos

Ejemplo de respuesta

chain_info

Estadísticas de red, dificultad y trabajo en cadena

Ninguno

{"chain":"main","blocks":826458,"headers":826458,"bestblockhash":"0000000000..."}

chain_tips

Consejos actuales sobre la cadena, incluidas alturas y estados

Ninguno

[{"height":826458,"hash":"000000000000...","branchlen":0,"status":"active"}]

circulating_supply

Suministro circulante actual de BSV

Ninguno

{"bsv":21000000}

peer_info

Estadísticas de pares conectados

Ninguno

[{"addr":"1.2.3.4:8333","services":"000000000000...","lastsend":1621234567}]

Bloquear datos

Punto final

Descripción

Parámetros requeridos

Ejemplo de respuesta

block_by_hash

Datos de bloque completos mediante hash

blockHash

{"hash":"000000000000...","confirmations":1000,"size":1000000,...}

block_by_height

Datos de bloque completos por altura

blockHeight

{"hash":"000000000000...","confirmations":1000,"size":1000000,...}

tag_count_by_height

Estadísticas sobre el recuento de etiquetas para un bloque específico

blockHeight

{"tags":{"amp":3,"bitkey":5,"metanet":12,"planaria":7,"b":120}}

block_headers

Recupera los últimos 10 encabezados de bloque

Ninguno

[{"hash":"000000000000...","height":826458,"version":536870912,...},...]

block_pages

Recupera páginas de ID de transacciones para bloques grandes

blockHash , opcional: pageNumber

["tx1hash","tx2hash","tx3hash",...]

Datos estadísticos

Punto final

Descripción

Parámetros requeridos

Ejemplo de respuesta

block_stats_by_height

Estadísticas de bloque para una altura específica

blockHeight

{"size":123456,"txCount":512,"outputTotal":54.12345678,"outputTotalUsd":2345.67,...}

block_miner_stats

Estadísticas de minería de bloques durante un período de tiempo

opcional: days (predeterminado 7)

{"blocks":{"miner1":412,"miner2":208,...},"total":1008}

miner_summary_stats

Resumen de las estadísticas mineras

opcional: days (predeterminado 7)

{"totalBlocks":1008,"totalFees":1.23456789,"totalFeesUsd":53.67,...}

Datos de la transacción

Punto final

Descripción

Parámetros requeridos

Ejemplo de respuesta

tx_by_hash

Datos detallados de las transacciones

txHash

{"txid":"a1b2c3d4e5f6...","version":1,"locktime":0,"size":225,...}

tx_raw

Datos hexadecimales de transacciones sin procesar

txHash

"01000000012345abcdef..."

tx_receipt

Recibo de transacción

txHash

{"blockHash":"000000000000...","blockHeight":800000,"confirmations":26458}

bulk_tx_details

Recuperar múltiples transacciones en una sola solicitud

txids (matriz)

[{"txid":"a1b2c3d4e5f6...","version":1,...}, {"txid":"b2c3d4e5f6a7...","version":1,...}]

Datos de dirección

Punto final

Descripción

Parámetros requeridos

Ejemplo de respuesta

address_history

Historial de transacciones de la dirección

address , opcional: limit

[{"tx_hash":"a1b2c3d4e5f6...","height":800000},...]

address_utxos

Salidas no utilizadas para la dirección

address

[{"tx_hash":"a1b2c3d4e5f6...","tx_pos":0,"value":100000},...]

Red

Punto final

Descripción

Parámetros requeridos

Ejemplo de respuesta

health

Comprobación del estado de la API

Ninguno

{"status":"synced"}

Ejemplos de uso

La herramienta bsv_explore se puede utilizar con indicaciones en lenguaje natural como:

"Get the current Bitcoin SV blockchain information"
"Show me block #800000 details"
"Get tag count statistics for block #800000"
"Fetch transaction history for address 1ExampleBsvAddressXXXXXXXX"
"Get unspent outputs for my wallet address"
"Check transaction details for txid a1b2c3d4e5f6..."
"What is the current BSV circulating supply?"
"Show me the latest block headers"
"Get transaction IDs for page 2 of a large block"
"Show me block statistics for height 800000"
"What are the mining statistics for the last 14 days?"
"Get a summary of mining activity over the past 30 days"
"Retrieve details for multiple transactions in a single query"

Bajo el capó, la herramienta acepta parámetros para especificar qué datos recuperar:

  • endpoint : el punto final específico de WhatsOnChain para consultar (por ejemplo, chain_info , tx_by_hash )

  • network : La red BSV a utilizar ( main o test )

  • Parámetros adicionales según lo requiera el punto final específico:

    • blockHash : para puntos finales block_by_hash y block_pages

    • blockHeight : para los puntos finales block_by_height, tag_count_by_height y block_stats_by_height

    • pageNumber : Para el punto final block_pages (paginación)

    • days : para los puntos finales block_miner_stats y miner_summary_stats (el valor predeterminado es 7)

    • txHash : para puntos finales relacionados con transacciones (tx_by_hash, tx_raw, tx_receipt)

    • txids : para el punto final bulk_tx_details (matriz de ID de transacción)

    • address : para puntos finales relacionados con la dirección

    • limit : límite de paginación opcional para address_history

Opciones de red

La herramienta es compatible tanto con la red principal como con la red de prueba:

  • main : red principal de Bitcoin SV (predeterminada)

  • test : red de pruebas de Bitcoin SV

Desarrollo

Configuración del proyecto

Si quieres contribuir al proyecto o ejecutarlo localmente:

  1. Clonar el repositorio:

    git clone https://github.com/b-open-io/bsv-mcp.git
    cd bsv-mcp
  2. Instalar dependencias:

    bun install
    # or with npm
    npm install

Ejecución del servidor

bun run index.ts
# or with npm
npm run start

Ejecución de pruebas

bun test
# or with npm
npm test

Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.

Available Tools

9 tools
bsv_decodeTransactionA

Decodes and analyzes Bitcoin SV transactions to provide detailed insights. This powerful tool accepts either a transaction ID or raw transaction data and returns comprehensive information including inputs, outputs, fee calculations, script details, and blockchain context. Supports both hex and base64 encoded transactions and automatically fetches additional on-chain data when available.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

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. It discloses behavioral traits such as supporting hex/base64 encoding, fetching on-chain data, and returning detailed insights, but lacks information on error handling, rate limits, or authentication needs, which are important for a tool with no annotation coverage.

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 appropriately sized and front-loaded, starting with the core purpose. Every sentence adds value, such as input formats and output details, but it could be slightly more streamlined by avoiding redundant phrases like 'powerful tool'.

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

Completeness3/5

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

Given the complexity (1 parameter with nested objects, no output schema, and no annotations), the description is somewhat complete but lacks details on return values, error cases, or performance considerations. It covers input semantics well but falls short in fully compensating for the missing structured data.

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

Parameters4/5

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

The description adds significant meaning beyond the input schema, which has 0% coverage. It explains that 'tx' can be a transaction ID or raw data and clarifies encoding options, effectively compensating for the schema's lack of descriptions. However, it doesn't detail the structure of 'args' or provide examples.

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 tool's purpose with specific verbs ('decodes and analyzes') and resource ('Bitcoin SV transactions'), distinguishing it from siblings like price checking or ordinal tools. It specifies the comprehensive insights returned, making the function unambiguous.

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

Usage Guidelines3/5

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

The description implies usage by mentioning it accepts transaction IDs or raw data, but does not explicitly state when to use this tool versus alternatives like bsv_explore or other Bitcoin-related tools. No exclusions or clear alternatives are provided, leaving some ambiguity.

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

bsv_exploreA

Explore Bitcoin SV blockchain data using the WhatsOnChain API. Access multiple data types:

CHAIN DATA:

  • chain_info: Network stats, difficulty, and chain work

  • chain_tips: Current chain tips including heights and states

  • circulating_supply: Current BSV circulating supply

  • peer_info: Connected peer statistics

BLOCK DATA:

  • block_by_hash: Complete block data via hash (requires blockHash parameter)

  • block_by_height: Complete block data via height (requires blockHeight parameter)

  • tag_count_by_height: Stats on tag count for a specific block via height (requires blockHeight parameter)

  • block_headers: Retrieves the last 10 block headers

  • block_pages: Retrieves pages of transaction IDs for large blocks (requires blockHash and optional pageNumber)

STATS DATA:

  • block_stats_by_height: Block statistics for a specific height (requires blockHeight parameter)

  • block_miner_stats: Block mining statistics for a time period (optional days parameter, default 7)

  • miner_summary_stats: Summary of mining statistics (optional days parameter, default 7)

TRANSACTION DATA:

  • tx_by_hash: Detailed transaction data (requires txHash parameter)

  • tx_raw: Raw transaction hex data (requires txHash parameter)

  • tx_receipt: Transaction receipt (requires txHash parameter)

  • bulk_tx_details: Bulk transaction details (requires txids parameter as array of transaction hashes)

ADDRESS DATA:

  • address_history: Transaction history for address (requires address parameter, optional limit)

  • address_utxos: Unspent outputs for address (requires address parameter)

NETWORK:

  • health: API health check

Use the appropriate parameters for each endpoint type and specify 'main' or 'test' network.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

A3.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. The description lists endpoint functionalities but lacks critical behavioral details: it doesn't specify whether operations are read-only or mutative, rate limits, authentication requirements, error handling, or response formats. While it mentions 'API health check' and parameter requirements, it fails to provide comprehensive behavioral context needed for safe and effective tool invocation.

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 categorized sections (CHAIN DATA, BLOCK DATA, etc.) and bullet points for each endpoint, making it easy to scan. It is appropriately sized for a tool with 19 endpoints, though some redundancy exists (e.g., repeating 'requires X parameter' could be streamlined). Every sentence adds value by clarifying endpoint purposes and parameter mappings, with no wasted text.

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

Completeness3/5

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

Given the tool's complexity (19 endpoints, no annotations, no output schema, and nested input schema), the description is partially complete. It excels in documenting endpoints and parameter mappings but lacks behavioral details (e.g., read/write nature, rate limits) and output information. Without annotations or output schema, the description should ideally cover more behavioral aspects to fully guide the agent, leaving gaps in operational context.

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 adds significant meaning beyond the input schema, which has 0% schema description coverage. It explicitly maps each endpoint to required parameters (e.g., 'block_by_hash: Complete block data via hash (requires blockHash parameter)'), provides optional parameters with defaults (e.g., 'days parameter, default 7'), and clarifies parameter usage across endpoints. This compensates fully for the schema's lack of descriptions, making parameter semantics clear and actionable.

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 tool's purpose: 'Explore Bitcoin SV blockchain data using the WhatsOnChain API. Access multiple data types:' followed by a comprehensive categorization of endpoints (CHAIN DATA, BLOCK DATA, etc.). It specifies the verb 'explore' and resource 'Bitcoin SV blockchain data', distinguishing it from sibling tools like bsv_decodeTransaction (decodes transactions) or bsv_getPrice (gets price data).

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: for exploring Bitcoin SV blockchain data via the WhatsOnChain API, with a list of specific endpoint types. It explicitly states 'Use the appropriate parameters for each endpoint type and specify 'main' or 'test' network.' However, it does not explicitly mention when not to use it or name alternatives among sibling tools (e.g., using bsv_decodeTransaction for transaction decoding instead of this tool's tx_by_hash).

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

bsv_getPriceA

Retrieves the current price of Bitcoin SV (BSV) in USD from a reliable exchange API. This tool provides real-time market data that can be used for calculating transaction values, monitoring market conditions, or converting between BSV and fiat currencies.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsNoNo parameters required - simply returns the current BSV price in USD

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the tool fetches 'real-time market data' and mentions the source ('reliable exchange API'), which adds useful context. However, it doesn't mention potential limitations like rate limits, authentication requirements, error conditions, or data freshness guarantees that would be important for a price API tool.

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

Conciseness5/5

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

The description is efficiently structured with two sentences: the first states the core functionality, and the second provides usage context. Every sentence adds value without redundancy, and it's appropriately front-loaded with the primary purpose.

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

Completeness3/5

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

For a simple price retrieval tool with no annotations and no output schema, the description provides adequate purpose and usage context. However, it lacks details about the return format (e.g., numeric value, timestamp, currency pair), error handling, or data source specifics that would be helpful given the absence of structured output documentation.

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

Parameters4/5

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

The schema description coverage is 100% and clearly states 'No parameters required - simply returns the current BSV price in USD'. The description reinforces this by not mentioning any parameters, which is appropriate for a zero-parameter tool. The baseline for 0 parameters is 4.

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 ('Retrieves'), resource ('current price of Bitcoin SV (BSV) in USD'), and data source ('from a reliable exchange API'). It distinguishes itself from siblings by focusing on real-time price data rather than transaction decoding, exploration, or ordinal-related functions.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool ('calculating transaction values, monitoring market conditions, or converting between BSV and fiat currencies'). However, it doesn't explicitly state when not to use it or name specific alternatives among the sibling tools for similar price data needs.

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

ordinals_getInscriptionA

Retrieves detailed information about a specific ordinal inscription by its outpoint. Returns complete inscription data including content type, file information, inscription origin, and current status. Useful for verifying NFT authenticity or retrieving metadata about digital artifacts.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

A4.1/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 describes the return data ('complete inscription data including content type, file information, inscription origin, and current status'), which is helpful. However, it lacks details on error handling, rate limits, authentication needs, or performance characteristics, leaving gaps for a mutation-free but data-rich tool.

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

Conciseness5/5

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

The description is front-loaded with the core purpose, followed by return details and usage context in two efficient sentences. Every sentence adds value without redundancy, making it appropriately sized and well-structured for quick understanding.

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

Completeness3/5

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

Given the tool's complexity (data retrieval with detailed output), no annotations, and no output schema, the description is moderately complete. It outlines the purpose and return data but lacks specifics on output structure, error cases, or operational constraints, which are important for a tool with rich data returns.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It adds meaning by specifying the parameter as 'outpoint' and implying its critical role in identifying the inscription, though it does not detail the format beyond what the schema provides ('Outpoint in format 'txid_vout''). For a single parameter tool, this provides adequate context, but not exhaustive detail.

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 ('retrieves detailed information') and resource ('about a specific ordinal inscription by its outpoint'), distinguishing it from siblings like ordinals_searchInscriptions (searching) or ordinals_getTokenByIdOrTicker (tokens). It provides a precise verb+resource combination that leaves no ambiguity about the tool's function.

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

Usage Guidelines4/5

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

The description explicitly states when to use this tool ('useful for verifying NFT authenticity or retrieving metadata about digital artifacts'), providing clear context. However, it does not specify when NOT to use it or name alternatives (e.g., ordinals_searchInscriptions for broader searches), which prevents a perfect score.

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

ordinals_getTokenByIdOrTickerB

Retrieves detailed information about a specific BSV-20 token by its ID or ticker symbol. Returns complete token data including ticker symbol, supply information, decimals, and current status. This tool is useful for verifying token authenticity or checking supply metrics.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the tool retrieves detailed information and returns complete token data, which implies a read-only operation, but doesn't explicitly state whether it's safe, requires authentication, has rate limits, or what happens on errors. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior and constraints.

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 appropriately sized with two sentences: the first states the purpose and parameters, and the second provides usage context. It's front-loaded with the core functionality, and every sentence adds value without redundancy. However, it could be slightly more structured by explicitly listing return fields or constraints.

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

Completeness3/5

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

Given the complexity (1 parameter with nested objects, no output schema, no annotations), the description is moderately complete. It covers the purpose, parameters, and usage context but lacks details on return values, error handling, or behavioral traits. Without an output schema, it should ideally explain what 'complete token data' includes, but it doesn't. It's adequate for basic use but has clear gaps for full agent understanding.

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

Parameters3/5

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

The description adds meaning by specifying that the tool retrieves information 'by its ID or ticker symbol,' which aligns with the two properties in the input schema (id and tick). However, with 0% schema description coverage, the schema provides no descriptions for these parameters. The description compensates somewhat by indicating what the parameters represent, but it doesn't detail formats (e.g., ID as outpoint) or usage rules (e.g., exclusive OR). Baseline is 3 as it adds some value but doesn't fully compensate for the coverage gap.

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

Purpose4/5

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

The description clearly states the tool's purpose: retrieving detailed information about a specific BSV-20 token by ID or ticker symbol. It specifies the resource (BSV-20 token) and action (retrieving detailed information), and distinguishes it from siblings like ordinals_getInscription or ordinals_marketListings by focusing on token data rather than inscriptions or market listings. However, it doesn't explicitly differentiate from all siblings (e.g., bsv_explore might also retrieve data).

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

Usage Guidelines3/5

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

The description implies usage context by stating it's 'useful for verifying token authenticity or checking supply metrics,' which suggests when to use it. However, it doesn't provide explicit guidance on when to use this tool versus alternatives like bsv_explore or ordinals_searchInscriptions, nor does it specify prerequisites or exclusions. The guidance is present but not comprehensive.

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

ordinals_marketListingsC

Retrieves current marketplace listings for Bitcoin SV ordinals with flexible filtering. Supports multiple asset types (NFTs, BSV-20 tokens, BSV-21 tokens) through a unified interface. Results include listing prices, details about the assets, and seller information.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that the tool 'retrieves' listings and includes details like prices and seller info, but fails to describe critical behaviors such as pagination handling (implied by 'offset' and 'limit' parameters), rate limits, authentication requirements, error conditions, or the structure of returned results. For a tool with 14 parameters and no output schema, this is a significant gap.

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 appropriately sized at three sentences, front-loaded with the core purpose. Each sentence adds value: the first states the action and scope, the second details asset types, and the third specifies result contents. There's no redundant information, and it's structured for quick comprehension.

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

Completeness2/5

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

Given the tool's complexity (14 parameters, nested objects, no annotations, no output schema), the description is incomplete. It covers the purpose and result types but lacks essential context such as behavioral traits (e.g., pagination, errors), detailed parameter guidance, and differentiation from siblings. Without an output schema, the description should ideally explain return values, but it only mentions them superficially ('listing prices, details about the assets, and seller information').

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

Parameters3/5

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

Schema description coverage is 0%, meaning all 14 parameters lack descriptions in the schema. The description compensates partially by mentioning 'flexible filtering' and listing the types of results included (prices, asset details, seller information), which hints at parameters like 'minPrice', 'maxPrice', and 'tokenType'. However, it doesn't explain the semantics of most parameters (e.g., 'id', 'origin', 'pending'), leaving many undocumented. Baseline is 3 due to some compensation but incomplete coverage.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Retrieves current marketplace listings for Bitcoin SV ordinals with flexible filtering.' It specifies the resource (marketplace listings) and the action (retrieves), and mentions support for multiple asset types. However, it doesn't explicitly differentiate from sibling tools like 'ordinals_marketSales' or 'ordinals_searchInscriptions', which prevents a perfect score.

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. It mentions 'flexible filtering' but doesn't specify scenarios where this tool is preferred over siblings like 'ordinals_marketSales' (which might retrieve sales history) or 'ordinals_searchInscriptions' (which might search inscriptions without marketplace context). No explicit when/when-not instructions or named alternatives are provided.

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

ordinals_marketSalesB

Retrieves recent sales data for BSV-20 and BSV-21 tokens on the ordinals marketplace. This tool provides insights into market activity, including sale prices, transaction details, and token information. Supports filtering by token ID, ticker symbol, or seller address to help analyze market trends and track specific token sales.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the tool 'retrieves recent sales data' and 'provides insights into market activity,' which implies a read-only operation, but doesn't explicitly state this is a query tool with no side effects. It also doesn't disclose rate limits, authentication requirements, data freshness, or pagination behavior (though pagination parameters exist in the schema). The description adds some behavioral context about what data is returned but leaves significant gaps.

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 appropriately sized with three sentences that each add value: first states core purpose, second explains what insights are provided, third describes filtering capabilities and use cases. It's front-loaded with the main purpose and avoids unnecessary repetition. Some minor wordiness exists ('to help analyze market trends and track specific token sales' could be tighter).

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

Completeness3/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 (8 parameters in a nested structure, no output schema, no annotations), the description provides basic purpose and filtering context but is incomplete. It doesn't explain the return format, pagination behavior, default tokenType, or what 'recent' means temporally. For a sales data retrieval tool with rich filtering options, more contextual information would be helpful despite the lack of output schema.

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

Parameters3/5

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

The description mentions filtering 'by token ID, ticker symbol, or seller address' which maps to three of the eight parameters (id, tick, address). However, with 0% schema description coverage, the description doesn't compensate for the undocumented parameters (dir, limit, offset, pending, tokenType). The description adds some semantic value for three parameters but leaves five completely undocumented beyond the schema structure.

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

Purpose4/5

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

The description clearly states the tool 'retrieves recent sales data for BSV-20 and BSV-21 tokens on the ordinals marketplace' with specific verbs ('retrieves', 'provides insights') and resources ('sales data', 'BSV-20 and BSV-21 tokens'). It distinguishes from siblings like ordinals_marketListings (which likely shows current listings rather than completed sales) and ordinals_getTokenByIdOrTicker (which retrieves token metadata rather than sales data), though the differentiation could be more explicit.

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

Usage Guidelines3/5

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

The description implies usage context by stating it 'helps analyze market trends and track specific token sales' and mentions filtering capabilities, but doesn't explicitly state when to use this tool versus alternatives like ordinals_marketListings or bsv_getPrice. It provides some guidance through the filtering mention but lacks explicit when/when-not instructions or named alternatives.

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

ordinals_searchInscriptionsB

Searches for Bitcoin SV ordinal inscriptions using flexible criteria. This powerful search tool supports filtering by address, inscription content, MIME type, MAP fields, and other parameters. Results include detailed information about each matched inscription. Ideal for discovering NFTs and exploring the ordinals ecosystem.

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral disclosure. It mentions 'results include detailed information' but doesn't specify what that includes, format, or any limitations. No information about rate limits, authentication needs, error conditions, or pagination behavior beyond what's implied in the schema.

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?

Three sentences with zero waste - first states purpose, second enumerates capabilities, third provides usage context. Well-structured and appropriately sized for a search tool with multiple parameters. Could be slightly more front-loaded with explicit sibling differentiation.

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

Completeness2/5

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

For a complex search tool with 9 nested parameters, 0% schema coverage, no annotations, and no output schema, the description is inadequate. It doesn't explain return format, error handling, performance characteristics, or provide examples. The 'detailed information' claim is too vague for an agent to understand what to expect.

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

Parameters3/5

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

Schema description coverage is 0%, but the description compensates by listing supported filter criteria: 'address, inscription content, MIME type, MAP fields, and other parameters.' This provides meaningful context about what the args object contains, though it doesn't explain individual parameter purposes or relationships. The description adds value beyond the bare schema but doesn't fully document all 9 nested parameters.

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

Purpose4/5

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

The description clearly states the tool 'searches for Bitcoin SV ordinal inscriptions using flexible criteria' with specific verb+resource. It distinguishes from siblings like ordinals_getInscription (specific retrieval) and ordinals_marketListings (market-focused), though not explicitly named. However, it doesn't fully differentiate from potential general search tools like bsv_explore.

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

Usage Guidelines3/5

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

The description implies usage context ('ideal for discovering NFTs and exploring the ordinals ecosystem') but doesn't explicitly state when to use this tool versus alternatives. It mentions 'powerful search tool' but provides no guidance on when to choose it over other search or retrieval tools in the sibling list.

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

utils_convertDataA

Converts data between different encodings (utf8, hex, base64, binary). Useful for transforming data formats when working with blockchain data, encryption, or file processing.

Parameters:

  • data (required): The string to convert

  • from (required): Source encoding format (utf8, hex, base64, or binary)

  • to (required): Target encoding format (utf8, hex, base64, or binary)

Example usage:

  • UTF-8 to hex: {"data": "hello world", "from": "utf8", "to": "hex"} → 68656c6c6f20776f726c64

  • UTF-8 to base64: {"data": "Hello World", "from": "utf8", "to": "base64"} → SGVsbG8gV29ybGQ=

  • base64 to UTF-8: {"data": "SGVsbG8gV29ybGQ=", "from": "base64", "to": "utf8"} → Hello World

  • hex to base64: {"data": "68656c6c6f20776f726c64", "from": "hex", "to": "base64"} → aGVsbG8gd29ybGQ=

Notes:

  • All parameters are required

  • The tool returns the converted data as a string

  • For binary conversion, data is represented as an array of byte values

ParametersJSON Schema
NameRequiredDescriptionDefault
argsYes

TDQS

A4.5/5.0
Behavior4/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 effectively describes key behaviors: all parameters are required, returns converted data as a string, and explains binary representation. It doesn't mention error handling, performance characteristics, or side effects, but covers essential operational details.

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

Conciseness5/5

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

The description is well-structured and appropriately sized. It starts with a clear purpose statement, provides usage context, documents parameters with examples, and adds important notes. Every sentence adds value, and the information is front-loaded with the most important details first.

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?

For a data conversion tool with no annotations and no output schema, the description does an excellent job covering purpose, parameters, and basic behavior. The examples are particularly helpful. It could be more complete by mentioning error cases or performance considerations, but it provides sufficient context for effective use.

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 schema description coverage is 0% (no parameter descriptions in schema), so the description fully compensates. It clearly documents all three parameters, their required status, valid values for 'from' and 'to' (utf8, hex, base64, binary), and provides multiple examples showing exactly how to use them together.

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 tool's purpose with a specific verb ('Converts') and resource ('data between different encodings'), and distinguishes it from sibling tools by focusing on data format transformation rather than blockchain or ordinal operations. The examples further clarify the exact functionality.

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

Usage Guidelines4/5

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

The description provides clear context about when to use the tool ('useful for transforming data formats when working with blockchain data, encryption, or file processing'), but doesn't explicitly state when NOT to use it or name specific alternatives among sibling tools. The guidance is helpful but not exhaustive.

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. 9 tool updatesv1.0.0
    • First observedbsv_decodeTransaction
    • First observedbsv_explore
    • First observedbsv_getPrice
    • First observedordinals_getInscription
    • First observedordinals_getTokenByIdOrTicker
    • First observedordinals_marketListings
    • First observedordinals_marketSales
    • First observedordinals_searchInscriptions
    • First observedutils_convertData

TDQS

B3.4/5.0

Scored across 9 tools

Disambiguation3/5

The tools have clear domains (BSV blockchain, ordinals, utilities), but within the bsv_explore tool, many sub-endpoints (e.g., block_by_hash, address_history) are bundled under one tool, which could cause confusion as they represent distinct operations. Other tools like ordinals_getInscription and ordinals_searchInscriptions have overlapping purposes but are differentiated by specific vs. search functionality.

Naming Consistency4/5

Most tools follow a consistent prefix_snake_case pattern (e.g., bsv_decodeTransaction, ordinals_getInscription, utils_convertData), with clear domain prefixes. However, bsv_explore is an outlier as it groups multiple operations under one name, deviating from the single-action-per-tool convention seen elsewhere.

Tool Count4/5

With 9 tools, the count is reasonable for covering Bitcoin SV blockchain, ordinals, and utilities. However, the bsv_explore tool effectively bundles many sub-operations, making the actual functionality count higher than 9, which could be seen as slightly heavy but still manageable.

Completeness4/5

The toolset covers key areas: transaction decoding, blockchain exploration, price data, ordinals (inscriptions, tokens, marketplace), and data conversion. Minor gaps include lack of tools for creating or broadcasting transactions, and deeper wallet or smart contract operations, but core read-only and analysis functions are well-represented for the domain.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI agents to interact with MNEE stablecoin on Bitcoin SV, including checking balances, transferring tokens, and querying transaction history in both sandbox and production environments.
    -
  • A
    license
    C
    quality
    D
    maintenance
    Enables AI applications to interact with the Bitcoin Network, manage wallets, check balances, convert prices, and send transactions.
    4
    35 npm
    6
    MIT