ss mcp
A Model Context Protocol server that enables querying Bitcoin blockchain data, including address information, transaction details, mempool statistics, and ordinals/runes data through the Satstream API.
A Model Context Protocol server that enables querying Bitcoin blockchain data, including address information, transaction details, mempool statistics, and ordinals/runes data through the Satstream API.
A Model Context Protocol (MCP) server that provides access to Satstream Bitcoin data API.
To install dependencies:
bun install
To run with an API key:
export SATSTREAM_API_KEY="your-api-key-here"
bun run index.ts
Or pass the API key as a command line argument:
bun run index.ts your-api-key-here
Satstream is a comprehensive Bitcoin blockchain API service that provides access to real-time blockchain data, including transactions, addresses, blocks, and specialized data like Ordinals inscriptions and Runes tokens.
To use this MCP server, you'll need a Satstream API key. You can obtain one by:
The free tier provides access to basic functionality with rate limits, while paid plans offer higher rate limits and additional features.
The following MCP functions are available for Bitcoin data queries:
Function Name | Description | Parameters |
---|---|---|
address_get |
Get detailed information about a Bitcoin address | address : Bitcoin address |
address_balance_get |
Get balance for a Bitcoin address | address : Bitcoin address |
address_deltas_get |
Get transaction history for an address | address : Bitcoin address, plus optional pagination params |
address_validate |
Validate a Bitcoin address | address : Bitcoin address |
address_outputs_get |
Get UTXOs for a Bitcoin address | address : Bitcoin address, type : Optional UTXO type filter |
address_rune_deltas_get |
Get rune token history for an address | address : Bitcoin address, plus optional pagination params |
Function Name | Description | Parameters |
---|---|---|
block_get |
Get information about a block by hash or height | identifier : Block hash or height |
blockchain_info |
Get current blockchain stats and network info | random_string : Optional dummy parameter |
transaction_get |
Get details about a transaction | txid : Transaction ID |
Function Name | Description | Parameters |
---|---|---|
mempool_info_get |
Get mempool statistics | random_string : Optional dummy parameter |
mempool_transactions_get |
List unconfirmed transactions | Optional pagination params |
Function Name | Description | Parameters |
---|---|---|
ordinals_inscription_get |
Get data about an ordinals inscription | inscription_id : Inscription ID |
rune_get |
Get information about a specific rune | identifier : Rune name or ID |
runes_latest_get |
Get latest runes (first 100) | random_string : Optional dummy parameter |
runes_page_get |
Get a specific page of runes | page : Page number |
address_get({ address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" })
address_validate({ address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" })
block_get({ identifier: "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" })
blockchain_info({ random_string: "dummy" })
address_balance_get({ address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" })
address_outputs_get({
address: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
type: "cardinal"
})
rune_get({ identifier: "UNCOMMON•GOODS" })
runes_latest_get({ random_string: "dummy" })
This server is designed to be used with Cursor or other environments supporting the Model Context Protocol. For detailed function descriptions and usage guidelines, see function-descriptions.json.
This project was created using Bun, a fast all-in-one JavaScript runtime.