Enterprise DNA
M MCP Servers Developer low

ShinyDapps/l402-kit

by Various

The simplest way to charge for your API in Bitcoin sats. 3 lines of code. TypeScript + Python. Lightning Network L402 protocol.

S

MCP

ShinyDapps/l402-kit

Added 1 June 2026

Overview

L402-kit is a developer library that lets you add Bitcoin micropayments to an API with minimal code. It implements the L402 protocol over the Lightning Network, enabling per-request payment in satoshis. The kit provides TypeScript and Python bindings and claims to require only three lines of code to integrate.

Best for

Best for
Developers who want to quickly prototype Bitcoin-based API monetization without deep Lightning Network expertise

Use cases

  • Monetizing a public API with per-call Bitcoin payments
  • Building a pay-per-use data or inference endpoint
  • Prototyping a Lightning Network payment gating layer

Notes

L402-kit is a developer library that lets you add Bitcoin micropayments to an API with minimal code. It implements the L402 protocol over the Lightning Network, enabling per-request payment in satoshis. The kit provides TypeScript and Python bindings and claims to require only three lines of code to integrate.

2 stars on GitHub. Last updated 2026-05-28. Licensed MIT.

Use cases

  • Monetizing a public API with per-call Bitcoin payments
  • Building a pay-per-use data or inference endpoint
  • Prototyping a Lightning Network payment gating layer

Pros

  • Extremely low integration overhead with just a few lines of code
  • Supports both TypeScript and Python, covering common backend stacks
  • Leverages the Lightning Network for fast, low-fee micropayments

Cons

  • Very early stage project with only 2 GitHub stars and limited community adoption
  • Documentation and examples are sparse, making troubleshooting harder
  • Requires users to already have Lightning Network infrastructure or a compatible wallet

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Extremely low integration overhead with just a few lines of code
  • Supports both TypeScript and Python, covering common backend stacks
  • Leverages the Lightning Network for fast, low-fee micropayments

Cons

  • Very early stage project with only 2 GitHub stars and limited community adoption
  • Documentation and examples are sparse, making troubleshooting harder
  • Requires users to already have Lightning Network infrastructure or a compatible wallet