Token导航 LogoToken导航TokenDH.com
Chainlist MCP logo
搜索检索stdio官方级别未说明来源级核验

Chainlist MCP

MCP Server

An MCP server that gives AI agents fast access to verified EVM chain information, including RPC URLs, chain IDs, explorers, and native tokens.

工具数

2

提示词数

0

GitHub Stars

2

资源数

0
AI代理区块链PythonClaude数据分析Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

kukapay

提供方

kukapay

最后核验

2026/5/18 03:27

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uv run mcp install cli.py --name "Chainlist MCP"

详细介绍

链表MCP服务器

一个MCP服务器,使AI代理能够快速访问经过验证的EVM链信息,包括RPC URL、链ID、探索者和本地令牌——来源于Chainlist.org。

Status

特性

  • 高效的数据获取:缓存Chainlist API数据以最大限度地减少请求。
  • 灵活搜索:使用正则表达式进行不区分大小写的关键字匹配 getChainsByKeyword.
  • 结构化输出:带表格的Markdown响应 rpcexplorers 为了可读性。

安装

先决条件

  • python:版本3.10或更高版本。
  • 紫外线:建议用于管理Python项目和依赖关系(通过安装 pip install uv 或跟随 紫外线文件).

步骤

  1. 克隆存储库:
   git clone https://github.com/kukapay/chainlist-mcp.git
   cd chainlist-mcp
  1. 再进行:
   uv sync
  1. 安装到克劳德桌面:

将服务器安装为Claude Desktop应用程序:

   uv run mcp install cli.py --name "Chainlist MCP"

配置文件作为参考:

   {
      "mcpServers": {
          "Chainlist MCP": {
              "command": "uv",
              "args": [ "--directory", "/path/to/chainlist-mcp", "run", "main.py" ] 
          }
      }
   }

替换 /path/to/chainlist-mcp 使用您的实际安装路径。

用法

服务器通过MCP协议公开两个工具,可通过MCP兼容客户端或MCP检查器访问。

工具

getChainById

  • 描述:通过链ID检索区块链的详细信息。
  • 参数:

- chain_id (整数):区块链的唯一标识符(例如,以太坊主网为1)。

  • 退货:带有链详细信息或错误消息的Markdown字符串。

示例提示 (在MCP客户端中):

Get the details for the blockchain with chain ID 1.

示例响应:

**Chain Details**
- **Name**: Ethereum Mainnet
- **Chain ID**: 1
- **Native Currency**: Ether (ETH, 18 decimals)
- **TVL**: 134376951329.85631
**RPC Endpoints**:
| URL                                          | Tracking |
|----------------------------------------------|----------|
| https://eth.llamarpc.com                     | none     |
| https://go.getblock.io/...                   | none     |
...
**Explorers**:
| Name       | URL                        | Standard |
|------------|----------------------------|----------|
| etherscan  | https://etherscan.io       | EIP3091  |
...

getChainsByKeyword

  • 描述:按关键字搜索区块链(不区分大小写的部分匹配)。
  • 参数:

- keyword (string):要搜索的关键字或部分名称(例如“eth”)。 - limit (整数,可选):最大结果数(默认值:5)。

  • 退货:Markdown字符串列表最多为 limit 匹配链或错误消息。

示例提示 (在MCP客户端中):

Find blockchains with 'eth' in their name, limit to 2 results.

示例响应:

**Matching Chains**

### Chain 1
**Chain Details**
- **Name**: Ethereum Mainnet
- **Chain ID**: 1
- **Native Currency**: Ether (ETH, 18 decimals)
- **TVL**: 134376951329.85631
**RPC Endpoints**:
| URL                                          | Tracking |
|----------------------------------------------|----------|
| https://eth.llamarpc.com                     | none     |
...
**Explorers**:
| Name       | URL                        | Standard |
|------------|----------------------------|----------|
| etherscan  | https://etherscan.io       | EIP3091  |
...

### Chain 2
**Chain Details**
- **Name**: Ethereum Goerli
- **Chain ID**: 5
- **Native Currency**: Ether (ETH, 18 decimals)
- **TVL**: N/A
**RPC Endpoints**:
| URL                                          | Tracking |
|----------------------------------------------|----------|
| https://goerli.infura.io/...                 | yes      |
...
**Explorers**:
| Name       | URL                        | Standard |
|------------|----------------------------|----------|
| etherscan  | https://goerli.etherscan.io | EIP3091  |
...

许可证

该项目根据MIT许可证获得许可。请参阅 许可证 文件以获取详细信息。

目录标签

目录标签

AI代理区块链PythonClaude数据分析research-and-datachainlistmcpevmblockchainai-agents本地部署EVM链RPC服务数据查询

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

2

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP