Satstream MCP Server

Official
by satstream
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides comprehensive access to Bitcoin blockchain data, including address information, balances, transaction history, block details, mempool statistics, and support for Bitcoin-specific features like Ordinals inscriptions and Runes tokens.

  • The server is built using Bun as its JavaScript runtime environment, allowing for fast execution of the MCP server that interfaces with the Bitcoin data API.

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

关于 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获取比特币地址的 UTXOaddress :比特币地址, 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 运行时)创建的。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

模型上下文协议服务器,可通过 Satstream API 查询比特币区块链数据,包括地址信息、交易详情、内存池统计数据和序数/符文数据。

  1. Setup
    1. About Satstream
      1. Getting an API Key
    2. Available MCP Functions
      1. Address Functions
      2. Blockchain Functions
      3. Mempool Functions
      4. Ordinals and Runes Functions
    3. Usage Examples
      1. Get address information
      2. Validate a Bitcoin address
      3. Get block information
      4. Get blockchain stats
      5. Get address balance
      6. Get UTXOs for an address, filtered by type
      7. Get information about a specific rune
      8. Get latest runes
    4. MCP Integration
      ID: oumg0xfft3