Skip to main content
Glama
Fewsats

Fewsats MCP Server

Official
by Fewsats

fewsats-mcp: Ein Fewsats MCP-Server

Überblick

Dieser MCP-Server ist in Fewsats integriert und ermöglicht KI-Agenten, alles auf sichere Weise zu kaufen.

MCP ist

Werkzeuge

  1. balance

    • Den Kontostand des Wallets des Benutzers abrufen

    • Eingabe: Keine

    • Rückgaben: Aktuelle Informationen zum Wallet-Guthaben

  2. payment_methods

    • Abrufen der Zahlungsmethoden des Benutzers

    • Eingabe: Keine

    • Retouren: Liste der verfügbaren Zahlungsmethoden

  3. pay_offer

    • Zahlt ein Angebot mit der angegebenen ID aus dem l402_offers

    • Eingang:

      • offer_id (Zeichenfolge): Zeichenfolgenkennung für das Angebot

      • l402_offer (Objekt): Angebotsdetails mit:

        • offers : Array von Angebotsobjekten mit ID, Betrag, Währung, Beschreibung, Titel

        • payment_context_token : Token-Zeichenfolge für den Zahlungskontext

        • payment_request_url : URL für die Zahlungsanforderung

        • version : API-Versionszeichenfolge

    • Rücksendungen: Antwort zum Zahlungsstatus

  4. payment_info

    • Abrufen der Details einer Zahlung

    • Eingang:

      • pid (Zeichenfolge): Zahlungs-ID zum Abrufen von Informationen für

    • Retouren: Detaillierte Zahlungsinformationen

Related MCP server: satsrail-mcp

Installation

Verwendung von UV (empfohlen)

Bei der Verwendung uv ist keine spezielle Installation erforderlich. Wir verwenden uvx , um fewsats-mcp direkt auszuführen.

uvx fewsats-mcp

Verwenden von PIP

Alternativ können Sie fewsats-mcp über pip installieren:

pip install fewsats-mcp

Nach der Installation können Sie es als Skript ausführen mit:

fewsats-mcp

Konfiguration

Verwendung mit Claude Desktop

Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:

Wichtig : Ersetzen Sie YOUR_FEWSATS_API_KEY durch den API-Schlüssel, den Sie von Fewsats.com erhalten haben.

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

Available Tools

6 tools
balanceA

