# ordinals [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ExpertVagabond/ordinals-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 250  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ordinals

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

## Tools
Capabilities this server exposes over MCP:

- **get_inscription** — Get detailed metadata for a Bitcoin Ordinals inscription by its ID or number. Returns owner address, content type, sat rarity, genesis info, and more.
- **search_inscriptions** — Search and list Bitcoin Ordinals inscriptions with filters. Filter by address, MIME type, sat rarity, block range, inscription number range, recursive/cursed status.
- **get_inscription_content** — Get the raw content of a Bitcoin Ordinals inscription. Returns text content directly or base64-encoded binary data with content type.
- **get_inscription_transfers** — Get the transfer history for a Bitcoin Ordinals inscription. Shows each transfer with block, address, transaction, and timestamp.
- **get_address_inscriptions** — Get all Ordinals inscriptions owned by a Bitcoin address. Returns inscription IDs, numbers, content types, and sat rarity.
- **get_brc20_balances** — Get BRC-20 token balances for a Bitcoin address. Returns available, transferrable, and overall balance for each token.
- **get_rune_balances** — Get Rune token balances for a Bitcoin address. Returns rune name, symbol, and balance for each rune held.
- **get_address_rare_sats** — Get rare satoshis held by a Bitcoin address. Returns sat ordinal number, rarity level (uncommon/rare/epic/legendary/mythic), and UTXO location.
- **get_sat_info** — Get information about a specific satoshi by its ordinal number. Returns rarity level, epoch, cycle, period, name, and any inscription on it.
- **get_brc20_token** — Get details for a BRC-20 token by ticker. Returns max supply, minted supply, mint limit, decimals, deploy inscription, and transaction count.
- **get_rune_info** — Get details for a Bitcoin Rune by name. Returns symbol, divisibility, supply, premine, mint terms, and etching transaction.
- **get_collection_info** — Get details for an Ordinals collection. Returns name, description, inscription count, floor price, volume, and owner count.
- **get_collection_inscriptions** — List inscriptions in an Ordinals collection. Returns inscription IDs, numbers, content types, and owners.
- **get_collection_listings** — Get active marketplace listings for an Ordinals collection on Magic Eden. Returns listed inscriptions with prices in BTC.
- **get_inscription_traits** — Get trait information for a collection inscription. Returns trait types and values (e.g., background, body, eyes).
- **get_rune_market_info** — Get market data for a Bitcoin Rune. Returns price in USD, market cap, and 24h volume.
- **list_runes** — List Bitcoin Runes with pagination. Returns rune name, symbol, supply, divisibility, mint terms, and etching info.
- **get_rune_holders** — Get top holders of a Bitcoin Rune. Returns addresses and balances sorted by amount held.
- **get_rune_activity** — Get recent activity (mints, transfers, burns) for a Bitcoin Rune. Returns operation type, addresses, amounts, and timestamps.
- **get_rune_unlock_date** — Check when a rune name becomes available for etching. Returns unlock block height and estimated date.
- **get_brc20_activity** — Get BRC-20 token activity (deploy, mint, transfer events). Filter by ticker, address, or operation type.
- **get_brc20_holders** — Get top holders of a BRC-20 token. Returns addresses and balances sorted by amount held.
- **get_tx_inscriptions** — Get all Ordinals inscriptions contained in a Bitcoin transaction. Returns inscription IDs, numbers, and content types.
- **get_tx_runes** — Get all Rune transfers in a Bitcoin transaction. Returns rune names, amounts, addresses, and operation types.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ordinals": {
    "command": "npx",
    "args": ["-y","ordinals-mcp"],
    "env": {
      "HIRO_API_KEY": "",
      "ORDISCAN_API_KEY": "",
      "MAGIC_EDEN_API_KEY": "",
      "CACHE_TTL_SECONDS": ""
    }
  }
}
```

**Requires environment variables:** `HIRO_API_KEY`, `ORDISCAN_API_KEY`, `MAGIC_EDEN_API_KEY`, `CACHE_TTL_SECONDS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the ordinals MCP server does

The ordinals MCP server exposes Bitcoin Ordinals and related asset data through the Model Context Protocol. Its 24 tools cover six main areas: inscriptions, address holdings, Runes, BRC-20 tokens, collections, and satoshis or Bitcoin transactions.

Agents can retrieve an inscription by ID or number, search with type, MIME, and date filters, read its raw content, inspect transfers, and examine traits. Address-oriented tools return inscriptions, BRC-20 balances, Rune balances, and rare satoshis associated with a Bitcoin address.

Rune tools provide metadata such as etching, supply, and holders, along with paginated lists, holder rankings, recent activity, market information, and unlock dates. BRC-20 tools cover token metadata, activity, and top holders. Collection tools return metadata, inscriptions, and active listings. Transaction and satoshi tools identify inscription or Rune operations in a transaction and provide sat rarity, names, and inscription history.

## How it works

The ordinals MCP server uses external data providers rather than a local Bitcoin index. Hiro is the primary provider, Ordiscan is the fallback, and Magic Eden is used for marketplace-related data. Requests pass through a cache with data-specific expiration periods, and the server can use stale cached results when an upstream service is unavailable.

The documented cache periods vary by data type. Rare sat information can remain cached for 24 hours, inscription metadata for five minutes, collection information for two minutes, balances for one minute, and marketplace listings for 30 seconds. A configurable default cache period is also available.

## Setup and configuration

Install the package directly with npx:

```bash
npx ordinals-mcp@latest
```

Alternatively, install it globally with npm and run the `ordinals-mcp` command. Add the process to an MCP configuration such as Claude Desktop's configuration file or `~/.mcp.json`.

At least one provider key is required. Set `HIRO_API_KEY`, `ORDISCAN_API_KEY`, or both. The README identifies Hiro as offering a 500 requests-per-minute limit and lists both Hiro and Ordiscan keys as free. `MAGIC_EDEN_API_KEY` is optional and can provide higher marketplace rate limits. `CACHE_TTL_SECONDS` changes the default cache duration, which is 300 seconds when not set.

## Tools and capabilities

The available tool groups support these workflows:

- Inspect inscription metadata, content, traits, and transfer history.
- Search inscriptions using supported filters.
- Review Ordinals, Rune, BRC-20, and rare-sat holdings for an address.
- Examine Rune supply, holders, activity, market data, and unlock timing.
- Inspect BRC-20 deployment details, activity, and holder rankings.
- Review collection metadata, contained inscriptions, and marketplace listings.
- Check sat rarity and inscription history.
- Find inscriptions or Rune operations within a Bitcoin transaction.

## Limitations and notes

The server depends on the availability and coverage of its configured API providers. Marketplace information is associated with Magic Eden in the documented architecture, while other requests use Hiro and Ordiscan. At least one of the two primary provider keys must be configured before use.

The ordinals MCP server is distributed under the MIT license. Local development requires Node.js 18 or later, followed by cloning the repository, installing dependencies, building the project, and optionally running the MCP Inspector script for testing.

_Full upstream README: https://allmcps.com/mcp/ordinals/readme_

