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)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.