MCP Hub
Back to servers

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.

Updated
Jan 27, 2026

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

StatusCountDescription
✅ Working27Tested and working reliably
⚠️ API Limit4Endpoints don't exist on public API
🐛 API Bug1Server-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)

ToolDescription
cns_listList CNS records with pagination
cns_getGet a CNS record by domain name

Contracts (2 tools)

ToolDescription
contracts_listList contracts with pagination
contract_getGet contract details by contract_id (hex)

Featured Apps (1 tool)

ToolDescription
featured_apps_getGet list of featured applications

Governance (3 tools)

ToolDescription
governance_listList all governance vote requests
governance_statsGet governance statistics
governance_getGet vote request details by ID

Party (8 tools)

ToolDescription
party_balanceGet CC balance for a party
party_burnsList burns for a party
party_pnlGet profit/loss data
party_rewardsList rewards earned
party_burn_statsAggregated burn stats
party_reward_statsAggregated reward stats
party_transfersList party transfers
party_transactionsList party transactions

Preapprovals (1 tool)

ToolDescription
preapprovals_listList preapproval records

Prices (2 tools)

ToolDescription
price_getGet latest CC price in USD
price_historyGet 24-hour price history

Rounds (2 tools)

ToolDescription
rounds_listList consensus rounds
round_getGet round details by number

Search (1 tool)

ToolDescription
searchUniversal search across entities

Stats (1 tool)

ToolDescription
stats_getGet chain statistics

Transactions (2 tools)

ToolDescription
transactions_listList transactions
transaction_getGet transaction by update ID

Transfers (1 tool)

ToolDescription
transfers_listList all transfers

Validators (2 tools)

ToolDescription
validators_listGet all validators
validator_getGet 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 /validators instead
  • /me (participant info) - not on public API
  • /stats/rounds/latest - endpoint removed
  • transfer_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

License

MIT

Author

Ore Phillips (@oregpt)

Reviews

No reviews yet

Sign in to write a review