Skip to main content
Glama
x402-money-farm

x402-money-farm

by Darkchild88

x402 Money Farm — MCP server

Paid web-extraction tools for agents. No account, no API key, no subscription, no signup form: each call settles a fraction of a cent in USDC on Base, per request, and the response arrives only after settlement.

Tool

What it returns

Price

farm_catalog

Everything below, with live prices and wallet status

free

farm_clean_text

Main article text without nav/ads/boilerplate, text or Markdown

$0.02

farm_metadata

Title, description, canonical, OpenGraph, Twitter, icons, dates

$0.01

farm_links

All links, absolutised, deduplicated, internal/external, per-host counts

$0.01

farm_jsonld

JSON-LD blocks parsed and indexed by schema.org type

$0.01

farm_fingerprint

Noise-normalised page fingerprint plus a changed/unchanged verdict

$0.015

Add it to a client

Claude Desktop — claude_desktop_config.json:

{
  "mcpServers": {
    "x402-money-farm": {
      "command": "npx",
      "args": ["-y", "x402-money-farm-mcp"],
      "env": {
        "X402_PRIVATE_KEY": "0xyour_funded_base_wallet_key",
        "X402_MAX_USD": "1.00"
      }
    }
  }
}

Claude Code:

claude mcp add x402-money-farm \
  --env X402_PRIVATE_KEY=0x... \
  --env X402_MAX_USD=1.00 \
  -- npx -y x402-money-farm-mcp

Any other MCP client works the same way — it is a plain stdio server.

Related MCP server: SchemaFetch MCP Server

Try it before paying anything

npx -y x402-money-farm-mcp

Then have the agent call farm_catalog. It reports the live prices, whether a wallet is configured and how much has been spent this session. Nothing is billed, and no wallet is needed to see it. If the prices do not suit you, you learned that for free.

Configuration

The server pays from your wallet, one call at a time. Gas is paid by the facilitator, so the wallet needs USDC on Base but no ETH.

Variable

Default

Meaning

X402_PRIVATE_KEY

—

Your funded Base wallet, 0x + 64 hex characters. Without it the paid tools decline with an explanation and only farm_catalog works.

X402_MAX_USD

1.00

Hard spend cap for the process. Once reached, every further paid call is refused.

FARM_BASE_URL

https://x402-money-farm.fly.dev

The service to buy from.

X402_NETWORK

eip155:8453

Base mainnet.

Fund a wallet for this purpose with a few dollars — not your main one. The key sits in a config file on disk; treat it accordingly. The spend cap exists so a looping agent cannot drain even that wallet.

What a call costs, exactly

The price in the table is the whole price. No monthly minimum, no per-seat fee, no metered surprise. The server returns HTTP 402 with the exact amount, your wallet signs that amount, and you get the answer after settlement. A failed call is not billed. Every response carries a _payment block with the amount, the running session total and the paying address, so you can reconcile against the chain yourself.

Why pay-per-call at all

Because the alternative is a signup, a credit card, a minimum plan and a key to rotate — for an agent that wanted the metadata of four URLs. Here the agent decides on its own, pays four cents, and nobody had to create an account.

License

MIT.

Available Tools

6 tools
farm_catalogCatalogue and prices (free)A

List every tool this service offers, its price and its input schema, and report whether a wallet is configured in this session. Free — no payment required. Call this before paying for anything.

Inputs: no named parameters.

farm_clean_textURL → clean textA

Fetch a web page and return the main article text without navigation, ads or boilerplate, as plain text or Markdown, with title, language and word count. Use this to feed a page into a model or a RAG index. Costs $0.02 per call, paid in USDC on Base.

Inputs: url (required), format, max_chars.

farm_fingerprintPage fingerprint / change detectionA

A stable fingerprint of a page that ignores noise like timestamps and session ids, plus a verdict on whether it changed since a previous fingerprint. Use this to watch a page without storing or diffing its HTML yourself. Costs $0.015 per call, paid in USDC on Base.

Inputs: url (required), previous, selector, ignore_numbers.

farm_jsonldJSON-LD / structured data extractorA

All JSON-LD blocks on a page, parsed and indexed by schema.org type, with an optional type filter and a microdata fallback. Use this to read product, price, article or event data without writing a scraper. Costs $0.01 per call, paid in USDC on Base.

Inputs: url (required), type.

farm_metadataURL metadataA

Normalised metadata for a web page: title, description, canonical URL, OpenGraph and Twitter card fields, icons, language, robots directives, author and dates. Use this for link previews, deduplication or classifying a URL. Costs $0.01 per call, paid in USDC on Base.

Inputs: url (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a clearly distinct extraction task: text, metadata, links, JSON-LD, fingerprint, and service catalog. Descriptions clearly separate concepts like HTML metadata vs JSON-LD structured data, so an agent can reliably choose the right tool.

    Naming Consistency5/5

    All tools follow a uniform farm_ prefix with lowercase snake_case names, and each suffix describes the output type. This predictable naming pattern makes the toolset easy to navigate.

    Tool Count5/5

    Six tools is a well-scoped set for a paid web extraction API; every tool provides a unique function and none feel redundant. The catalog tool earns its place by exposing pricing and schemas for the paid operations.

    Completeness4/5

    The surface covers core extraction needs: main text, metadata, links, structured JSON-LD, and change detection, with few dead ends for typical workflows. Minor gaps such as raw HTML fetching or arbitrary selector extraction are not offered, but the stated purpose is handled well.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to extract structured JSON data from web pages using presets or custom JSON schemas, with confidence scores and source snippets, paid per call via USDC on Base.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to convert any URL into clean, structured, agent-optimized content with a single paid call, paying $0.02 USDC per successful extraction via x402 on Base without API keys or accounts.
      MIT