Agent Skills

SelectaRank Data Gateway

MCP server (stdio) for the SelectaRank x402 data gateway. Tools are generated from the gateway's OpenAPI: USGS earthquakes, NOAA/NWS weather, World Bank indicators, an x402 endpoint preflight check and more. Pay per call ($0.002-$0.01) in USDC on Base. Without a wallet key it lists the tools and returns the payment requirements without paying.

Install

Install and configure the MCP from https://github.com/selectarank/selectarank-mcp now. Follow the repository's installation instructions, ask me for anything you can't complete yourself, and verify its tools load.
README

selectarank-mcp

MCP server (stdio) for the SelectaRank Data Gateway, a pay-per-call API that uses the x402 protocol with USDC on Base. It lets an AI agent discover the gateway's paid endpoints as MCP tools and, if you give it a wallet key, pay for them automatically.

MCP Registry name: io.github.selectarank/selectarank-mcp

Tools

Tools are generated from the gateway's /openapi.json at startup (a built-in copy of the list is used if it cannot be fetched).

ToolEndpointPrice per call (USDC)Data source
selectarank_earthquakesGET /v1/earthquakes/{feed}0.002USGS
selectarank_weatherGET /v1/weather/{lat}/{lon} (US only)0.003NOAA/NWS
selectarank_worldbankGET /v1/worldbank/{country}/{indicator}0.002World Bank
selectarank_jgbYieldsGET /v1/jp/jgb-yields?days=0.002Japan government bond yield curve 1Y-40Y (Ministry of Finance, PDL 1.0)
selectarank_ustYieldsGET /v1/us/treasury-yields?days=0.002US Treasury par yield curve (US Treasury)
selectarank_ecbFxGET /v1/eu/ecb-fx?currencies=&days=0.002ECB euro reference FX rates
selectarank_secFilingsGET /v1/us/sec/filings/{cik}0.003Recent SEC EDGAR filings by CIK, with document URLs
selectarank_preflightGET /v1/preflight?url=0.010Checks another x402 endpoint's 402 challenge (one unauthenticated GET, no funds move)

The data tools (earthquakes, weather, World Bank, JGB/US yields, ECB FX, SEC filings) return public-domain upstream data wrapped with source and license metadata. The gateway is a passthrough; it does not produce its own data.

Payment

  • Network: Base mainnet (eip155:8453), scheme exact
  • Asset: USDC, 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Recipient (payTo): 0x57a0c0b413516BbF3Fcdb88408D59B7809e3efd0

Always verify these against the live 402 response; the server returns the gateway's actual PaymentRequirements.

Install

Requires Node.js 18+.

{
  "mcpServers": {
    "selectarank": {
      "command": "npx",
      "args": ["-y", "github:selectarank/selectarank-mcp"],
      "env": { "EVM_PRIVATE_KEY": "0x..." }
    }
  }
}

Omit env to run without paying (see below). Installed straight from GitHub for now; it is not yet published to npm.

Environment variables

VariableRequiredMeaning
EVM_PRIVATE_KEYnoPrivate key of a wallet holding USDC on Base. With it, tool calls pay automatically via @x402/fetch. Use a dedicated low-balance wallet. Never committed or logged by this package.
SELECTARANK_MAX_PRICE_USDCnoRefuse to auto-pay above this amount per call. Default 0.05.
SELECTARANK_BASE_URLnoOverride the gateway URL. Default https://selectarank-data.vercel.app.

Behavior without a key

Without EVM_PRIVATE_KEY the server still starts and lists all tools. Calling a tool makes one unpaid request and returns the 402 PaymentRequirements (amount, asset, payTo, network) plus instructions for paying. Nothing is spent.

Status and limits

  • Sales to date: 0. This is a new service.
  • The data comes from USGS, NOAA/NWS and the World Bank; freshness and accuracy are theirs. No SLA.
  • You are responsible for the funds in the wallet you configure.

Development

npm install
npm run build
npm run typecheck

License

MIT

Search skills and MCP servers

Search across 31,816 skills and MCPs