Skip to main content
Glama
Satstream MCP Server

Satstream MCP Server

Official
by satstream

Satstream MCP 服务器

提供对 Satstream 比特币数据 API 的访问的模型上下文协议 (MCP) 服务器。

设置

要安装依赖项:

bun install

要使用 API 密钥运行:

export SATSTREAM_API_KEY="your-api-key-here"
bun run index.ts

或者将 API 密钥作为命令行参数传递:

bun run index.ts your-api-key-here

Related MCP server: MCP Blockchain Query Server

关于 Satstream

Satstream是一种综合性的比特币区块链 API 服务,提供对实时区块链数据的访问,包括交易、地址、区块以及序数铭文和符文代币等专用数据。

获取 API 密钥

要使用此 MCP 服务器,您需要一个 Satstream API 密钥。您可以通过以下方式获取:

  1. 访问Satstream 文档

  2. 注册账户

  3. 从您的仪表板生成 API 密钥

免费套餐提供具有速率限制的基本功能,而付费套餐则提供更高的速率限制和附加功能。

可用的 MCP 功能

以下 MCP 函数可用于比特币数据查询:

地址函数

函数名称

描述

参数

address_get

获取有关比特币地址的详细信息

address :比特币地址

address_balance_get

获取比特币地址的余额

address :比特币地址

address_deltas_get

获取地址的交易历史记录

address :比特币地址,加上可选的分页参数

address_validate

验证比特币地址

address :比特币地址

address_outputs_get

获取比特币地址的 UTXO

address :比特币地址, type :可选UTXO类型过滤器

address_rune_deltas_get

获取地址的符文代币历史记录

address :比特币地址,加上可选的分页参数

区块链功能

函数名称

描述

参数

block_get

通过哈希值或高度获取有关区块的信息

identifier :区块哈希值或高度

blockchain_info

获取当前区块链统计数据和网络信息

random_string :可选的虚拟参数

transaction_get

获取有关交易的详细信息

txid :交易 ID

内存池函数

函数名称

描述

参数

mempool_info_get

获取内存池统计数据

random_string :可选的虚拟参数

mempool_transactions_get

列出未确认的交易

可选的分页参数

序数和符文函数

函数名称

描述

参数

ordinals_inscription_get

获取序数词铭文的数据

inscription_id :铭文ID

rune_get

获取有关特定符文的信息

identifier :符文名称或 ID

runes_latest_get

获取最新符文(前 100 个)

random_string :可选的虚拟参数

runes_page_get

获取特定页面的符文

page :页码

使用示例

获取地址信息

