Gate402 MCP logo

Gate402 MCP

by pgalyen1987

Connects MCP clients to paid Gate402 APIs for web extraction, Base analytics, inference, compute, and marketplace tools.

Install Gate402 MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pgalyen1987-gate402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gate402-mcp"
      ],
      "env": {
        "GATE402_API_KEY": "YOUR_VALUE_HERE",
        "GATE402_BASE_URL": "YOUR_VALUE_HERE",
        "GATE402_CONFIG_DIR": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

pgalyen1987/gate402-mcp MCP server exposes Gate402 pay-per-call APIs to MCP-compatible agents over standard stdio. It covers web scraping, text processing, open-model inference, metered compute, Base wallet and token analysis, SEC filings, news, and GPU marketplace operations. Paid requests use x402 and USDC on Base, while the server can claim and cache a free-tier key on first use. Reach for it when an agent needs live web or blockchain data, token research, remote inference, or metered compute without building each API integration separately.

Use cases

  • Scrape public JavaScript-heavy pages into clean Markdown
  • Research Base tokens with risk, momentum, liquidity, and launch data
  • Query recent news and SEC filings for companies or tickers
  • Run open-model inference or metered container workloads
  • Browse or register third-party GPU marketplace providers

Key features

  • Pay-per-call Gate402 APIs over x402 and USDC on Base
  • JavaScript-rendered and stealth web scraping
  • Base wallet, token, DEX, and trading analysis
  • Open-model inference and metered GPU/CPU compute
  • Local token counting, HTML conversion, and JSON repair
  • GPU marketplace discovery and provider registration

Tools20

What Gate402 MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

27/28 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · gate402-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads489Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Tools exposed20Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Gate402 MCP works

What pgalyen1987/gate402-mcp MCP server does

pgalyen1987/gate402-mcp MCP server connects an MCP client to Gate402, a collection of HTTP 402 payment-enabled APIs using x402 and USDC on Base. Its tools span four main areas: web content, data research, blockchain and trading analysis, and compute or inference.

Web tools can fetch public pages, render client-side JavaScript, remove navigation and advertising, and return Markdown suitable for an LLM. A stealth scraper is available for pages that resist the regular fetcher. Local utilities count tokens, convert supplied HTML to Markdown, repair malformed JSON, and reduce text size before downstream inference.

The data tools query Base wallet and token information, DEX prices and liquidity, recent news, and SEC EDGAR filings. Token-focused tools provide risk classifications, momentum and order-flow signals, launch discovery, and best-execution information across pools.

How it works

The server runs as a standard stdio MCP process. An MCP client starts it with npx -y gate402-mcp, then exposes its tools to an agent. On first use, the process claims a free-credit API key and stores it under ~/.gate402-mcp/key.json by default. Paid calls consume that credit and return a top-up link when the balance is exhausted.

Set GATE402_API_KEY to use a funded account instead of the free tier. Payment acts as authentication, so no separate account creation is described. Most remote tools charge per call, while the token counter, HTML converter, and JSON repair tool run locally without payment or network access. Inference is billed according to actual token usage, and compute returns a signed execution receipt. Marketplace inference is separate: it settles on-chain per call and requires an x402 payment client rather than the free-tier key.

Setup and configuration

Install globally with npm install -g gate402-mcp, or run it directly with npx -y gate402-mcp. Configure the command and arguments in an MCP client such as Claude Desktop, Claude Code, Cursor, Cline, or Windsurf. Agent frameworks with MCP adapters can also load the stdio server.

The documented variables are GATE402_API_KEY for a funded account, GATE402_BASE_URL to override the default Gate402 gateway, and GATE402_CONFIG_DIR to change where the cached key is stored. The default gateway is https://gate402.app, and the default configuration directory is ~/.gate402-mcp.

Tools and capabilities

pgalyen1987/gate402-mcp MCP server provides paid tools for scraping, stealth scraping, minification, semantic deduplication, Base intelligence, DEX data, news, EDGAR filings, token risk, momentum, swap analysis, launches, model inference, and container compute.

Its free local tools are gate402_token_count, gate402_html_to_md, and gate402_json_repair. The marketplace tools add provider discovery, marketplace inference, and provider registration. gate402_become_provider returns a signable EIP-191 message and registration request for a provider listing; the material states that providers keep 85% of each call, paid in USDC on Base.

Limitations and notes

gate402_compute is listed as unavailable until a compute provider is connected and returns HTTP 503 in that state. Paid tools have per-call or per-token charges, so agents should budget usage and can use the local token counter before inference. The regular scraper is intended for public URLs; the stealth scraper is the fallback for JavaScript-heavy or lightly protected pages.

The server does not eliminate payment requirements. The free tier applies to first runs and can be replaced with a funded API key, while marketplace inference needs an x402-capable payment client. The repository is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gate402 MCP

pgalyen1987/gate402-mcp is an MCP server that connects MCP clients to Gate402’s x402 and USDC-on-Base APIs. Its main tools cover web scraping, Base token and wallet analysis, DEX data, news, SEC filings, open-model inference, metered compute, and GPU marketplace operations, with some free local utilities.

Install it with `npm install -g gate402-mcp`, or run it without a global installation using `npx -y gate402-mcp`. Add that command to your MCP client configuration using stdio transport.

Billing uses Gate402’s x402 payment flow with USDC on Base. The server claims and caches a free-credit API key on first use; after that credit is exhausted, set `GATE402_API_KEY` to a funded account or follow the returned top-up link.

Yes, it works with Cursor through the same stdio configuration used by other listed MCP clients. Point Cursor at `npx -y gate402-mcp` as the server command.

Not yet, unless a compute provider is connected. The `gate402_compute` tool currently returns HTTP 503 until such a provider is available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGate402 MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pgalyen1987-gate402-mcp?style=directory)](https://allmcps.com/mcp/pgalyen1987-gate402-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/pgalyen1987-gate402-mcp"><img src="https://allmcps.com/api/badge/pgalyen1987-gate402-mcp?style=directory" alt="Gate402 MCP on AllMCPs" /></a>