This project provides a Python-based MCP (Model Context Protocol) server for analyzing and profiling Ethereum wallet transactions. It enables natural language queries about wallet activity by leveraging Google BigQuery, designed to help users understand wallet behaviors and transaction patterns.
- Analyze Ethereum wallet transactions using natural language queries
- Retrieve transaction history, token distributions, and behavioral patterns
- Integrates with Claude Desktop/Code for interactive analysis
- Uses Google BigQuery as the blockchain data backend
mcp_server.py: Main entry point for the MCP serverbigquery_client.py: Handles BigQuery queries and data accesscrypto_client.py,crypto_queries.py,query_bigquery.py: Utility modules for blockchain data processing.env,.env.example: Environment variable configurationrequirements.txt,uv.lock,pyproject.toml: Dependency management filesLICENSE,README.md: Project documentation and license
- Python 3.11 or higher (see
.python-version) - uv for dependency management
- Google Cloud account with BigQuery access
- Claude Desktop or Claude Code
- The following Python dependencies (see
requirements.txt):- google-cloud-bigquery
- python-dotenv
- Clone the repository and navigate to the project directory
- Install dependencies using
uv(reads from.python-versionanduv.lock) - Authenticate with Google Cloud using Application Default Credentials for BigQuery access
- Configure environment variables in a
.env.localfile (see.env.examplefor required keys) - Start the MCP server as configured in Claude Desktop/Code
- Add the MCP server as a custom server in Claude Desktop/Code configuration
- Start the server using the provided Python environment and entrypoint
- Restart Claude Desktop/Code to detect the MCP server
- Submit Ethereum wallet addresses and natural language questions via Claude Desktop/Code
- The server processes queries, retrieves data from BigQuery, and returns a structured answer
- Ensure Google Cloud authentication is successful and the correct project is set
- Check that the MCP server is running and reachable from Claude Desktop/Code
- Adjust the MCP server port in your environment variables if port conflicts occur
- Validate wallet addresses before submitting queries
This project is licensed under the MIT License. See the LICENSE file for details.
- Only the Python-based MCP server and supporting modules are maintained in this repository
- No frontend or FastAPI components are implemented
- No unused or legacy components are required for operation
- For Google BigQuery setup, refer to official documentation