Bitrovas L402 Services
Lightning-paid (L402) Bitcoin & data tools: PSBT, PoisonCheck, FormatCheck, QR-Bill, Timestamps.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen bitrovas_adresswaechter_subscribe
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
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": {
"url": "https://api.bitrovas.ch/mcp"
}
}
}Puntos de conexión remotos
https://api.bitrovas.ch/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (19)
🟢bitrovas_services_status
Free endpoint: checks api.bitrovas.ch readiness and returns the live machine-readable list of Bitrovas L402 services, pricing in sats, quote endpoints, and input schemas.
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢bitrovas_psbtcheck(psbt, expected_address, expected_amount_sats, network, l402_macaroon, ...)
Pre-sign check of an unsigned Bitcoin PSBT (21 sats via L402). Inspects recipients, amounts, change, fee/sat-vB, RBF, sighash, missing UTXO info, dust, and address-poisoning lookalikes. Returns verdict ok|warn|danger + JSON + DE/EN text. Invalid PSBTs are rejected free (HTTP 400) before an invoice is issued. Call without l402_macaroon/l402_preimage to get the BOLT11 invoice, then retry with the preimage after paying.
Esquema de entrada
{
"type": "object",
"properties": {
"psbt": {
"type": "string",
"minLength": 1,
"description": "Unsigned PSBT v0 in base64 or hex (required)."
},
"expected_address": {
"description": "Optional expected recipient address to verify against outputs.",
"type": "string"
},
"expected_amount_sats": {
"description": "Optional expected output amount in satoshis (>= 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"network": {
"description": "Optional Bitcoin network: mainnet, testnet, signet, or regtest.",
"type": "string",
"enum": [
"mainnet",
"testnet",
"signet",
"regtest"
]
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"required": [
"psbt"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_psbtcheck_quote(psbt, expected_address, expected_amount_sats, network)
Free endpoint (POST /v1/psbtcheck/quote): returns the PSBT-Check price in sats and optionally validates an unsigned PSBT without issuing an invoice or revealing the verdict.
Esquema de entrada
{
"type": "object",
"properties": {
"psbt": {
"description": "Optional unsigned PSBT v0 (base64 or hex) to pre-validate.",
"type": "string"
},
"expected_address": {
"description": "Optional expected recipient address.",
"type": "string"
},
"expected_amount_sats": {
"description": "Optional expected amount in sats.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"network": {
"description": "Optional Bitcoin network.",
"type": "string",
"enum": [
"mainnet",
"testnet",
"signet",
"regtest"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡bitrovas_poisoncheck(used, expected, l402_macaroon, l402_preimage)
Address-poisoning check for Bitcoin, EVM, and Tron addresses (21 sats single; 21 + 5 sats per address for batches up to 50). Compares the address you are about to send to (used) against the known address (expected) to detect lookalike/vanity poisoning patterns. Identical addresses or mismatched networks are answered free (HTTP 400) before invoicing.
Esquema de entrada
{
"type": "object",
"properties": {
"used": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
],
"description": "Address to check (string) or list of up to 50 addresses for batch checking."
},
"expected": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
],
"description": "Known correct address (string), or for batch either one string or a list matching the length of used."
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"required": [
"used",
"expected"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_poisoncheck_ai_status(ticket)
Free endpoint (GET /v1/poisoncheck/ai/<ticket>): retrieves a supplementary AI explanation once if a PoisonCheck review result included ai_explanation.poll.
Esquema de entrada
{
"type": "object",
"properties": {
"ticket": {
"type": "string",
"minLength": 1,
"description": "Ticket ID or /v1/poisoncheck/ai/<ticket> path from ai_explanation.poll."
}
},
"required": [
"ticket"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪bitrovas_formatcheck(data, format, action, json_schema, l402_macaroon, ...)
Validate CSV, YAML, XML, TOML, or JSON (up to 1 MiB / 1M elements), optionally validate against a JSON Schema (2020-12, local $ref only), or convert to JSON / flat JSON to CSV. Price: 10 sats + 1 sat per started KB (use bitrovas_formatcheck_quote for exact free price). Invalid input is rejected free (HTTP 400).
Esquema de entrada
{
"type": "object",
"properties": {
"data": {
"type": "string",
"minLength": 1,
"description": "Input text to validate or convert (UTF-8, max 1 MiB)."
},
"format": {
"type": "string",
"enum": [
"csv",
"yaml",
"yml",
"xml",
"toml",
"json"
],
"description": "Input format: csv, yaml (or yml), xml, toml, or json."
},
"action": {
"description": "Optional action: validate (default), to_json, or to_csv (requires format=json).",
"type": "string",
"enum": [
"validate",
"to_json",
"to_csv"
]
},
"json_schema": {
"description": "Optional JSON Schema 2020-12 object (local $ref only, max 8000 bytes).",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "boolean"
}
]
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"required": [
"data",
"format"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_formatcheck_quote(data, format, action, json_schema)
Free endpoint (POST /v1/formatcheck/quote): calculates exact byte/KB price (10 + ceil(bytes/1024) sats) and optionally pre-checks syntax/schema without issuing an invoice.
Esquema de entrada
{
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "Input text to measure and optionally pre-check."
},
"format": {
"description": "Optional format for pre-validation.",
"type": "string",
"enum": [
"csv",
"yaml",
"yml",
"xml",
"toml",
"json"
]
},
"action": {
"description": "Optional action for pre-validation.",
"type": "string",
"enum": [
"validate",
"to_json",
"to_csv"
]
},
"json_schema": {
"description": "Optional JSON Schema 2020-12 for pre-validation.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "boolean"
}
]
}
},
"required": [
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪bitrovas_jsonrepair(data, json_schema, json_schema_action, options, l402_macaroon, ...)
Validate, syntax-repair (trailing commas, markdown code fences, Python literals), normalize whitespace/NULLs, deduplicate, and optionally JSON-Schema-validate a JSON array of flat records (max 1000 rows, 10 sats via L402).
Esquema de entrada
{
"type": "object",
"properties": {
"data": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"minItems": 1,
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
{
"type": "object",
"properties": {
"records": {
"minItems": 1,
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"required": [
"records"
]
}
],
"description": "JSON array of flat objects, {records: [...]}, or raw JSON/Python-literal text to repair (max 1000 rows)."
},
"json_schema": {
"description": "Optional JSON Schema 2020-12 applied per row.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "boolean"
}
]
},
"json_schema_action": {
"description": "Optional action for rows failing json_schema: flag (default) or drop.",
"type": "string",
"enum": [
"flag",
"drop"
]
},
"options": {
"description": "Optional DataCleanBot options (operations, dedupe_keys, dedupe_keep, schema, email_columns, etc.).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"required": [
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_qrbill(payload, iban, reference, amount, currency, ...)
Technical offline check of a Swiss QR-bill SPC payload or CH/LI IBAN + reference (10 sats via L402): IBAN checksum, QR-IBAN vs QRR/SCOR/NON, Mod10/ISO-11649 reference, amount/currency, mandatory fields, lengths, character set, and optional expected supplier IBAN comparison (plain or SHA-256).
Esquema de entrada
{
"type": "object",
"properties": {
"payload": {
"description": "Full Swiss QR-bill SPC payload text (all lines). Required unless iban is given.",
"type": "string"
},
"iban": {
"description": "CH/LI IBAN when checking without full SPC payload.",
"type": "string"
},
"reference": {
"description": "Optional QRR (27 digits) or SCOR (RF...) reference.",
"type": "string"
},
"amount": {
"description": "Optional invoice amount (e.g. '125.50').",
"type": "string"
},
"currency": {
"description": "Optional currency: CHF or EUR.",
"type": "string",
"enum": [
"CHF",
"EUR"
]
},
"expected_iban": {
"description": "Optional expected supplier IBAN or list (max 20) to compare against.",
"anyOf": [
{
"type": "string"
},
{
"maxItems": 20,
"type": "array",
"items": {
"type": "string"
}
}
]
},
"expected_iban_sha256": {
"description": "Optional SHA-256 hex of normalized supplier IBAN (uppercase, no spaces) or list (max 20).",
"anyOf": [
{
"type": "string"
},
{
"maxItems": 20,
"type": "array",
"items": {
"type": "string"
}
}
]
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡bitrovas_timestamp(hash, event_id, l402_macaroon, l402_preimage)
Create a Bitcoin OpenTimestamps proof for a SHA-256 hash or Nostr event ID (21 sats via L402). Returns a pending .ots proof (base64) and an id to poll free via bitrovas_timestamp_status until Bitcoin confirmation (1-12h). Only the hash is sent, never the file.
Esquema de entrada
{
"type": "object",
"properties": {
"hash": {
"description": "64-character SHA-256 hex digest of the file. Required unless event_id is given.",
"type": "string"
},
"event_id": {
"description": "Nostr event ID (64-hex, note1..., or nevent1...). Required unless hash is given.",
"type": "string"
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_timestamp_status(id)
Free endpoint (GET /v1/timestamp/<id>): checks whether an OpenTimestamps proof is pending or confirmed on Bitcoin and returns the upgraded .ots proof (base64) and bitcoin_block_height.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-fA-F]{32}$",
"description": "32-character hex timestamp ID returned by bitrovas_timestamp."
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡bitrovas_adresswaechter_subscribe(target, npub, label, l402_macaroon, l402_preimage)
Watch-only Bitcoin mainnet address or account xpub/ypub/zpub monitoring for 90 days (2100 sats via L402). Every incoming/outgoing transaction (incl. unconfirmed) and address-poisoning dust triggers an encrypted Nostr DM (NIP-17) to npub. Max 5 entries per npub; re-ordering extends by 90 days. Never send seeds or private keys.
Esquema de entrada
{
"type": "object",
"properties": {
"target": {
"type": "string",
"minLength": 1,
"description": "Bitcoin mainnet address (bc1..., 1..., 3...) or account-level xpub/ypub/zpub (depth <= 3)."
},
"npub": {
"type": "string",
"minLength": 1,
"description": "Nostr public key (npub1... or 64-hex) to receive encrypted NIP-17 DM alarms."
},
"label": {
"description": "Optional short label (max 40 characters).",
"type": "string",
"maxLength": 40
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"required": [
"target",
"npub"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_adresswaechter_info
Free endpoint (GET /v1/adresswaechter/info): returns Adress-Waechter pricing, limits (max 5 entries per npub, mainnet only), alert format, and L402 flow.
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢bitrovas_adresswaechter_status(subscription_id, l402_macaroon, l402_preimage)
Free endpoint: check an Adress-Waechter subscription by subscription_id (GET /v1/adresswaechter/<id>), or recover an order if the initial response was lost by passing l402_macaroon and l402_preimage (GET /v1/adresswaechter/status).
Esquema de entrada
{
"type": "object",
"properties": {
"subscription_id": {
"description": "32-character hex subscription_id returned when subscribing.",
"type": "string",
"pattern": "^[0-9a-fA-F]{32}$"
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡bitrovas_walletaddr(xpub, descriptor, addresses, script, gap, ...)
Watch-only Bitcoin address derivation from xpub/ypub/zpub/tpub/upub/vpub or an output descriptor (21 sats via L402). Derives receive (0/i) and change (1/i) addresses and optionally checks ownership/derivation path for up to 50 addresses. Private keys/seeds are rejected free (HTTP 400).
Esquema de entrada
{
"type": "object",
"properties": {
"xpub": {
"description": "Account-level extended public key (xpub/ypub/zpub/tpub/upub/vpub).",
"type": "string"
},
"descriptor": {
"description": "Output descriptor with wildcard * (e.g. wpkh([fp/84h/0h/0h]xpub/<0;1>/*)).",
"type": "string"
},
"addresses": {
"description": "Optional list of up to 50 Bitcoin addresses to verify against derived chains.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string"
}
},
"script": {
"description": "Optional script override (only with xpub): p2pkh, p2wpkh, p2sh-p2wpkh, or p2tr.",
"type": "string",
"enum": [
"p2pkh",
"p2wpkh",
"p2sh-p2wpkh",
"p2tr"
]
},
"gap": {
"description": "Optional addresses per chain to derive (default 20, max 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_utxoplan_preview(xpub, descriptor, utxos, addresses, gap)
Free endpoint (POST /v1/utxoplan/preview): counts the UTXOs of a watch-only wallet (xpub/ypub/zpub, descriptor, Bitcoin mainnet addresses or own UTXO list) and returns total balance, current fee rates, what spending everything costs at several fee rates and the estimated consolidation cost today, plus the price of the full plan. No outpoints or addresses in the answer. Data source: public Esplora API (mempool.space) queried per address; the xpub itself is never sent there. Scans can take up to about 2 minutes. Private keys/seeds are rejected.
Esquema de entrada
{
"type": "object",
"properties": {
"xpub": {
"description": "Account-level extended public key, mainnet (xpub/ypub/zpub). Watch-only.",
"type": "string"
},
"descriptor": {
"description": "Public output descriptor with wildcard *, also multisig (e.g. wpkh([fp/84h/0h/0h]xpub/<0;1>/*)).",
"type": "string"
},
"utxos": {
"description": "Own UTXO list instead of a key: Sparrow CSV export (Output, Address, Label, Value) or lines 'txid:vout value' (sats, or BTC with a dot). No address lookups are made in this mode.",
"type": "string",
"maxLength": 400000
},
"addresses": {
"description": "One or more Bitcoin mainnet addresses (bc1…, 1…, 3…), one per line or comma-separated. Gap limit is ignored. Counts toward the address cap (preview 80, plan 300).",
"type": "string",
"maxLength": 400000
},
"gap": {
"description": "Optional gap limit per chain (default 20, max 100). Only with xpub or descriptor.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪bitrovas_utxoplan(xpub, descriptor, utxos, addresses, gap, ...)
Watch-only UTXO plan for fees and privacy (1200 sats via L402): fee scenarios (now, 10/50/100/300 sat/vB), every UTXO classified as consolidate / freeze / keep separate / do not touch (possible dust attack), consolidation batches per label with outpoints for coin control, fee today and break-even, next unused receive address, and the plan as Markdown (plan_markdown). Bitrovas never signs or broadcasts. Invalid input and private keys/seeds are rejected free (HTTP 400). Use bitrovas_utxoplan_preview first; the paid call within 15 minutes reuses that scan.
Esquema de entrada
{
"type": "object",
"properties": {
"xpub": {
"description": "Account-level extended public key, mainnet (xpub/ypub/zpub). Watch-only.",
"type": "string"
},
"descriptor": {
"description": "Public output descriptor with wildcard *, also multisig (e.g. wpkh([fp/84h/0h/0h]xpub/<0;1>/*)).",
"type": "string"
},
"utxos": {
"description": "Own UTXO list instead of a key: Sparrow CSV export (Output, Address, Label, Value) or lines 'txid:vout value' (sats, or BTC with a dot). No address lookups are made in this mode.",
"type": "string",
"maxLength": 400000
},
"addresses": {
"description": "One or more Bitcoin mainnet addresses (bc1…, 1…, 3…), one per line or comma-separated. Gap limit is ignored. Counts toward the address cap (preview 80, plan 300).",
"type": "string",
"maxLength": 400000
},
"gap": {
"description": "Optional gap limit per chain (default 20, max 100). Only with xpub or descriptor.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪bitrovas_markdown(content_base64, filename, l402_macaroon, l402_preimage)
Convert a document (PDF, DOCX, XLSX, PPTX, HTML, or UTF-8 CSV; max 5 MB) into clean Markdown for AI agents (100 sats via L402). Sandboxed, no OCR/LLM, never stored. Use bitrovas_markdown_quote for a free type/size/price pre-check.
Esquema de entrada
{
"type": "object",
"properties": {
"content_base64": {
"type": "string",
"minLength": 1,
"description": "Document bytes encoded as base64 (PDF, DOCX, XLSX, PPTX, HTML, or CSV)."
},
"filename": {
"description": "Optional filename (extension must match detected file type).",
"type": "string"
},
"l402_macaroon": {
"description": "L402 macaroon/token returned from an HTTP 402 response on a prior call to this tool.",
"type": "string"
},
"l402_preimage": {
"description": "64-character hex Lightning preimage obtained after paying the BOLT11 invoice from the 402 response.",
"type": "string"
}
},
"required": [
"content_base64"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitrovas_markdown_quote(content_base64, filename, size_bytes)
Free endpoint (POST /v1/markdown/quote): checks supported file types, max document size, 100-sat price, and optionally validates content_base64 or filename/size_bytes metadata without converting.
Esquema de entrada
{
"type": "object",
"properties": {
"content_base64": {
"description": "Optional base64 document bytes to validate magic type and size.",
"type": "string"
},
"filename": {
"description": "Optional filename for extension check or type validation.",
"type": "string"
},
"size_bytes": {
"description": "Optional byte size metadata to check against limit.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia