FetchKiosk
v0.2.0FetchKiosk's 20 x402 data feeds as MCP tools, paid per call in USDC on Base from a caller wallet.
FetchKiosk runs as a local stdio MCP server. It exposes typed tools for ten HTTP endpoints. Each successful paid request uses USDC on Base from the wallet configured on the caller's machine. The MCP host receives ordinary tool results with the upstream data and a payment receipt. From the extracted connectors/fetchkiosk-mcp directory on a Node 24 development machine: A local checkout runs with node /absolute/path/to/fetchkiosk-mcp/dist/cli.js. For a tarball install, run npm install --prefix /absolute/path/to/local-tools /absolute/path/to/fetchkiosk-mcp-0.1.0.tgz.
Summary extracted from the README.
FetchKiosk MCP connector
FetchKiosk runs as a local stdio MCP server. It exposes typed tools for ten HTTP endpoints. Each successful paid request uses USDC on Base from the wallet configured on the caller's machine. The MCP host receives ordinary tool results with the upstream data and a payment receipt.
Tools
| Tool | Service | USDC per call |
|---|---|---|
| domain_facts | FetchKiosk Domain Facts | 0.005 |
| clinical_trials | Clinical Trial Fact Pack | 0.005 |
| table_extract | FetchKiosk Table Extract | 0.003 |
| federal_register | FetchKiosk Federal Register Feed | 0.003 |
| congress_feed | FetchKiosk Congress Feed | 0.003 |
| state_bills | FetchKiosk State Bills Feed | 0.003 |
| base_new_pools | FetchKiosk Base New Pools Feed | 0.005 |
| package_advisories | FetchKiosk Package Advisory Feed | 0.003 |
| sec_filings | FetchKiosk SEC Filings Feed | 0.003 |
| research_papers | FetchKiosk Research Papers Feed | 0.003 |
fetchkiosk_catalog reads the bundled catalog offline and reports the visible tools, prices, receiving address, documentation links and remaining budget information. fetchkiosk_quote makes one unsigned HTTP request and compares the live terms with the saved terms. Its optional arguments default to the endpoint's recorded example. Both tools are free. A quote's wouldPay field describes whether the configured wallet and current limits could authorize those terms. Dry-run blocks signing even when wouldPay is true.
Local installation
From the extracted connectors/fetchkiosk-mcp directory on a Node 24 development machine:
npm ci
npm run build
npm test
npm pack
A local checkout runs with node /absolute/path/to/fetchkiosk-mcp/dist/cli.js. For a tarball install, run npm install --prefix /absolute/path/to/local-tools /absolute/path/to/fetchkiosk-mcp-0.1.0.tgz. The entry point is then /absolute/path/to/local-tools/node_modules/fetchkiosk-mcp/dist/cli.js. The built package targets Node 20 or newer.
From npm, install with npm install fetchkiosk-mcp@0.1.0 or run npx -y fetchkiosk-mcp@0.1.0. The installed executable is fetchkiosk-mcp.
MCP host configuration
Paths below refer to the built checkout and use forward slashes. An absolute path to node also works. Free operation needs no environment entries. The key placeholder illustrates the field and fails wallet validation until replaced locally. Host config files containing a wallet key belong in private local storage.
Claude Desktop — claude_desktop_config.json
{"mcpServers":{"fetchkiosk":{"command":"node","args":["/absolute/path/to/fetchkiosk-mcp/dist/cli.js"],"env":{"FETCHKIOSK_EVM_PRIVATE_KEY":"0xYOUR_KEY_HERE"}}}}
Cursor — .cursor/mcp.json
{"mcpServers":{"fetchkiosk":{"command":"node","args":["/absolute/path/to/fetchkiosk-mcp/dist/cli.js"],"env":{"FETCHKIOSK_DRY_RUN":"1"}}}}
VS Code — .vscode/mcp.json
{"servers":{"fetchkiosk":{"type":"stdio","command":"node","args":["/absolute/path/to/fetchkiosk-mcp/dist/cli.js"]}}}
Codex CLI — ~/.codex/config.toml
[mcp_servers.fetchkiosk]
command = "node"
args = ["/absolute/path/to/fetchkiosk-mcp/dist/cli.js"]
[mcp_servers.fetchkiosk.env]
FETCHKIOSK_DRY_RUN = "1"
Wallet and spending
A dedicated wallet holding only a few dollars of Base USDC limits exposure. The private key stays on the caller's machine. FetchKiosk receives an EIP-3009 authorization for the pinned recipient and amount. The connector signs locally and attaches that authorization to one HTTP request. No analytics, telemetry, update check or builder attribution runs.
| Variable | Default | Behavior |
|---|---|---|
| FETCHKIOSK_EVM_PRIVATE_KEY | Unset | Enables local signing. With no wallet, the endpoints can still be quoted. |
| FETCHKIOSK_MAX_PER_CALL_USD | 0.01 | Per-call ceiling, up to 1.00. |
| FETCHKIOSK_SESSION_BUDGET_USD | 0.25 | Process budget, up to 25. Reset on restart. |
| FETCHKIOSK_DRY_RUN | Unset | 1 stops after the unsigned terms check. |
| FETCHKIOSK_TOOLS | All ten | Comma-separated paid tool names. Free tools remain available. |
The local validator checks the full endpoint schema. It accepts numbers and booleans for GET parameters that have string representations. An eligible call first sends an unpaid request to its catalog URL. Signing requires the pinned scheme, Base network, USDC asset, receiving address and exact amount. The process reserves the price before signing, including across concurrent calls. Redirects are refused.
A paid 200 returns the original data and a payment block with the transaction hash when available. A missing or unreadable receipt gives settled=null. Check the transaction hash or payer's USDC transfers for settlement evidence. Errors are not charged. The session total conservatively includes every authorization sent, including an uncertain outcome or an upstream error. A timeout after dispatch produces outcome_unknown and keeps the reservation. The connector sends each signed request once.
Data and reuse
| Service | Source and reuse information |
|---|---|
| Domain Facts | Direct public DNS and TLS observations, including published SPF and DMARC records. The challenge specifies no blanket license for domain-owner content. |
| Clinical Trial Fact Pack | ClinicalTrials.gov API v2 records follow the registry terms. |
| Table Extract | Caller-provided HTML, PDF, text or a public URL. Rights depend on the input document. Extraction grants no new license. |
| Federal Register | FederalRegister.gov API. The service identifies federal government works as public domain. |
| Congress Feed | Congress.gov API v3. The service cites US government works and the Library of Congress CC0 notice. |
| State Bills | Open States / Plural Policy. Open States claims no copyright in the collected data. Source jurisdictions can have their own terms. |
| Base New Pools | Public factory events on Base. The feed describes public chain data. Service documentation |
| Package Advisories | OSV.dev and the originating advisory databases. License varies by item. Service documentation |
| SEC Filings | Public EDGAR filing metadata under the SEC website dissemination policy. Service documentation |
| Research Papers | arXiv descriptive metadata under CC0 1.0. Paper content retains its separate rights. Service documentation |
Rebuilding discovery
npm run gen -- --challenges tests/fixtures/challenges reproduces the committed tool snapshot. npm run gen reads free live challenges and probes sample and documentation links. Changed terms require review before distributing regenerated pins. npm run gen:registry refreshes the draft registry metadata and static card. npm run smoke builds and exercises the CLI with unpaid requests. node tests/memory.ts measures the idle child process after initialization, tool listing and catalog discovery.