Skip to main content
Glama
by 5ajaki

🔍 Veri5ight

您友好的以太坊节点私语者!一个模型上下文协议 (MCP) 服务器,帮助 Claude 与以太坊节点聊天。

🌟 这是怎么回事?

Veri5ight 是 Claude 和以太坊节点之间的直接接口,提供:

  • 💰 任何 ERC20 的实时代币余额和委托信息

  • 🔎 智能合约信息

  • 🚀 直接访问节点,不受速率限制

  • 🔒 私密、安全的互动

Related MCP server: Base MCP Server

🚀 快速入门

# Clone the repository git clone https://github.com/5ajaki/veri5ight.git # Install dependencies npm install # Build the project npm run build

⚙️ 配置

  1. .env.example复制到.env

cp .env.example .env
  1. 添加您的以太坊节点 URL(示例如下所示 - 使用您的实际节点 URL 和端口进行更新):

ETH_NODE_URL="http://localhost:8545" # Example - replace with your node's URL and port
  1. 配置Claude桌面:

{ "mcpServers": { "veri5ight": { "command": "node", "args": ["/absolute/path/to/veri5ight/dist/index.js"] // Local path to the compiled index.js file } } }

注意:步骤 3 中的路径必须指向本地 dist 目录中已编译的 index.js 文件。该文件是在运行npm run build时创建的。

启动选项

默认情况下,Veri5ight 会随 Claude 桌面应用程序自动启动。如果您希望按需运行:

  1. 从 package.json 中删除使用 Claude 自动启动的 postbuild 脚本

  2. 需要时手动运行:

node dist/index.js

🎮 可用工具

ethereum_getTokenBalance

使用地址或 ENS 名称获取任何 ERC20 代币的代币余额。

例子:

Claude, what's vitalik.eth's UNI balance?

ethereum_getTokenDelegation

检查任何治理令牌的委托信息。

例子:

Claude, who has nick.eth delegated their tokens to?

ethereum_getContractInfo

获取有关任何智能合约的详细信息。

例子:

Claude, what can you tell me about this contract: nick.eth

ethereum_getRecentTransactions

查看任意地址的近期交易。注意:此功能会扫描最近 10 个区块,查找涉及指定地址的交易。

例子:

Claude, show me any recent transactions for vitalik.eth

该函数将返回在这些区块中找到的最多请求数量的交易(默认为 3)。如果在最近的区块中未找到任何交易,则返回空结果。

🔍 调试

检查 Claude 的日志是否存在任何问题:

tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

💡 为什么要直接访问节点?

  • 低延迟:直接节点查询,无需 API 开销

  • 无速率限制:对您自己的节点进行无限制查询

  • 隐私:查询只在您和您的节点之间进行

  • 完全访问:完整的 JSON-RPC API 可用性

  • 实时数据:直接访问最新的区块链状态

🛠️ 开发

# Watch mode for the cool kids npm run dev # Build for production npm run build

🤝 贡献

有想法?发现 bug?欢迎提交 PR!只需:

  1. 叉子

  2. 分支

  3. 编码

  4. 公关

📜 许可证

MIT - 尽情发挥吧!无聊的法律条款请参阅LICENSE

🙏 道具

  • 由 Veri5ight 团队倾情打造

  • 由克劳德的大脑驱动

  • 站在以太坊巨人的肩膀上

🆘 需要幫助嗎?

  • 🐛 发现 bug?提交问题!

  • 🤔 有问题?欢迎讨论!

  • 🎉 有什么酷炫的功能创意?快来听听吧!

记住:Veri5ight 就像一把保护以太坊数据的瑞士军刀——千万别想用它开瓶子!🍾

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/5ajaki/veri5ight'

If you have feedback or need assistance with the MCP directory API, please join our Discord server