Ordinals

io.github.ExpertVagabond由 GitHub 账号 ExpertVagabond 发布v0.1.2更新于 Oct 24, 2026

Bitcoin Ordinals MCP Server — inscriptions, runes, BRC-20, collections & rare sats

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

比特币 Ordinals MCP 服务器,让助手查询铭文、符文、BRC-20 代币、合集、稀有聪与市场数据。

可以做什么
  • 按 ID 或编号查询铭文,按条件搜索,并读取内容、转移记录与属性
  • 查询某个比特币地址持有的铭文、BRC-20 余额、符文余额与稀有聪
  • 浏览符文:元数据、列表、持有者、活动、市场数据与解锁日期
  • 查看 BRC-20 代币与合集,包括代币详情、持有者、活动、地板价与在售挂单
  • 查看单个聪与交易的稀有度、铭文历史及符文操作
适用场景
适合需要助手调研比特币 Ordinals、符文或 BRC-20 资产、查看某地址持仓,或直接在对话中获取合集与市场行情数据的场景。
运行要求
通过 npx 或全局 npm 安装后在本地运行(需要 Node.js)。HIRO_API_KEY 与 ORDISCAN_API_KEY 至少提供一个;MAGIC_EDEN_API_KEY 可选,用于提高市场接口速率。可选 CACHE_TTL_SECONDS。需要能访问 Hiro、Ordiscan 与 Magic Eden 的接口。
安装前请注意
需要在 MCP 配置的 env 中填写 API 密钥(HIRO_API_KEY、ORDISCAN_API_KEY,可选 MAGIC_EDEN_API_KEY),请勿放入共享配置。查询内容与地址会发送给第三方接口(Hiro、Ordiscan、Magic Eden)。工具均为只读查询,但接口故障时可能返回过期的缓存数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ordinals,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ordinals-mcp

[npm version] [License: MIT] [Node] [Tools]

The most complete Bitcoin Ordinals MCP server. 24 tools covering inscriptions, runes, BRC-20 tokens, collections, rare sats, and marketplace data. Aggregates Hiro, Ordiscan, and Magic Eden APIs with intelligent caching and automatic failover.

The only alternative (ordiscan-mcp) has 25 npm downloads and covers a fraction of the surface. This server is the production-grade option.

Install

bash
npx ordinals-mcp@latest

Or install globally:

bash
npm install -g ordinals-mcpordinals-mcp

Configure

Add to your MCP config (claude_desktop_config.json or ~/.mcp.json):

json
{  "mcpServers": {    "ordinals": {      "command": "npx",      "args": ["-y", "ordinals-mcp@latest"],      "env": {        "HIRO_API_KEY": "your-key",        "ORDISCAN_API_KEY": "your-key"      }    }  }}

At least one of HIRO_API_KEY or ORDISCAN_API_KEY is required. Both are free:

ProviderRate LimitGet Key
Hiro (primary)500 RPMplatform.hiro.so
Ordiscan (fallback)--ordiscan.com/docs/api
Magic Eden (optional)--docs.magiceden.io

Tools (24)

Inscriptions (5)

ToolDescriptionKey Params
get_inscriptionFull inscription details by ID or numberid
search_inscriptionsSearch inscriptions with filters (type, mime, date range)query, filters
get_inscription_contentRaw content of an inscriptionid
get_inscription_transfersTransfer history for an inscriptionid
get_inscription_traitsTraits and attributes of an inscriptionid

Address Queries (4)

ToolDescriptionKey Params
get_address_inscriptionsAll inscriptions held by a Bitcoin addressaddress
get_brc20_balancesBRC-20 token balances for an addressaddress
get_rune_balancesRune balances for an addressaddress
get_address_rare_satsRare satoshis held by an addressaddress

Runes (6)

ToolDescriptionKey Params
get_rune_infoDetailed rune metadata (etching, supply, holders)rune
list_runesList all runes with pagination and sortingoffset, limit
get_rune_holdersTop holders of a specific runerune
get_rune_activityRecent activity (mints, transfers, burns) for a runerune
get_rune_market_infoMarket data -- floor price, volume, listingsrune
get_rune_unlock_dateUnlock/availability date for time-locked runesrune

BRC-20 (3)

ToolDescriptionKey Params
get_brc20_tokenToken details (supply, limit, holders, deploy info)ticker
get_brc20_activityRecent activity for a BRC-20 tokenticker
get_brc20_holdersTop holders of a BRC-20 tokenticker

Collections (3)

ToolDescriptionKey Params
get_collection_infoCollection metadata, floor price, volumeslug
get_collection_inscriptionsInscriptions within a collectionslug
get_collection_listingsActive marketplace listings for a collectionslug

Sats & Transactions (3)

ToolDescriptionKey Params
get_sat_infoSat rarity, name, and inscription historysat_number
get_tx_inscriptionsInscriptions in a Bitcoin transactiontxid
get_tx_runesRune operations in a Bitcoin transactiontxid

Why This One?

  • 24 tools, full coverage. Inscriptions, runes, BRC-20, collections, rare sats, and marketplace data. No other Ordinals MCP covers all six categories.
  • Multi-API with automatic failover. Aggregates Hiro (primary, 500 RPM), Ordiscan (fallback), and Magic Eden (marketplace). If one API rate-limits, requests automatically route to the next.
  • Intelligent caching. TTLs tuned per data type -- sat rarity (24h), inscription metadata (5m), collection info (2m), balances (1m), marketplace listings (30s). Stale cache serves as last resort during outages.

Architecture

Request --> Cache (TTL + ETag)  |--> HIT: return cached  |--> MISS:      |--> Hiro (primary, 500 RPM)      |     |--> Success: cache + return      |     |--> Rate limited: Ordiscan (fallback) --> Stale cache (last resort)      |--> Magic Eden (marketplace-specific)

Environment Variables

VariableRequiredDescription
HIRO_API_KEYYes*Hiro API key (free)
ORDISCAN_API_KEYYes*Ordiscan API key (free)
MAGIC_EDEN_API_KEYNoHigher marketplace rate limits
CACHE_TTL_SECONDSNoDefault cache TTL (default: 300)

*At least one required.

Development

bash
git clone https://github.com/ExpertVagabond/ordinals-mcp.gitcd ordinals-mcpnpm installnpm run buildnpm run inspector    # MCP Inspector for testing

License

MIT -- Purple Squirrel Media

来源:README.md,提交 ec7e8cb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分