mcpField
3
3xpl.com JSON API MCP server

3xpl.com JSON API MCP server

Local
github.com/exekereyDeveloper Tools6Updated 79w ago

About 3xpl.com JSON API MCP server

An MCP server for developers and LLM users querying blockchain data through the 3xpl.com JSON API. It provides access to data across 48 blockchains and also serves as an API usage example.

Key features

  1. 01Retrieve block, address, and transaction overviews
  2. 02Resolve ENS domains and detect chains
  3. 03Check block heights and fee data
  4. 04Aggregate transactions, transfers, and balances
  5. 05Provide a blockchain information prompt

Use cases

  1. 01Look up an address's balances and confirmed transactions
  2. 02Review a block and its aggregated transactions
  3. 03Compare latest block heights and average fees across chains

MCP support

Provides MCP clients with tools for querying blockchain data through 3xpl.com and a blockchain information prompt. The main API requires a 3xpl API key; without one, the rate-limited sandbox API is used.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

3xpl.com JSON API MCP server

Overview

3xpl API in form of a Model Context Protocol (MCP) server.

Allows LLMs to interact with data on 48 blockchains.

This repository can also be an example of 3xpl JSON API usage, see details in the code.

List of available tools

namedescriptionstatus
resolve_ens_domainresolves an ENS domain to a regular address✅
detect_blockchainsretrieve a list of blockchains on which a transaction/address is present✅
get_latest_blockget latest block height in specified blockchain✅
get_average_fee_24h_usdretrieves average transaction fee for last 24 hours in specified blockchain in US dollars.✅
get_mempool_events_countget the number of unconfirmed events(transfers, inputs/outputs, not transactions) at the moment in the memory pool of provided blockchain✅
get_events_count_24hretrieve number of events(transfers, inputs/outputs, not whole transactions) in last 24h for provided blockchain✅
get_block_overviewextract short summary about a block in provided blockchain✅
get_address_overviewextract short summary about an address in provided blockchain✅
get_transaction_overviewextract short summary about a transaction in provided blockchain(to be improved)✅
list_blockchains_and_modulesget a list of blockchains and their modules with module descriptions✅
aggregate_block_transactionsaggregate transactions in a block✅
aggregate_transaction_transfersaggregate individual transfers in a transactions✅
aggregate_address_balancesaggregate balances for an address with✅
aggregate_address_transactionsaggregate confirmed transactions for an address✅
aggregate_address_mempoolaggregate pending transactions for an address✅

List of available prompts

namedescription
get_blockchain_infomakes LLM dig deeper into data for providing the most fulfilled response.

Installation

# get the repository
git clone https://github.com/exekerey/3xpl-mcp.git
cd 3xpl-mcp

# create and activate virtual environment
uv venv 
source .venv/bin/activate

# install dependencies
uv pip install -e .

MCP configuration:

{
  "mcpServers": {
    "3xpl_API": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "{:path_to_cloned}/3xpl_mcp/main.py"
      ],
      "env": {
        "THREEXPL_API_KEY": ""
      }
    }
  }
}

*Note: Set your API key from 3xpl to use the main API. If the THREEXPL_API_KEY field in the config file is left blank, the MCP server will use the sandbox API, which has rate limits.

*Note 2: if MCP server doesn't start you might need to provide full path to uv in the command field.

Contribution

Feel free to open issues for bugs or suggestions.
Pull requests are also welcome – just make sure to provide description of your changes.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.