An MCP server that gives AI agents fast access to verified EVM chain information, including RPC URLs, chain IDs, explorers, and native tokens — sourced from Chainlist.org. - Efficient Data Fetching: Caches Chainlist API data to minimize requests. - Flexible Search: Case-insensitive keyword matching using regex for getChainsByKeyword. - Structured Output: Markdown responses with tabulated rpc and e
Add this skill
npx mdskills install kukapay/chainlist-mcpWell-documented MCP server with clear tool descriptions and excellent examples for blockchain queries
1# Chainlist MCP Server23An MCP server that gives AI agents fast access to verified EVM chain information, including RPC URLs, chain IDs, explorers, and native tokens — sourced from Chainlist.org.456789## Features1011- **Efficient Data Fetching**: Caches Chainlist API data to minimize requests.12- **Flexible Search**: Case-insensitive keyword matching using regex for `getChainsByKeyword`.13- **Structured Output**: Markdown responses with tabulated `rpc` and `explorers` for readability.1415## Installation1617### Prerequisites1819- **Python**: Version 3.10 or higher.20- **uv**: Recommended for managing Python projects and dependencies (install via `pip install uv` or follow [uv documentation](https://docs.astral.sh/uv/)).2122### Steps23241. **Clone the Repository**:25 ```bash26 git clone https://github.com/kukapay/chainlist-mcp.git27 cd chainlist-mcp28 ```29302. **Install Dependencies**:31 ```bash32 uv sync33 ```34353. **Installing to Claude Desktop**:3637 Install the server as a Claude Desktop application:38 ```bash39 uv run mcp install cli.py --name "Chainlist MCP"40 ```4142 Configuration file as a reference:4344 ```json45 {46 "mcpServers": {47 "Chainlist MCP": {48 "command": "uv",49 "args": [ "--directory", "/path/to/chainlist-mcp", "run", "main.py" ]50 }51 }52 }53 ```54 Replace `/path/to/chainlist-mcp` with your actual installation path.5556## Usage5758The server exposes two tools via the MCP protocol, accessible through MCP-compatible clients or the MCP Inspector.5960### Tools6162#### `getChainById`6364- **Description**: Retrieves details of a blockchain by its chain ID.65- **Parameters**:66 - `chain_id` (integer): The unique identifier of the blockchain (e.g., 1 for Ethereum Mainnet).67- **Returns**: A Markdown string with chain details or an error message.6869**Example Prompt** (in an MCP client):70```71Get the details for the blockchain with chain ID 1.72```7374**Example Response**:75```markdown76**Chain Details**77- **Name**: Ethereum Mainnet78- **Chain ID**: 179- **Native Currency**: Ether (ETH, 18 decimals)80- **TVL**: 134376951329.8563181**RPC Endpoints**:82| URL | Tracking |83|----------------------------------------------|----------|84| https://eth.llamarpc.com | none |85| https://go.getblock.io/... | none |86...87**Explorers**:88| Name | URL | Standard |89|------------|----------------------------|----------|90| etherscan | https://etherscan.io | EIP3091 |91...92```9394#### `getChainsByKeyword`9596- **Description**: Searches for blockchains by keyword (case-insensitive partial match).97- **Parameters**:98 - `keyword` (string): The keyword or partial name to search (e.g., 'eth').99 - `limit` (integer, optional): Maximum number of results (default: 5).100- **Returns**: A Markdown string listing up to `limit` matching chains or an error message.101102**Example Prompt** (in an MCP client):103```104Find blockchains with 'eth' in their name, limit to 2 results.105```106107**Example Response**:108```markdown109**Matching Chains**110111### Chain 1112**Chain Details**113- **Name**: Ethereum Mainnet114- **Chain ID**: 1115- **Native Currency**: Ether (ETH, 18 decimals)116- **TVL**: 134376951329.85631117**RPC Endpoints**:118| URL | Tracking |119|----------------------------------------------|----------|120| https://eth.llamarpc.com | none |121...122**Explorers**:123| Name | URL | Standard |124|------------|----------------------------|----------|125| etherscan | https://etherscan.io | EIP3091 |126...127128### Chain 2129**Chain Details**130- **Name**: Ethereum Goerli131- **Chain ID**: 5132- **Native Currency**: Ether (ETH, 18 decimals)133- **TVL**: N/A134**RPC Endpoints**:135| URL | Tracking |136|----------------------------------------------|----------|137| https://goerli.infura.io/... | yes |138...139**Explorers**:140| Name | URL | Standard |141|------------|----------------------------|----------|142| etherscan | https://goerli.etherscan.io | EIP3091 |143...144```145146## License147148This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.149150
Full transparency — inspect the skill content before installing.