address_get({ address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" })

验证比特币地址

address_validate({ address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" })

获取区块信息

block_get({ identifier: "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" })

获取区块链统计数据

blockchain_info({ random_string: "dummy" })

获取地址余额

address_balance_get({ address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" })

获取地址的 UTXO,按类型过滤

address_outputs_get({ 
  address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
  type: "cardinal"
})

获取有关特定符文的信息

rune_get({ identifier: "UNCOMMON•GOODS" })

获取最新符文

runes_latest_get({ random_string: "dummy" })

MCP 集成

此服务器旨在与 Cursor 或其他支持模型上下文协议 (Model Context Protocol) 的环境配合使用。有关详细的功能描述和使用指南,请参阅function-descriptions.json 。

该项目是使用Bun (一种快速的一体化 JavaScript 运行时)创建的。

Available Tools

37 tools
address_balance_getA

Get the total Bitcoin balance (in satoshis) of an address by summing all its deltas. Use this when you only need the balance information without the full address details.

Inputs: address (required).

address_deltas_getA

Get transaction deltas (inputs and outputs) for a specific Bitcoin address with pagination. Use this to analyze the transaction history of an address with filtering by block height.

Inputs: address (required), cursor, page_size, end_height, +1 more.

address_getA

Get detailed information about a specific Bitcoin address, including transaction history and UTXO details. Use this when you need comprehensive data about an address.

Inputs: address (required).

address_outputs_getA

Retrieve UTXOs (unspent transaction outputs) held by a specific Bitcoin address with optional type filtering. Use this to get detailed information about available UTXOs for spending or analysis.

Inputs: address (required), type.

address_rune_deltas_getA

Get rune deltas (changes in rune balances) for a specific Bitcoin address with pagination. Use this to analyze the history of rune token transfers for an address.

Inputs: address (required), cursor, page_size, end_height, +1 more.

address_validateA

Validate a Bitcoin address and retrieve information about its format, type, and validity. Use this to check if an address is valid before sending or receiving transactions.

Inputs: address (required).

blockchain_infoA

Get current blockchain information including chain height, latest block details, and network status. Use this for obtaining overall Bitcoin network statistics.

Inputs: random_string.

block_count_getC

Get the current block height of the Bitcoin blockchain. This returns the height of the latest block that has been processed.

Inputs: random_string.

block_getA

Get detailed information about a specific Bitcoin block by its hash or height. Use this to retrieve block header data, transaction IDs, and mining details.

Inputs: identifier (required).

blockhash_by_height_getB

Get the hash of a specific Bitcoin block by its height. Use this to convert a block height to its corresponding block hash.

Inputs: block_height (required).

block_raw_decoded_getA

Get the full decoded (verbose) representation of a specific Bitcoin block by its hash or height. This provides extensive details about the block structure and contained transactions.

Inputs: identifier (required).

block_raw_hex_getA

Get the raw hexadecimal representation of a specific Bitcoin block by its hash or height. This provides the complete serialized block data in hexadecimal format.

Inputs: identifier (required).

block_raw_prevout_getA

Get the full decoded representation of a specific Bitcoin block with prevout information by its hash or height. This provides extensive details about the block including input and output data.

Inputs: identifier (required).

block_raw_summary_getA

Get a summary of a specific Bitcoin block by its hash or height. This provides a condensed view of block data without full transaction details.

Inputs: identifier (required).

blocks_getA

Get information about the last 100 Bitcoin blocks. Use this for obtaining an overview of recent blockchain activity including block heights, hashes, and timestamps.

Inputs: random_string.

inscription_child_getA

Get information about a specific child of a Bitcoin Ordinals inscription. Use this to retrieve metadata about nested or child inscriptions.

Inputs: child_index (required), inscription_id (required).

inscriptions_block_getA

Get all Bitcoin Ordinals inscriptions in a specific block. Use this to analyze the inscriptions created in a particular block height.

Inputs: block_height (required).

inscriptions_block_page_getA

Get a specific page of Bitcoin Ordinals inscriptions in a particular block. Use this for paginated access to the inscriptions created in a specific block height.

Inputs: page (required), block_height (required).

inscriptions_latest_getC

Get the latest Bitcoin Ordinals inscriptions. Use this to retrieve recently created NFT-like inscriptions on the Bitcoin blockchain.

Inputs: random_string.

inscriptions_page_getB

Get a specific page of Bitcoin Ordinals inscriptions. Use this for paginated access to the complete list of inscriptions on the blockchain.

Inputs: page (required).

latest_blockhash_getC

Get the hash of the latest block in the Bitcoin blockchain. Use this to retrieve the most recent block hash.

Inputs: random_string.

latest_block_height_getB

Get the current height of the Bitcoin blockchain. This returns the height of the latest block that has been processed.

Inputs: random_string.

latest_blocktime_getB

Get the timestamp of the latest block in the Bitcoin blockchain. This returns the UNIX timestamp of when the latest block was mined.

Inputs: random_string.

mempool_info_getB

Get current Bitcoin mempool statistics including size, transaction count, and fee estimates. Use this to understand the current state of unconfirmed transactions.

Inputs: random_string.

mempool_transactions_getB

List unconfirmed transactions in the Bitcoin mempool with pagination. Use this to monitor incoming transactions before they are included in a block.

Inputs: cursor, page_size.

ordinals_inscription_getA

Get information about a specific Bitcoin Ordinals inscription by its ID. Use this to retrieve metadata about NFT-like inscriptions on Bitcoin, including content type and ownership details.

Inputs: inscription_id (required).

output_getA

Get detailed information about a specific Bitcoin UTXO (unspent transaction output) by its outpoint in the format 'txid:vout'. Use this to retrieve spend status, value, and script details of an output.

Inputs: outpoint (required).

rune_getA

Retrieve information about a specific Bitcoin Rune by name or ID (e.g., "UNCOMMON•GOODS" or "1:0"). Use this to get details about a specific rune token, including supply, minting status, and transactions.

Inputs: identifier (required).

runes_latest_getA

Retrieve information about the last 100 inscribed Bitcoin Runes (first page). Use this to get an overview of the most recently created rune tokens on the Bitcoin blockchain.

Inputs: random_string.

runes_page_getB

Retrieve a specific page of 100 inscribed Bitcoin Runes. Use this for paginated access to the complete list of rune tokens on the blockchain.

Inputs: page (required).

sat_getA

Get information about a specific satoshi by its absolute number (index). Use this to retrieve details about a particular satoshi, including its rarity, block of creation, and inscription status.

Inputs: number (required).

status_getA

Get the current status of the Satstream API server, including uptime, version information, and performance metrics. Use this to check if the API is functioning properly.

Inputs: random_string.

transaction_getA

Get detailed information about a specific Bitcoin transaction by its transaction ID (txid). Use this to retrieve comprehensive data about inputs, outputs, fees, and confirmation status.

Inputs: txid (required).

tx_inscriptions_getA

Get all Bitcoin Ordinals inscriptions contained in a specific transaction. Use this to analyze the inscriptions created or transferred in a particular transaction.

Inputs: txid (required).

tx_raw_decode_getB

Get a raw Bitcoin transaction with basic decoded information by its transaction ID. This provides the transaction structure and decoded script data.

Inputs: txid (required).

tx_raw_hex_getA

Get the raw hexadecimal representation of a Bitcoin transaction by its transaction ID. This provides the complete serialized transaction data in hexadecimal format.

Inputs: txid (required).

tx_raw_prevout_getB

Get a raw Bitcoin transaction with prevout information by its transaction ID. This provides the transaction with details about the previous outputs being spent.

Inputs: txid (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 37 tools

    Disambiguation3/5

    Many tools have distinct purposes, but there is significant overlap among multiple block retrieval tools (block_get, block_raw_decoded_get, block_raw_hex_get, etc.) and inscription tools, which could confuse an agent despite clear descriptions.

    Naming Consistency5/5

    All tool names follow a consistent noun_verb or noun_get pattern in snake_case, with no camelCase or mixed conventions. Singular and plural forms are used predictably.

    Tool Count2/5

    With 37 tools, the count exceeds the 25+ threshold described as 'too many'. While the domain is broad, several tools are redundant variants (e.g., multiple block detail levels), making the set feel bloated.

    Completeness4/5

    The tools cover address data, blocks, inscriptions, runes, transactions, mempool, and status thoroughly. Missing transaction creation/signing, but for a read-only data API this is nearly complete. Minor gap: no fee estimation.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers