MCP.so
Sign In

Web3 MCP Server

@tumf

Basic information

Category

Other

License

MIT

Transports

stdio

Author

tumf

About Web3 MCP Server

No overview available yet

Web3 MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "web3-mcp": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-e",
        "."
      ]
    }
  }
}

Web3 MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Web3 MCP?

Web3 MCP is a Model Context Protocol server implementation that wraps Ankr’s Advanced API, enabling LLMs to interact with blockchain data. It supports multiple networks including Ethereum, BSC, Polygon, and Avalanche, and is intended for developers building AI-powered blockchain applications.

How to use Web3 MCP?

Install with uv pip install -e . from the cloned repository, then set the ANKR_ENDPOINT environment variable to your Ankr RPC endpoint. Optionally set ANKR_PRIVATE_KEY for authenticated requests. Run the server via python -m web3_mcp or use the provided init_server function in Python.

Key features of Web3 MCP

  • Complete wrapper for all Ankr Advanced API endpoints
  • NFT API: metadata, holders, transfers, and ownership
  • Query API: blockchain stats, blocks, logs, and transactions
  • Token API: balances, prices, holders, and transfer history
  • Support for multiple blockchain networks

Use cases of Web3 MCP

  • Retrieve NFT metadata and ownership for a wallet address
  • Query token balances and prices across supported chains
  • Fetch transaction history and logs for addresses or contracts
  • Access blockchain statistics and block information programmatically
  • Build LLM-driven agents that interact with on-chain data

Frequently asked questions

1

What does Web3 MCP do?

It wraps Ankr’s Advanced API to give an MCP server access to blockchain data for NFTs, tokens, queries, and logs across multiple chains.

2

How do I install Web3 MCP?

Clone the repository, then run `uv pip install -e .` in the project directory.

3

What environment variables are required?

`ANKR_ENDPOINT` must be set to your Ankr RPC endpoint. `ANKR_PRIVATE_KEY` is recommended but optional for authenticated requests.

4

Which blockchains are supported?

The server supports Ethereum, BSC, Polygon, Avalanche, and other chains accessible via the Ankr Advanced API.

5

How do I run the server?

Set the environment variables and execute `python -m web3_mcp` from the command line, or call `init_server()` programmatically and then `mcp.run()`.

Comments

More Other MCP servers