{"id":27587479,"url":"https://github.com/tumf/web3-mcp","last_synced_at":"2026-08-28T04:53:58.530Z","repository":{"id":288572866,"uuid":"967184716","full_name":"tumf/web3-mcp","owner":"tumf","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-18T15:26:54.000Z","size":319,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-08-23T09:24:31.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tumf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-16T04:11:09.000Z","updated_at":"2026-08-14T16:37:43.000Z","dependencies_parsed_at":"2025-04-18T23:04:07.149Z","dependency_job_id":"93c6f366-d20d-42e8-a186-1d09068c87b2","html_url":"https://github.com/tumf/web3-mcp","commit_stats":null,"previous_names":["tumf/web3-mcp"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tumf/web3-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumf%2Fweb3-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumf%2Fweb3-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumf%2Fweb3-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumf%2Fweb3-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tumf","download_url":"https://codeload.github.com/tumf/web3-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumf%2Fweb3-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36949461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-28T02:00:06.244Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-22T07:01:49.014Z","updated_at":"2026-08-28T04:53:57.814Z","avatar_url":"https://github.com/tumf.png","language":"Python","funding_links":[],"categories":["Blockchain \u0026 Crypto MCP Servers","サーバー実装","📦 Other","🛠️ Other Tools And Integrations (97 servers)","Server Implementations"],"sub_categories":["🛠️ \u003ca name=\"other-tools-and-integrations\"\u003e\u003c/a\u003eその他のツールと統合","🛠️ \u003ca name=\"other-tools-and-integrations\"\u003e\u003c/a\u003eOther Tools and Integrations"],"readme":"# Web3 MCP\n\n[![Tests](https://github.com/tumf/web3-mcp/actions/workflows/test.yml/badge.svg)](https://github.com/tumf/web3-mcp/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/tumf/web3-mcp/branch/main/graph/badge.svg)](https://codecov.io/gh/tumf/web3-mcp)\n[![PyPI version](https://badge.fury.io/py/web3-mcp.svg)](https://badge.fury.io/py/web3-mcp)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nAn MCP server implementation wrapping Ankr Advanced API.\n\n## Overview\n\nFastMCP is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that provides access to Ankr's Advanced API for blockchain data. It allows LLMs to interact with blockchain data across multiple chains including Ethereum, BSC, Polygon, Avalanche, and more.\n\n## MCP Client Setting\n\n```json\n{\n  \"mcpServers\": {\n    \"web3\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"web3-mcp\"\n      ],\n      \"env\": {\n        \"ANKR_ENDPOINT\": \"https://rpc.ankr.com/...\",\n      }\n    }\n  }\n}\n```\n\n## Features\n\n- Complete wrapper for all Ankr Advanced API endpoints\n- NFT API: Get NFT metadata, holders, transfers, and ownership information\n- Query API: Access blockchain statistics, blocks, logs, and transaction data\n- Token API: Get token balances, prices, holders, and transfer history\n- Support for multiple blockchain networks\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/tumf/web3-mcp.git\ncd web3-mcp\n\n# Install with uv\nuv pip install -e .\n```\n\n## Configuration\n\nSet the following environment variables:\n\n```bash\n# Required\nexport ANKR_ENDPOINT=\"your_ankr_rpc_endpoint\"\n\n# Optional but recommended for authenticated requests\nexport ANKR_PRIVATE_KEY=\"your_private_key\"\n```\n\n## Usage\n\n### Running the server\n\n```python\nfrom web3_mcp.server import init_server\n\n# Initialize MCP server\nmcp = init_server(\n    name=\"Ankr MCP\",\n    endpoint=\"your_ankr_endpoint\",  # Optional, defaults to ANKR_ENDPOINT env var\n    private_key=\"your_private_key\"  # Optional, defaults to ANKR_PRIVATE_KEY env var\n)\n\n# Run server\nmcp.run()\n```\n\n### Using with FastMCP CLI\n\n```bash\n# Set environment variables first\nexport ANKR_ENDPOINT=\"your_ankr_endpoint\"\nexport ANKR_PRIVATE_KEY=\"your_private_key\"\n\n# Run the server\npython -m web3_mcp\n```\n\n## API Categories\n\n### NFT API\n\n- `get_nfts_by_owner`: Get NFTs owned by a wallet address\n- `get_nft_metadata`: Get metadata for a specific NFT\n- `get_nft_holders`: Get holders of a specific NFT collection\n- `get_nft_transfers`: Get transfer history for NFTs\n\n### Query API\n\n- `get_blockchain_stats`: Get blockchain statistics\n- `get_blocks`: Get blocks information\n- `get_logs`: Get blockchain logs\n- `get_transactions_by_hash`: Get transactions by hash\n- `get_transactions_by_address`: Get transactions by address\n- `get_interactions`: Get wallet interactions with contracts\n\n### Token API\n\n- `get_account_balance`: Get token balances for a wallet\n- `get_currencies`: Get available currencies\n- `get_token_price`: Get token price information\n- `get_token_holders`: Get token holders\n- `get_token_holders_count`: Get token holders count\n- `get_token_transfers`: Get token transfer history\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumf%2Fweb3-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftumf%2Fweb3-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumf%2Fweb3-mcp/lists"}