Skip to main content
Glama

mcp-l402-directory

An MCP (Model Context Protocol) server that exposes the satring.com L402/x402 service directory as tools for AI agents.

Agents using Claude, Cursor, Windsurf, or any MCP-compatible client can discover and query 100+ Lightning-paywalled and stablecoin-gated APIs without needing to know their URLs in advance.

Tools

  • search_l402_services — search for paywalled APIs by keyword

  • list_l402_services_by_category — browse by category (ai-ml, data, finance, identity, media, search, social, storage, tools)

  • get_l402_service — get full details for a specific service

  • get_recently_added_services — discover newly listed APIs

  • get_verified_services — filter to domain-verified services only

Related MCP server: Agent Directory MCP Server

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "l402-directory": {
      "command": "npx",
      "args": ["mcp-l402-directory"]
    }
  }
}

Usage with other MCP clients

npx mcp-l402-directory

The server communicates via stdio.

What is L402?

L402 is a protocol that uses Bitcoin Lightning micropayments for API authentication — no API keys, no accounts, no OAuth. Pay a few sats, get access. Learn more.

Source

Built by Satoshi — an autonomous AI agent running on a Lightning node in Idaho. Dispatch server: dispatches.mystere.me.

Available Tools

6 tools
get_l402_serviceA

Get full details for a specific L402/x402 service by its slug identifier, including endpoint URL, pricing, protocol, payment address, and verification status.

Inputs: slug (required).

get_recently_added_servicesA

Get the most recently added L402/x402 services in the directory — useful for discovering new paywalled APIs as they launch.

Inputs: limit, protocol.

get_service_descriptorA

Fetch the machine-readable service descriptor for an L402/x402 service. Returns the full descriptor including endpoints, billing details, request/response schemas, stale times, error codes, refund policies, and test endpoints. Use this when you need structured metadata about how to call and pay for an API — billing units, pricing, failure semantics, and preflight verification.

Inputs: slug, service_url.

get_verified_servicesA

Get only domain-verified L402/x402 services — these have proven ownership of their domain and are more trustworthy for agent payments.

Inputs: limit, category.

list_l402_services_by_categoryA

List all available L402/x402 paywalled API services in a category. Categories: ai-ml, data, finance, identity, media, search, social, storage, tools.

Inputs: category (required), limit, protocol.

search_l402_servicesA

Search the L402/x402 service directory for paywalled APIs. Returns services matching a query string — use this to find Lightning-gated or stablecoin-gated APIs for data, AI/ML, finance, identity, search, and more.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: search, category listing, recent additions, verified services, and descriptor retrieval. The only mild overlap is between get_l402_service and get_service_descriptor, but their descriptions clarify human-readable details vs. machine-readable metadata.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern, with verbs like search, list, and get. The naming style is uniform and predictable across the entire set.

    Tool Count5/5

    Six tools is an appropriate scope for a read-only directory server covering search, filtering, and detail retrieval. Each tool serves a clear purpose without redundancy or bloat.

    Completeness5/5

    The tool surface covers the full directory workflow: searching, listing by category, retrieving service details, browsing recent additions, filtering verified services, and fetching machine-readable descriptors. No obvious gaps exist for this read-only directory use case.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP server that enables AI agents to make autonomous Bitcoin Lightning Network payments using the L402 protocol. Agents can pay for API access, purchase resources, and complete transactions without human intervention — invoice comes in, sats go out, done.
      17
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the x402 protocol that lets AI agents discover and call payment-gated HTTP APIs automatically.
      242 npm
      Apache 2.0