ordinals-mcp
Provides tools for querying Bitcoin Ordinals data, including inscriptions, runes, BRC-20 tokens, collections, rare sats, and marketplace information, by aggregating multiple APIs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ordinals-mcpWhat's the floor price of the NodeMonkes collection?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ordinals-mcp
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
npx ordinals-mcp@latestOr install globally:
npm install -g ordinals-mcp
ordinals-mcpConfigure
Add to your MCP config (claude_desktop_config.json or ~/.mcp.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:
Provider | Rate Limit | Get Key |
Hiro (primary) | 500 RPM | |
Ordiscan (fallback) | -- | |
Magic Eden (optional) | -- |
Tools (24)
Inscriptions (5)
Tool | Description | Key Params |
| Full inscription details by ID or number |
|
| Search inscriptions with filters (type, mime, date range) |
|
| Raw content of an inscription |
|
| Transfer history for an inscription |
|
| Traits and attributes of an inscription |
|
Address Queries (4)
Tool | Description | Key Params |
| All inscriptions held by a Bitcoin address |
|
| BRC-20 token balances for an address |
|
| Rune balances for an address |
|
| Rare satoshis held by an address |
|
Runes (6)
Tool | Description | Key Params |
| Detailed rune metadata (etching, supply, holders) |
|
| List all runes with pagination and sorting |
|
| Top holders of a specific rune |
|
| Recent activity (mints, transfers, burns) for a rune |
|
| Market data -- floor price, volume, listings |
|
| Unlock/availability date for time-locked runes |
|
BRC-20 (3)
Tool | Description | Key Params |
| Token details (supply, limit, holders, deploy info) |
|
| Recent activity for a BRC-20 token |
|
| Top holders of a BRC-20 token |
|
Collections (3)
Tool | Description | Key Params |
| Collection metadata, floor price, volume |
|
| Inscriptions within a collection |
|
| Active marketplace listings for a collection |
|
Sats & Transactions (3)
Tool | Description | Key Params |
| Sat rarity, name, and inscription history |
|
| Inscriptions in a Bitcoin transaction |
|
| Rune operations in a Bitcoin transaction |
|
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
Variable | Required | Description |
| Yes* | Hiro API key (free) |
| Yes* | Ordiscan API key (free) |
| No | Higher marketplace rate limits |
| No | Default cache TTL (default: 300) |
*At least one required.
Development
git clone https://github.com/ExpertVagabond/ordinals-mcp.git
cd ordinals-mcp
npm install
npm run build
npm run inspector # MCP Inspector for testingLicense
MIT -- Purple Squirrel Media
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ExpertVagabond/ordinals-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server