Fewsats MCP Server

Enable AI Agents to purchase anything in a secure way using Fewsats

Local serverstdio

What is the Fewsats MCP server?

Fewsats MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Enable AI Agents to purchase anything in a secure way using Fewsats.

What you get

This MCP server integrates with Fewsats and allows AI Agents to purchase anything in a secure way.

What the assistant can call

Once Fewsats is connected, these are the calls the assistant has available:

  • Input — None
  • Returns — Current wallet balance information
  • offers — Array of offer objects with ID, amount, currency, description, title
  • payment_context_token — Payment context token string
  • payment_request_url — URL for payment request
  • version — API version string
  • Tools — 1. balance - Retrieve the balance of the user's wallet - Input: None - Returns: Current wallet balance information

Configuration and credentials

You will need 2 environment variables: FEWSATS_API_KEY, YOUR_FEWSATS_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

fewsats-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Among the payments and commerce options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Fewsats's toolset — Input, Returns, offers and 4 more — is a fair guide to whether it matches your workflow.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the fewsats mcp server does with a few real requests.

Available tools

ToolWhat it does
InputNone
ReturnsCurrent wallet balance information
offersArray of offer objects with ID, amount, currency, description, title
payment_context_tokenPayment context token string
payment_request_urlURL for payment request
versionAPI version string
Tools1. balance - Retrieve the balance of the user's wallet - Input: None - Returns: Current wallet balance information

How to install the Fewsats MCP server

{
  "mcpServers": {
    "fewsats": {
      "command": "uvx",
      "args": ["fewsats-mcp"],
      "env": {
        "FEWSATS_API_KEY": "your-value",
        "YOUR_FEWSATS_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
FEWSATS_API_KEYCredential the server authenticates with.Yes
YOUR_FEWSATS_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Fewsats to Input.
  • Use Fewsats to Returns.
  • Use Fewsats to offers.

Frequently asked questions

It connects Fewsats to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (Input, Returns, offers, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Fewsats directly.