Lighthouse Explorer MCP Server
Provides tools for AI assistants to query the Canton Network for data on contracts, governance, validators, and party transactions through the Lighthouse Explorer API. It enables seamless interaction with blockchain statistics, price history, and name services without requiring an API key.
README
Lighthouse Explorer MCP Server
An MCP (Model Context Protocol) server for the 5N Lighthouse Explorer API at lighthouse.cantonloop.com.
Overview
This server provides AI assistants (Claude, etc.) with tools to query the Canton Network via the Lighthouse Explorer. It covers CNS (Canton Name Service), governance, validators, parties, contracts, transfers, prices, and more.
No API key required — this is a public API.
API Status Summary
| Status | Count | Description |
|---|---|---|
| ✅ Working | 27 | Tested and working reliably |
| ⚠️ API Limit | 4 | Endpoints don't exist on public API |
| 🐛 API Bug | 1 | Server-side bug (transfer_get) |
Total: 28 tools defined
Installation
# Clone the repo
git clone https://github.com/agenticledger/ClientMCP_LIGHTHOUSE_MCPSERVER.git
cd ClientMCP_LIGHTHOUSE_MCPSERVER
# Install dependencies
npm install
# Build
npm run build
Configuration
No API key required! Just configure Claude Desktop:
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"lighthouse": {
"command": "node",
"args": ["/path/to/lighthouse-mcp-server/dist/index.js"]
}
}
}
Available Tools (28 total)
CNS - Canton Name Service (2 tools)
| Tool | Description |
|---|---|
cns_list |
List CNS records with pagination |
cns_get |
Get a CNS record by domain name |
Contracts (2 tools)
| Tool | Description |
|---|---|
contracts_list |
List contracts with pagination |
contract_get |
Get contract details by contract_id (hex) |
Featured Apps (1 tool)
| Tool | Description |
|---|---|
featured_apps_get |
Get list of featured applications |
Governance (3 tools)
| Tool | Description |
|---|---|
governance_list |
List all governance vote requests |
governance_stats |
Get governance statistics |
governance_get |
Get vote request details by ID |
Party (8 tools)
| Tool | Description |
|---|---|
party_balance |
Get CC balance for a party |
party_burns |
List burns for a party |
party_pnl |
Get profit/loss data |
party_rewards |
List rewards earned |
party_burn_stats |
Aggregated burn stats |
party_reward_stats |
Aggregated reward stats |
party_transfers |
List party transfers |
party_transactions |
List party transactions |
Preapprovals (1 tool)
| Tool | Description |
|---|---|
preapprovals_list |
List preapproval records |
Prices (2 tools)
| Tool | Description |
|---|---|
price_get |
Get latest CC price in USD |
price_history |
Get 24-hour price history |
Rounds (2 tools)
| Tool | Description |
|---|---|
rounds_list |
List consensus rounds |
round_get |
Get round details by number |
Search (1 tool)
| Tool | Description |
|---|---|
search |
Universal search across entities |
Stats (1 tool)
| Tool | Description |
|---|---|
stats_get |
Get chain statistics |
Transactions (2 tools)
| Tool | Description |
|---|---|
transactions_list |
List transactions |
transaction_get |
Get transaction by update ID |
Transfers (1 tool)
| Tool | Description |
|---|---|
transfers_list |
List all transfers |
Validators (2 tools)
| Tool | Description |
|---|---|
validators_list |
Get all validators |
validator_get |
Get validator details by ID |
Usage Examples
Get Network Stats
Use the stats_get tool to see current chain statistics
Check CC Price
Use price_get to get the latest CC price in USD
Search for a Party
Use search with q="Cumberland" to find parties by name
Get Party Balance
Use party_balance with id="Global-Synchronizer-Foundation::1220b086..." to check CC balance
Testing
Run the test suite:
npm test
Project Structure
lighthouse-mcp-server/
├── src/
│ ├── api-client.ts # HTTP client for Lighthouse API
│ ├── tools.ts # MCP tool definitions (28 tools)
│ └── index.ts # Server entry point
├── test/
│ └── test-tools.ts # Automated test suite
├── docs/
│ ├── index.html # Interactive API docs
│ └── TEST-RESULTS.md # Test results
├── dist/ # Compiled JavaScript
├── package.json
├── tsconfig.json
└── README.md
Known Limitations
Endpoints Not Available (4)
/sv(super validators) - use/validatorsinstead/me(participant info) - not on public API/stats/rounds/latest- endpoint removedtransfer_get- API returns HTTP 500 (bug)
Data Limitations
- CNS: No Canton Name Service records currently exist
- party_balance: Some parties return 500 if no balance data (use Super Validator IDs)
Links
- Lighthouse Explorer - Canton Network Explorer
- CantonLoop - Provider
- Canton Network - Learn about Canton
- API Docs - Swagger/OpenAPI
License
MIT
Author
Ore Phillips (@oregpt)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。