Ankr API MCP Server

Ankr API MCP Server

ankr-blockchain-data•byakki91

An MCP server that exposes Ankr blockchain data tools to LLMs for querying on-chain information across multiple chains.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides 21 tools across Ankr Advanced API categories for blockchain data.
  • •Offers token operations including balances, prices, holders, transfers and price history.
  • •Offers NFT operations including ownership, metadata, holders and transfers.
  • •Offers query operations for blockchain stats, blocks, logs, transactions and interactions.

BEST FOR

  • •Answering questions about token balances and token prices on a blockchain.
  • •Looking up NFT ownership and metadata for a collection or wallet.
  • •Inspecting transactions, blocks and historical wallet balances.

ABOUT ANKR-BLOCKCHAIN-DATA

Ankr API MCP Server is cataloged as an MCP server attributed to akki91. An MCP server that exposes Ankr blockchain data tools to LLMs for querying on-chain information across multiple chains. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Ankr API MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do I need an Ankr API token to use this server?

Yes, users set an ANKR API token obtained from the Ankr API docs portal via the ANKR_API_TOKEN environment variable.

Which blockchains does the server support?

The server is described as allowing LLMs to query blockchain data across more than 20 chains.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5e320ac0c905 · 采集于 2026-11-13 08:42:10 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Verified on MseeP

MCP Badge

Ankr API MCP Server

MCP (Model Context Protocol) server for blockchain data through the Ankr API.

Overview

The Ankr MCP Server fetches on-chain data via the Ankr API. It implements the MCP to allow LLMs to query blockchain data across 20+ chains.

Features

The server provides 21 tools across all Ankr Advanced API categories:

Token Operations

  • Get Token Balances (get_token_balances): Gets all token balances for a wallet on a specific blockchain
  • Get Currencies (get_currencies): Lists all available currencies on a blockchain
  • Get Token Price (get_token_price): Gets current USD price for any token
  • Get Token Holders (get_token_holders): Lists holder addresses for a token
  • Get Token Holders Count (get_token_holders_count): Gets historical holder count data
  • Get Token Transfers (get_token_transfers): Gets token transfer history for addresses
  • Get Token Price History (get_token_price_history): Gets historical price data over time
  • Explain Token Price (explain_token_price): Breaks down how a token price is derived

NFT Operations

  • Get NFTs by Owner (get_nfts_by_owner): Gets all NFTs owned by a wallet
  • Get NFT Metadata (get_nft_metadata): Gets metadata (name, image, traits) for a specific NFT
  • Get NFT Holders (get_nft_holders): Gets all holders of an NFT collection
  • Get NFT Transfers (get_nft_transfers): Gets NFT transfer history

Query Operations

  • Get Blockchain Stats (get_blockchain_stats): Gets chain statistics (transactions, block time, etc.)
  • Get Blocks (get_blocks): Gets full block data for a block range
  • Get Logs (get_logs): Gets historical event log data
  • Get Transactions by Hash (get_transactions_by_hash): Looks up a transaction by hash
  • Get Transactions by Address (get_transactions_by_address): Gets all transactions for an address
  • Get Interactions (get_interactions): Lists all chains a wallet has interacted with
  • Get Account Balance Historical (get_account_balance_historical): Gets balance at a past block height
  • Get Internal Transactions by Block (get_internal_transactions_by_block): Gets internal txns in a block
  • Get Internal Transactions by Parent Hash (get_internal_transactions_by_parent_hash): Gets internal txns from a parent tx

Installation

npm install @akki91/ankr-mcp

Usage

Environment Setup

Set your ANKR API token by logging into ANKR api docs portal.

export ANKR_API_TOKEN=your_api_token_here

Running the Server

The server can be run directly from the command line:

npx @akki91/ankr-mcp

Usage with LLM Tools

This server implements the Model Context Protocol (MCP), which allows it to be used as a tool provider for compatible AI models.

Integration with AI Models

To integrate this server with AI applications that support MCP, add the following to your app's server configuration:

{
  "mcpServers": {
    "ankr-mcp": {
      "command": "npx",
      "args": [
        "@akki91/ankr-mcp"
      ],
      "env": {
        "ANKR_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Integrating Ankr MCP Tools in Claude Desktop

Follow the instructions below to update your settings and ensure that your MCP server is available within Claude Desktop.

Step 1: Access Settings in Claude Desktop

  1. Launch Claude Desktop.
  2. From the main menu, navigate to Settings.

Step 2: Update Developer Settings

  1. Open the Developer Settings.
  2. Edit the configuration file that contains your MCP server definitions.
  3. If MCP servers are already listed, append your Ankr MCP configuration to the existing list. Otherwise, copy and paste the entire above configuration for the Ankr MCP server.

Step 3: Restart Claude Desktop

  1. Close the Developer Settings menu.
  2. Restart Claude Desktop to apply the changes.

Step 4: Verify Integration

  1. Once Claude Desktop has restarted, click on the Tools Icon located just below the chat prompt.
  2. Verify that the list of tools provided by the Ankr MCP server is visible and accessible.

By following these steps, your Ankr MCP configuration should now be integrated into Claude Desktop, allowing you to access its tools directly through the interface.

Sample Chat Prompts

Here are example prompts you can use with this MCP server in Claude or any compatible AI:

Token Queries

What are the token balances for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum?
What's the current price of USDC on Ethereum?
Show me the price history of ETH over the last 30 days.
How many holders does the LINK token have on Ethereum?
Show me recent token transfers for vitalik.eth on Polygon.

NFT Queries

What NFTs does 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 own?
Get me the metadata for Bored Ape #1234.
Who holds NFTs from the CryptoPunks collection?
Show me recent NFT transfers for this wallet on Ethereum.

Blockchain & Transaction Queries

What are the current stats for Ethereum and Polygon?
Which blockchains has wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 interacted with?
Look up transaction 0x1234abcd... and decode the logs.
Show me the latest blocks on Arbitrum with transactions included.
What were the internal transactions in Ethereum block 19000000?
What was my wallet balance at block 17000000?

Development

Building from Source

# Clone the repository
git clone https://github.com/akki91/ankr-mcp.git
cd ankr-mcp

# Install dependencies
npm install

# Build the project
npm run build

Running Tests

npm test

Debug Mode

Debugging for this project is supported using MCP Inspector

npm run debug

Sources

This project is inspired from list of servers created here

Verification

MseeP.ai Security Assessment Badge

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Ankr API MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ankr-blockchain-data)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics