Basic information
About Ankr Advanced API MCP Server ⚡
Advanced API MCP Server
Ankr Advanced API MCP Server ⚡ is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by Asphere-xyz. It exposes 2 tools, including getAccountBalance, getTokenPrice. Supported transport: stdio. Runtime: node. License: MIT. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: aapi, blockchain, mcp, mcp-server.
Setup
{
"mcpServers": {
"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>"
}
}
}
}
{
"servers": {
"aapi": {
"command": "npx",
"args": [
"-y",
"@asphere/aapi-mcp-server"
],
"env": {
"ANKR_API_KEY": "<YOUR_KEY>"
}
}
}
}
Ankr Advanced API MCP Server ⚡ config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"aapi": {
"command": "npx",
"args": [
"-y",
"@asphere/aapi-mcp-server"
],
"env": {
"ANKR_API_KEY": "<YOUR_KEY>"
}
}
}
}
Ankr Advanced API MCP Server ⚡ tools
- 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
Overview
What is Ankr Advanced API MCP Server ⚡?
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.
How to use Ankr Advanced API MCP Server ⚡?
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.
Key features of Ankr Advanced API MCP Server ⚡
getAccountBalance– fetch token balances across multiple blockchains for any address or ENS namegetTokenPrice– 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
Use cases of Ankr Advanced API MCP Server ⚡
- AI assistant queries token balances for a given wallet address across all supported chains
- AI agent fetches real‑time token prices for portfolio analysis or trading decisions
- Developers integrate blockchain data retrieval into conversational AI or automation tools
- Testnet balance checks for smart contract development and debugging
Frequently asked questions
1 What do I need to get started?
You need an Ankr API key. Create a free account at ankr.com/rpc and generate a key.
2 How do I configure the server in Cursor?
Open Cursor Settings → Features → MCP Servers, click “+ Add New MCP Server”, set type to “command”, and enter: env ANKR_API_KEY=<YOUR_KEY> npx -y @asphere/aapi-mcp-server.
3 What blockchains are supported?
Mainnets include Ethereum, BSC, Polygon, Arbitrum, Avalanche, Base, Fantom, Gnosis, Linea, Optimism, and more. Testnets include Ethereum Sepolia, Ethereum Holesky, Base Sepolia, Avalanche Fuji, and others.
4 Can I run the server remotely?
Yes. In remote mode the server creates an isolated instance per connection and uses an API key in the URL path for authentication. A managed version is available at https://aapi-mcp-server.asphere.network/{ANKR-API-KEY}/sse.
5 Where does my data stay?
The server connects to Ankr’s Advanced APIs over the internet; no blockchain data is stored locally. In remote mode, each connection is isolated.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In