Ankr Advanced API MCP Server ⚡
@Asphere-xyz
About Ankr Advanced API MCP Server ⚡
Advanced API MCP Server
Basic information
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>"
}
}
}
}Tools
2Fetch token balances across multiple blockchains for any address or ENS name
Get current price for any token (native or ERC20) 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
FAQ from Ankr Advanced API MCP Server
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.
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.
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.
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.
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.
More Developer Tools MCP servers
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
test
prysmaticlabsGo implementation of Ethereum proof of stake
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Comments