Retrieve the balance of the user's wallet. You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues. Fewsats will automatically add balance when needed.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it's a read operation ('Retrieve'), it accesses user-specific data ('user's wallet'), and it mentions automatic balance management by Fewsats. However, it lacks details on error handling or response format, which could be useful for troubleshooting.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is highly concise and well-structured, with three sentences that each serve a distinct purpose: stating the tool's function, providing usage guidelines, and explaining automated context. There is no wasted text, and key information is front-loaded for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is largely complete. It covers purpose, usage, and behavioral context. However, without an output schema, it doesn't specify what the balance retrieval returns (e.g., currency, format), which could be a minor gap for troubleshooting scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and schema description coverage is 100%, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, focusing instead on the tool's purpose and usage. A baseline of 4 is applied since no parameters exist, and the description adds value without redundancy.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('balance of the user's wallet'), making it immediately understandable. It distinguishes this tool from siblings like 'billing_info' or 'payment_methods' by focusing on wallet balance retrieval rather than payment details or methods.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines, stating 'You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues.' This clearly indicates when to use the tool (user instruction or troubleshooting) and implies when not to use it (routine operations, as Fewsats handles balance automatically).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

billing_infoA

Retrieve the user's billing information. Returns billing details including name, address, and other relevant information. This information can also be used as shipping address for purchases.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a retrieval operation (implying read-only) and hints at the return content (billing details), but doesn't cover aspects like authentication needs, rate limits, or error handling. This is adequate but has clear gaps for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured with three sentences that each add value: stating the purpose, detailing the return, and providing usage context. It's front-loaded with the core function, though the third sentence could be slightly more integrated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is reasonably complete for a retrieval operation. However, it lacks details on the return format (e.g., structure of billing details) and doesn't address potential errors or edge cases, which could be helpful for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, earning a high baseline score. It could be a 5 if it explicitly noted the lack of parameters, but this is minor.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('user's billing information'), making it immediately understandable. However, it doesn't explicitly differentiate this from sibling tools like 'payment_info' or 'payment_methods', which prevents a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context by mentioning that the information can be used as a shipping address for purchases, which suggests when this tool might be relevant. However, it lacks explicit guidance on when to use this versus alternatives like 'payment_info' or 'balance', leaving some ambiguity for the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

create_x402_payment_headerB
Creates a payment header for the X402 protocol.

The chain is base-sepolia or base
The x402 payload must be a dict with this structure:
{
    "accepts": [
        {
            "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
            "description": "Payment for GET https://proxy402.com/7Yhuf2O3zs",
            "extra": {
                "name": "USDC",
                "version": "2"
            },
            "maxAmountRequired": "10",
            "maxTimeoutSeconds": 300,
            "mimeType": "",
            "network": "base-sepolia",
            "payTo": "0xbA5Ae80f48E0C74878c1a362D69c27c2135Aa594",
            "resource": "https://proxy402.com/7Yhuf2O3zs",
            "scheme": "exact"
        }
    ],
    "error": "X-PAYMENT header is required",
    "x402Version": 1
}

Returns a dict with the payment_header field that must be set in X-PAYMENT header in a x402 http request.
ParametersJSON Schema
NameRequiredDescriptionDefault
chainYes
x402_payloadYes

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the creation action and the return format, but lacks details on permissions, rate limits, error handling, or whether the operation is idempotent. The example payload adds some context but doesn't fully compensate for the missing behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, but includes a lengthy JSON example that could be condensed or referenced externally. The sentences are informative but the example takes up substantial space without adding proportional value to conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, 2 parameters with 0% schema coverage, no output schema, and nested objects, the description is partially complete. It explains the purpose, parameters, and return value, but lacks details on error cases, side effects, or integration context with sibling tools, leaving gaps for a mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description must compensate. It adds significant meaning by specifying the chain options ('base-sepolia or base') and providing a detailed example structure for 'x402_payload', which clarifies the expected format beyond the schema's generic 'object' type. However, it doesn't explain all possible fields or constraints for the payload.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Creates a payment header') and the resource ('for the X402 protocol'), which is specific and unambiguous. However, it doesn't explicitly differentiate this tool from its sibling tools like 'pay_offer' or 'payment_info', which might also involve payment-related operations, so it doesn't fully achieve sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions the chain options ('base-sepolia or base') and the payload structure, but doesn't specify prerequisites, when-not-to-use scenarios, or direct comparisons to sibling tools like 'pay_offer' or 'payment_info'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

payment_infoB

Retrieve the details of a payment. If payment status is needs_review inform the user he will have to approve it at app.fewsats.com

ParametersJSON Schema
NameRequiredDescriptionDefault
pidYes

TDQS

B3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes a read operation ('Retrieve') and includes a conditional action based on status, which adds some context. However, it lacks details on permissions required, error handling, rate limits, or what the return format looks like, leaving significant gaps for a tool that likely interacts with sensitive payment data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded, with the core purpose stated first and additional context provided in a second sentence. Every sentence adds value, and there is no redundant or wasted text, making it efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It covers the basic purpose and a usage note but misses critical details such as the return format, error conditions, or full behavioral context. For a payment-related tool with no structured metadata, this leaves too much ambiguity for reliable agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 1 parameter with 0% description coverage, and the tool description does not explain what 'pid' represents (e.g., payment ID, transaction ID) or provide any semantic context beyond the schema. This leaves the parameter meaning unclear, failing to compensate for the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('details of a payment'), making it immediately understandable. However, it doesn't explicitly distinguish this tool from sibling tools like 'billing_info' or 'pay_offer', which might also relate to payment information.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides implied usage guidance by mentioning that if the payment status is 'needs_review', the user should be informed to approve it at app.fewsats.com. This suggests a specific scenario for using the tool, but it doesn't offer explicit guidance on when to use this tool versus alternatives like 'billing_info' or 'create_x402_payment_header', nor does it specify prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

payment_methodsA

Retrieve the user's payment methods. You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues. Fewsats will automatically select the best payment method.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that Fewsats handles payment method selection automatically, which adds useful context about system behavior. However, it lacks details on permissions, rate limits, error handling, or response format, leaving gaps for a tool that retrieves sensitive financial data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, followed by concise usage guidelines. Every sentence adds value without waste, making it efficient and well-structured for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description provides adequate purpose and usage guidance but falls short on behavioral details like authentication needs, data format, or error cases. For a tool handling payment methods, more context on security or response structure would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately focuses on usage context rather than parameters, earning a high score as it avoids redundancy and adds value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('user's payment methods'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'payment_info' or 'billing_info', which might have overlapping functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('rarely need to call this unless instructed by the user, or to troubleshoot payment issues') and when not to use it ('Fewsats will automatically select the best payment method'), effectively distinguishing it from automated processes and clarifying its situational application.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

pay_offerB

Pays an offer_id from the l402_offers.

The l402_offer parameter must be a dict with this structure:
{
    'offers': [
        {
            'id': 'test_offer_2',        # String identifier for the offer
            'amount': 1,                 # Numeric cost value
            'currency': 'usd',           # Currency code
            'description': 'Test offer', # Text description
            'title': 'Test Package'      # Title of the package
        }
    ],
    'payment_context_token': '60a8e027-8b8b-4ccf-b2b9-380ed0930283',  # Payment context token
    'payment_request_url': 'https://api.fewsats.com/v0/l402/payment-request',  # Payment URL
    'version': '0.2.2'  # API version
}

Returns payment status response.
If payment status is `needs_review` inform the user he will have to approve it at app.fewsats.com
ParametersJSON Schema
NameRequiredDescriptionDefault
offer_idYes
l402_offerYes

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the payment process, including the required data structure and what happens if payment status is 'needs_review', which adds useful context. However, it doesn't cover important aspects like authentication requirements, rate limits, error handling, or whether this is a read-only or destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized but not optimally structured. The first sentence clearly states the purpose, but the detailed parameter explanation could be more front-loaded. The JSON structure example is necessary but lengthy, and the final sentence about 'needs_review' status feels somewhat tacked on rather than integrated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (2 parameters with nested objects, no annotations, no output schema), the description provides good parameter semantics but lacks completeness. It doesn't explain the return value format beyond mentioning 'payment status response', and important behavioral aspects like error conditions or side effects are undocumented. The description does the minimum for a payment tool but leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed semantics for the 'l402_offer' parameter, including its complete structure with field descriptions and example values. It also clarifies that 'offer_id' is the identifier to pay, though with less detail than 'l402_offer'. This significantly enhances understanding beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('pays') and target resource ('an offer_id from the l402_offers'), providing a specific verb+resource combination. However, it doesn't explicitly differentiate this payment tool from sibling tools like 'create_x402_payment_header' or 'payment_info', which might handle related but different aspects of the payment process.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'payment_info' or 'create_x402_payment_header'. The description mentions the tool's function but doesn't specify prerequisites, appropriate contexts, or exclusions, leaving the agent without clear usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updates
    • First observedbalance
    • First observedbilling_info
    • First observedcreate_x402_payment_header
    • First observedpay_offer
    • First observedpayment_info
    • First observedpayment_methods

TDQS

A3.7/5.0
Disambiguation4/5

Most tools have distinct purposes: balance, billing_info, payment_info, and payment_methods are clearly differentiated for wallet, billing, payment details, and payment methods respectively. However, create_x402_payment_header and pay_offer both involve payment processing and could be slightly confusing, as they target different protocols (X402 vs L402) but share overlapping payment-related functionality.

Naming Consistency4/5

The naming follows a consistent snake_case pattern throughout (e.g., billing_info, payment_methods). However, there is a minor inconsistency with create_x402_payment_header using a more descriptive prefix (create_x402_) while others are simpler nouns or verb_noun combos, slightly deviating from a uniform style.

Tool Count5/5

With 6 tools, the count is well-scoped for a payment and wallet management server. Each tool serves a specific function without redundancy, covering key areas like balance, billing, payments, and payment methods, making it efficient and manageable.

Completeness4/5

The tool set covers core payment and wallet operations well, including balance retrieval, billing info, payment details, payment methods, and payment execution for different protocols. A minor gap exists in lacking tools for updating or deleting payment methods or billing info, but agents can likely work around this with the provided tools.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables AI agents to accept Bitcoin Lightning payments. It allows agents to create orders, generate invoices, check payment status, and manage the full SatsRail merchant API through natural language.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables AI agents to send and receive Bitcoin over the Lightning Network using NWC or LND backends.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fewsats/fewsats-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server