Overview
Ankr Advanced API MCP Server is a Model Context Protocol (MCP) server that provides tools for interacting with Ankr's Advanced APIs, enabling AI models to fetch blockchain data and perform various operations.
To use the server, you need to set it up with an Ankr API Key and configure it in your development environment. You can run it locally or use the managed remote server provided by Asphere.
- Fetch token balances across multiple blockchains for any address or ENS name. - Get current prices for any token on supported blockchains. - Supports multiple mainnets and testnets for comprehensive blockchain interaction.
- Fetching account balances for cryptocurrency wallets.
- Retrieving real-time token prices for market analysis.
- Integrating blockchain data into AI applications.
Add to your AI client
Use these steps to connect Ankr Advanced API MCP Server ⚡ in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"aapi-mcp-server-asphere-xyz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aapi-mcp-server-asphere-xyz"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"aapi-mcp-server-asphere-xyz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aapi-mcp-server-asphere-xyz"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"aapi-mcp-server-asphere-xyz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aapi-mcp-server-asphere-xyz"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"aapi-mcp-server-asphere-xyz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aapi-mcp-server-asphere-xyz"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"aapi-mcp-server-asphere-xyz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aapi-mcp-server-asphere-xyz"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"aapi-mcp-server-asphere-xyz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aapi-mcp-server-asphere-xyz"
]
}
}
}FAQ
**What blockchains are supported?**
The server supports multiple mainnets like Ethereum, BSC, Polygon, and testnets like Ethereum Sepolia.
**Is there a cost to use the Ankr API?**
You can create a free account at ankr.com/rpc to obtain an API key.
**Can I run the server locally?**
Yes, you can run the server locally by installing dependencies and using the provided commands.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1816,"uuid":"be3fa011-156b-4f8f-9972-31beabc1991c","name":"aapi-mcp-server","title":"Ankr Advanced API MCP Server ⚡","description":"Advanced API MCP Server","avatar_url":"https://avatars.githubusercontent.com/u/141076719?v=4","created_at":"2025-03-05T05:30:59.784+00:00","updated_at":"2025-03-12T10:20:54.088+00:00","status":"created","author_name":"Asphere-xyz","author_avatar_url":"https://avatars.githubusercontent.com/u/141076719?v=4","tags":"mcp,blockchain,aapi,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/Asphere-xyz/aapi-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/Asphere-xyz/aapi-mcp-server/raw/main/static/img/cursor-mcp.png","type":null,"metadata":"{\"star\":\"1\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-03 20:17:24\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]