Inspiration

I want to tell you what inspired me to build this Lightning explorer. The Lightning Network is built on peer-to-peer payments that happen off-chain, while channels are opened and closed on the Bitcoin blockchain. It is my passion to explore the possibilities of decentralized systems. The people I build for in the Nostr and Bitcoin community ask simple questions: "How big is the Lightning Network right now?", "Is this node reliable?". So I was inspired to build this Lightning explorer, so the "Light" can give answers by voice, integrated with Alexa+.

What it does

E-light lets anyone tap the "light", ask the Bitcoin Lightning Network a question out loud, and hear the answer. For example: "How big is the Lightning Network?", "Tell me about ACINQ", "Which node is behind [email protected]?", "Which node does this wallet belong to?", "How many transactions are on the Lightning Network right now?"

At its core is a remote MCP server (Streamable HTTP, spec 2025-11-25) that Alexa+ can connect to, with four read-only tools:

  • search_nodes: find a node by name or pubkey
  • get_node_details: capacity, channels, rank and uptime
  • get_network_stats: the size of the whole network and its 30-day trend
  • find_node_for_nostr_profile: follows a Nostr identity to its lightning address, resolves the LNURL endpoint, and finds the Lightning node that actually receives the payments

Every tool returns a one-sentence answer written to be spoken (rounded numbers, no hex strings, no emoji), plus the full structured data for agents that want to reason further.

Because Alexa+ is in limited preview, E-light also includes Ask E-light, a simulated Alexa+ experience in the browser: tap, speak, and it answers out loud by calling the same MCP server Alexa+ would.

How we built it

E-light is a Next.js 16 app on Netlify. Lightning data comes from the Amboss GraphQL API, and Nostr profiles come from my own relay, wss://hasky.chat.

MCP server: built with the official TypeScript SDK (@modelcontextprotocol/sdk) and its web-standard Streamable HTTP transport, served as a Next.js route at /api/mcp. It is stateless (a fresh server per request), which fits serverless hosting, and every tool is annotated read-only.

Voice-first answers: each tool turns raw data into a sentence that sounds natural out loud. Sats become rounded bitcoin, ranks become "number 2", and emoji in node names are stripped so the voice doesn't read "octopus".

Simulated Alexa: the /ask page uses the Web Speech API to listen and speak. Its backend is a real MCP client that connects to /api/mcp over Streamable HTTP and calls tools the way Alexa+ would, chaining search_nodes and get_node_details when you ask about a node by name.

Challenges we ran into

iPhone won't speak. Safari only allows speech that starts during a tap, but the answer arrives after a network call. I fixed it by unlocking the speech engine with a silent utterance during the tap itself.

Robotic voices. Default voices can sound very robotic, almost like a frog, so E-light picks the best natural voice on the device.

Data that doesn't speak well. Lightning data is full of hex keys, sat amounts and emoji node names. Making answers sound natural is more than just fetching the data.

No Alexa+ access from Denmark. It is in limited preview, so I built a simulated experience on top of the same MCP server the real one would use.

Accomplishments that we're proud of

  • A live, public MCP server on the latest spec that any MCP client can use today
  • The Nostr → Lightning node tool, which connects a social identity to the payment infrastructure behind it
  • A voice experience that works on iPhone and desktop, with answers that sound like a person, not a database

What we learned

  • Designing tools for voice is different from designing for screens: one clear sentence beats a full table.
  • How the MCP Streamable HTTP transport works, and how to run it stateless on serverless hosting.
  • Browser speech has hidden rules (tap-to-speak on iOS, voice quality) that matter as much as the backend.

What's next for E-light

  • Connect E-light to Alexa+ as soon as preview access opens up
  • Add Amazon Polly for a natural Amazon voice
  • Voice alerts: "Tell me when my node goes offline"
  • Zaps by voice: send a Lightning tip to a Nostr profile through Nostr Wallet Connect

Built With

Share this project:

Updates

Submission history