Hermes Blockchain Oracle
БесплатноНе проверенAn MCP server that connects Hermes Agent to the Solana blockchain, enabling natural language queries for wallets, tokens, NFTs, transactions, whale movements, a
Описание
An MCP server that connects Hermes Agent to the Solana blockchain, enabling natural language queries for wallets, tokens, NFTs, transactions, whale movements, and network health.
README
╦ ╦╔═╗╦═╗╔╦╗╔═╗╔═╗
╠═╣║╣ ╠╦╝║║║║╣ ╚═╗
╩ ╩╚═╝╩╚═╩ ╩╚═╝╚═╝
╔╗ ╦ ╔═╗╔═╗╦╔═╔═╗╦ ╦╔═╗╦╔╗╔
╠╩╗║ ║ ║║ ╠╩╗║ ╠═╣╠═╣║║║║
╚═╝╩═╝╚═╝╚═╝╩ ╩╚═╝╩ ╩╩ ╩╩╝╚╝
╔═╗╦═╗╔═╗╔═╗╦ ╔═╗
║ ║╠╦╝╠═╣║ ║ ║╣
╚═╝╩╚═╩ ╩╚═╝╩═╝╚═╝
🔮 Hermes Blockchain Oracle
Giving Hermes Agent superpowers on the Solana blockchain
MCP Compatible Solana Python License: MIT Nous Research
A Model Context Protocol (MCP) server that connects Hermes Agent to the Solana blockchain — enabling natural language queries for wallets, tokens, NFTs, transactions, whale movements, and network health.
🌟 What Is This?
Hermes Blockchain Oracle is an MCP server plugin for Hermes Agent by Nous Research. It acts as a bridge between conversational AI and the Solana blockchain, letting you ask questions in plain English and get rich, real-time on-chain data back.
No more copy-pasting wallet addresses into block explorers. No more decoding raw transaction logs. Just ask Hermes.
"What's the SOL balance of
7xKXtg...?" → Hermes knows."Are there any whale movements right now?" → Hermes is watching.
"Show me the NFTs in this wallet." → Hermes delivers.
⚡ Features
| Tool | Description |
|---|---|
🏦 solana_wallet_info |
Query any wallet's SOL balance, token holdings, and portfolio value |
🔍 solana_transaction |
Look up full transaction details by signature — instructions, fees, status |
🪙 solana_token_info |
Get token metadata, total/circulating supply, decimals, and holder count |
📜 solana_recent_activity |
Fetch recent transactions for any wallet with human-readable summaries |
🎨 solana_nft_portfolio |
List all NFTs in a wallet — collections, floor prices, and metadata |
🐋 whale_detector |
Detect large transfers on Solana in real-time — configurable thresholds |
📊 solana_network_stats |
Get current Solana network health, TPS, slot height, and epoch info |
🚀 Quick Start
1. Install
pip install hermes-blockchain-oracle
Or install from source:
git clone https://github.com/NousResearch/hermes-blockchain-oracle.git
cd hermes-blockchain-oracle
pip install -e .
2. Configure (Optional)
Set your preferred Solana RPC endpoint for best performance:
export SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"
💡 Tip: For production use, consider a dedicated RPC provider like Helius, QuickNode, or Triton for higher rate limits and reliability.
3. Launch with Hermes Agent
hermes-agent --mcp blockchain=hermes-blockchain-oracle
That's it. Hermes Agent now has full Solana blockchain awareness. 🧠⛓️
💬 Usage Examples
Once the oracle is connected, just talk to Hermes naturally:
🏦 Wallet Lookup
You: "Check the SOL balance of GsBd49...2kMp"
Hermes: That wallet holds 1,247.83 SOL (~$285,000 USD) along with
12 token holdings including 50,000 BONK and 2.4 JTO...
🔍 Transaction Investigation
You: "What happened in transaction 4sGjMW...x9Qv?"
Hermes: This transaction was a token swap on Jupiter Aggregator.
2.5 SOL was swapped for 125,000 BONK. Fee: 0.000005 SOL.
Status: Confirmed (finalized). Block: 248,391,042.
🐋 Whale Detection
You: "Are there any whale movements happening right now?"
Hermes: 🐋 Alert! Detected 3 large transfers in the last 10 minutes:
• 50,000 SOL moved from Binance hot wallet → unknown wallet
• 2.1M USDC transferred between two whale wallets
• 180,000 JTO unstaked and moved to a fresh address
🎨 NFT Portfolio
You: "Show me what NFTs are in wallet Fxn7...kL9m"
Hermes: That wallet contains 23 NFTs across 5 collections:
• Mad Lads (3) — Floor: 85 SOL
• Tensorians (7) — Floor: 12 SOL
• Claynosaurz (2) — Floor: 28 SOL
...
📊 Network Health
You: "How's the Solana network doing right now?"
Hermes: Solana is operating normally.
• TPS: 3,847 (avg last 5 min)
• Current Slot: 248,392,105
• Epoch: 578 (63% complete)
• Active Validators: 1,847
• Network Version: 1.17.28
🪙 Token Research
You: "Tell me about the JTO token"
Hermes: Jito (JTO)
• Mint: jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL
• Supply: 1,000,000,000 (11.6% circulating)
• Holders: 148,293
• Decimals: 9
• Description: Governance token for the Jito Network...
🏗️ Architecture
┌─────────────────────────────────────────────────────────┐
│ USER │
│ "Check this wallet..." │
└──────────────────────┬──────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ HERMES AGENT │
│ (Nous Research LLM Runtime) │
│ │
│ ┌─────────────────────────────────────────────────┐ │
│ │ Model Context Protocol (MCP) │ │
│ │ Tool Discovery · Schema Negotiation │ │
│ │ Request Routing · Response Formatting │ │
│ └──────────────────────┬──────────────────────────┘ │
└──────────────────────────┼──────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ HERMES BLOCKCHAIN ORACLE │
│ (This MCP Server) │
│ │
│ ┌───────────┐ ┌───────────┐ ┌───────────────────┐ │
│ │ Wallet │ │ Token │ │ Transaction │ │
│ │ Tools │ │ Tools │ │ Tools │ │
│ └─────┬─────┘ └─────┬─────┘ └────────┬──────────┘ │
│ ┌─────┴─────┐ ┌─────┴─────┐ ┌────────┴──────────┐ │
│ │ NFT │ │ Whale │ │ Network │ │
│ │ Tools │ │ Detector │ │ Stats │ │
│ └─────┬─────┘ └─────┬─────┘ └────────┬──────────┘ │
│ └──────────────┼────────────────┘ │
└────────────────────────┼────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ SOLANA BLOCKCHAIN │
│ RPC Nodes · Mainnet-Beta · On-Chain Programs │
└─────────────────────────────────────────────────────────┘
How MCP Integration Works
The Model Context Protocol (MCP) is a standardized interface that allows LLM agents to discover and invoke external tools. Here's the flow:
Registration — When Hermes Agent starts with
--mcp blockchain=hermes-blockchain-oracle, the oracle registers its 7 tools with the agent, including full JSON schemas describing each tool's parameters and return types.Discovery — Hermes Agent understands what tools are available and what they can do. When a user asks a blockchain-related question, the LLM autonomously decides which tool(s) to call.
Invocation — The agent constructs a structured tool call (e.g.,
solana_wallet_info(address="GsBd49...")) and sends it to the oracle server via the MCP transport layer.Execution — The oracle queries the Solana RPC, processes the raw data, and returns a structured response.
Synthesis — Hermes Agent incorporates the on-chain data into a natural language response for the user.
This architecture means the oracle is stateless, composable, and independently deployable — upgrade the oracle without touching the agent, or swap in a different blockchain oracle entirely.
🔧 Configuration
| Environment Variable | Default | Description |
|---|---|---|
SOLANA_RPC_URL |
https://api.mainnet-beta.solana.com |
Solana RPC endpoint |
ORACLE_PORT |
8420 |
Port for the MCP server |
WHALE_THRESHOLD_SOL |
1000 |
Minimum SOL transfer to trigger whale alerts |
WHALE_THRESHOLD_USD |
100000 |
Minimum USD value to trigger whale alerts |
CACHE_TTL_SECONDS |
30 |
Cache duration for repeated queries |
LOG_LEVEL |
INFO |
Logging verbosity (DEBUG, INFO, WARN, ERROR) |
🧪 Development
# Clone the repo
git clone https://github.com/NousResearch/hermes-blockchain-oracle.git
cd hermes-blockchain-oracle
# Create a virtual environment
python -m venv venv
source venv/bin/activate
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Run the server standalone (for debugging)
python -m hermes_blockchain_oracle --debug
# Lint & format
ruff check .
ruff format .
🤝 Contributing
We welcome contributions from the community! Here's how to get involved:
- Fork the repository
- Create a feature branch (
git checkout -b feat/amazing-new-tool) - Write tests for your changes
- Ensure all tests pass (
pytest tests/ -v) - Lint your code (
ruff check . && ruff format .) - Commit with clear messages (
git commit -m "feat: add defi protocol analytics tool") - Push your branch and open a Pull Request
Ideas for Contributions
- 🆕 New tools (DeFi protocol stats, staking info, program analytics)
- 🌐 Support for additional Solana programs (Marinade, Raydium, Orca, etc.)
- ⚡ Performance optimizations and caching improvements
- 📖 Documentation and usage examples
- 🧪 Test coverage expansion
- 🐛 Bug fixes and error handling improvements
Please read our Code of Conduct before contributing.
📄 License
This project is licensed under the MIT License — see the LICENSE file for details.
MIT License
Copyright (c) 2025 Nous Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Built with 🧠 by Nous Research
Hermes sees all. On-chain and off.
⭐ Star this repo if you find it useful — it helps us know what the community wants!
Установка Hermes Blockchain Oracle
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/gizdusum/hermes-blockchain-oracleFAQ
Hermes Blockchain Oracle MCP бесплатный?
Да, Hermes Blockchain Oracle MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Hermes Blockchain Oracle?
Нет, Hermes Blockchain Oracle работает без API-ключей и переменных окружения.
Hermes Blockchain Oracle — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Hermes Blockchain Oracle в Claude Desktop, Claude Code или Cursor?
Открой Hermes Blockchain Oracle на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Hermes Blockchain Oracle with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
