Back to the catalog

io.github.FoundryNet/foundrynet-scrape

x402-gated web extraction gateway. Tools: extract, extract_batch.

Open source Repository Open in the app JSON README (API)

About

x402-gated web extraction gateway. Tools: extract, extract_batch.

Details

Kind
MCP servers
Topic
Finance & crypto
Publisher
foundrynet
Origin
official
Category
ferramentas
Transport
http
Version
1.0.1
Last push
2026-08-11T06:22:34Z
Repository state
arquivado
Language
JavaScript
License
NOASSERTION
Added
2026-08-29 03:01:55
Updated
2026-08-29 03:01:55
Origin id
io.github.FoundryNet/foundrynet-scrape

README

# FoundryNet Scrape

x402-gated **web extraction** gateway for AI agents. Fetch any page and get clean content back — text, markdown, or structured JSON. No API keys, no accounts.

Part of the [FoundryNet Data Network](https://foundrynet.io?utm_source=github&utm_medium=readme&utm_campaign=foundrynet-scrape). Pay-per-call in USDC (x402) or bypass with an `fnet_` Forge key. Also exposed as an MCP server for Smithery/Glama/Claude.

## Tools / Endpoints

| Tool / Route | Price | Description |
|--------------|-------|-------------|
| `extract` — `POST /v1/extract` | $0.01 | `{url, format?: "text"\|"markdown"\|"json"}` → extracted main content |
| `extract_batch` — `POST /v1/extract/batch` | $0.008 | `{urls: string[]}` (max 20) → array of extracted content (volume discount) |

Backends: **Mozilla Readability** (article extraction) + **Turndown** (HTML→markdown) + **Cheerio** (fallback) — all free, no API key. Boilerplate (scripts, nav, ads) is stripped automatically.

## MCP

Streamable HTTP endpoint: `https://foundrynet-scrape-production.up.railway.app/mcp`

```
claude mcp add --transport http foundrynet-scrape https://foundrynet-scrape-production.up.railway.app/mcp
```

Tools list without auth (discoverable). Pass an `fnet_` key as `api_key` (or `Authorization: Bearer`) to bypass payment; otherwise the tool returns an x402 `payment_required` object.

## Payment (x402)

Standard x402 v2 on Solana mainnet USDC. Discovery: `GET /x402`, `GET /.well-known/x402`, per-route `402` at `GET /x402/{route}`. Validated on [402 Index](https://402index.io).

The highest-frequency tool category — every research, content, and data agent needs to read the web.

More