Labsco
MCP SERVER · OFFICIAL PROJECT

Fewsats

by Fewsats

Let an agent pay for something itself — check the wallet, settle an L402 offer, and read back what the payment did.

Payments, Billing & SubscriptionsOfficial source
Summary
The agent can settle up on its own.

L402 turns a paywall into something a machine can answer: the resource returns an offer, and this pays it. What that buys you is an agent that gets past a metered API or a paid page without stopping to ask you for a card.

What it is

An MCP server for Fewsats, a wallet that lets AI agents purchase things. It pays L402 offers — the payment-required response a paywalled resource hands back — using the payment methods on your Fewsats account.

What you get
  • The current balance of your Fewsats wallet
  • The payment methods available on the account
  • An L402 offer paid by ID, taking the full offer object — amounts, currency, description, payment context token and request URL — and returning the payment status
  • The details of any payment, read back by payment ID
Requirements

A Fewsats account and an API key from fewsats.com, kept in the environment. Run it with `uvx fewsats-mcp`, or `pip install fewsats-mcp` and run it as a script. This is a spending capability: any client holding the key can pay offers, so fund the wallet with what you are prepared for it to spend and check the balance before widening access.

Setup effort

One command plus a key — uvx fewsats-mcp, then supply credentials