Model-Context-Protocol (MCP) server that wraps Ankr’s Advanced API to give LLMs multi-chain blockchain data (NFT, token, query endpoints).
https://github.com/tumf/web3-mcpStop wrestling with blockchain RPC calls and complex Web3 integrations just to get your LLM agents working with on-chain data. Web3 MCP gives your AI models direct access to comprehensive blockchain information across multiple networks through a clean MCP server interface.
Building LLM applications that understand Web3 data means dealing with:
Web3 MCP eliminates this friction by wrapping Ankr's Advanced API into a standardized MCP server that your LLMs can query directly.
Complete Multi-Chain Coverage: Query NFTs, tokens, transactions, and blockchain stats across Ethereum, BSC, Polygon, Avalanche, and more through a single interface.
Three Comprehensive API Categories:
Zero Infrastructure Overhead: No need to manage your own blockchain nodes or deal with RPC complexity.
AI Trading Assistants: Your LLM can analyze token holder distributions, check whale movements, and assess NFT collection health before making recommendations.
Portfolio Analytics: Let your AI agent pull complete wallet balances across chains, track transaction history, and calculate portfolio performance without you building complex data pipelines.
Smart Contract Monitoring: Have your LLM monitor contract interactions, track large transfers, and alert on unusual blockchain activity patterns.
NFT Analysis Tools: Build AI that can evaluate collection rarity, track floor price movements, and analyze holder behavior across multiple marketplaces.
Get running in under 2 minutes:
# Install via uvx (recommended)
uvx web3-mcp
# Or traditional pip install
pip install web3-mcp
Configure your MCP client:
{
"mcpServers": {
"web3": {
"command": "uvx",
"args": ["web3-mcp"],
"env": {
"ANKR_ENDPOINT": "https://rpc.ankr.com/..."
}
}
}
}
That's it. Your LLM now has blockchain superpowers.
Web3 MCP follows MCP standards perfectly, which means it works seamlessly with Claude Desktop, custom MCP clients, and any other MCP-compatible system. No custom protocols or proprietary interfaces to learn.
The server handles all the Ankr API complexity - authentication, rate limiting, response formatting - so your LLM gets clean, consistent data every time.
As AI agents become more sophisticated, they need access to real-world financial data. Web3 MCP bridges that gap without forcing you to become a blockchain infrastructure expert.
Whether you're building trading bots, portfolio managers, or Web3 analytics tools, this MCP server gives your AI the blockchain context it needs to make informed decisions.
Ready to connect your LLMs to the blockchain? Clone the repo and start querying multi-chain data in minutes.