Ankr Advanced API MCP Server ⚡
About
This is a Model Context Protocol (MCP) server that provides tools for AI models to interact with Ankr's Advanced APIs, enabling blockchain data fetching and operations like checking account balances and token prices.
Details
- Author
- Asphere-xyz
- GitHub stars
- 2
- Downloads
- 329
- Categories
- Developer Tools
Jump to
- getAccountBalance – fetch token balances across multiple blockchains for any address or ENS name
- getTokenPrice – get current price for native or ERC20 tokens on supported blockchains
- Supports mainnets (Ethereum, BSC, Polygon, Arbitrum, Avalanche, Base, Fantom, Gnosis, Linea, Optimism, and more) and testnets (Sepolia, Holesky, Base Sepolia, Avalanche Fuji, etc.)
- Runs locally via SSE or as a remote server with per‑connection isolation
- Can be deployed and accessed via a URL with an API key for authentication
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Ankr Advanced API MCP Server ⚡Command (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Set the environment variable ANKR_API_KEY (get a free key from ankr.com/rpc) and run the server via npx -y @asphere/aapi-mcp-server. Configure it in Cursor under Features > MCP Servers (command type) or add it to Claude Desktop’s MCP server configuration JSON.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"ankr advanced api mcp server \u26a1": {
"aapi": {
"command": "npx",
"args": [
"-y",
"@asphere/aapi-mcp-server"
],
"env": {
"ANKR_API_KEY": "<YOUR_KEY>"
}
}
}
}
}
McpServers
{
"aapi": {
"command": "npx",
"args": [
"-y",
"@asphere/aapi-mcp-server"
],
"env": {
"ANKR_API_KEY": "<YOUR_KEY>"
}
}
}
Ankr Advanced API MCP Server ⚡
This is a Model Context Protocol (MCP) server that provides tools for interacting with Ankr's Advanced APIs. It enables AI models to fetch blockchain data and perform various operations.
Tools
- getAccountBalance: Fetch token balances across multiple blockchains for any address or ENS name
- Arguments:
- address: Ethereum address (0x...) or ENS name (\*.eth)
- blockchains (optional): Array of specific blockchains to query. If not provided, checks all supported chains
- getTokenPrice: Get current price for any token (native or ERC20) on supported blockchains
- Arguments:
- blockchain: The blockchain network (eth, bsc, polygon, etc.)
- contractAddress (optional): The token's contract address. Leave empty for native coin
Supported Blockchains
- Mainnets: Ethereum, BSC, Polygon, Arbitrum, Avalanche, Base, Fantom, Gnosis, Linea, Optimism, and more
- Testnets: Ethereum Sepolia, Ethereum Holesky, Base Sepolia, Avalanche Fuji, and others
Setup
Prerequisites
1. Ankr API Key
- Create a free account at ankr.com/rpc
Configuring Cursor 🖥️
1. Open Cursor Settings
2. Navigate to Features > MCP Servers
3. Click on the "+ Add New MCP Server" button
4. Fill out the following information:
- Name: Enter a nickname for the server (e.g., "Ankr AAPI MCP")
- Type: Select "command" as the type
- Command: env ANKR_API_KEY=<YOUR_KEY> npx -y @asphere/aapi-mcp-server

Use with Claude Desktop
{
"mcpServers": {
"aapi": {
"command": "npx",
"args": ["-y", "@asphere/aapi-mcp-server"],
"env": {
"ANKR_API_KEY": "<YOUR_KEY>"
}
}
}
}
Local development
Install dependencies
pnpm i
Run local SSE server
export ANKR_API_KEY="YOUR-ANKR-KEY"
pnpm dev:sse
Remote server
In the remote mode service creates an isolated MCP Server instance for each connection, enabling secure and isolated access over the internet. Each connection requires an apiKey in the URL path for authentication with Ankr Advanced API.
Asphere Managed AAPI MCP Remote server
The managed version is available on https://aapi-mcp-server.asphere.network/
https://aapi-mcp-server.asphere.network/{ANKR-API-KEY}/sse
Local Development
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





