npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@2sio/mcp

v1.33.0

Published

MCP server for 2s — the (most) everything API. Hundreds of pay-per-call AI-agent data tools (public records, finance, crypto, security, legal, health, geo, EDI), settled in USDC on Base or Solana via x402.

Readme

@2sio/mcp

MCP server for 2s.io — the (most) everything API. Gives any MCP-aware AI agent pay-per-call access to hundreds of ground-truth data endpoints.

Model Context Protocol is the standard for AI agents to discover and use tools. This package runs a local MCP server that exposes every 2s.io endpoint as a callable tool. Plug it into Claude Desktop, AgentKit, Cline, Continue, or any other MCP host.

npx @2sio/mcp --signer 0x...

No accounts to create. The server signs for whichever chain you configured a key on — Base USDC (EIP-3009) or Solana SPL-USDC. Settles in ~2 seconds. Prices start at $0.001/call. 2s is an open-ended experiment in maximally-comprehensive agent infrastructure — the toolset grows continually (200+ endpoints across 75+ groups and counting).

What's exposed

A single MCP install gives the agent tools spanning, among others:

  • Patents & trademarks — USPTO patent search/detail/documents, trademark full-text search
  • Legal & courts — federal & state case search and citation verification (CourtListener / Free Law Project)
  • Financial filings & markets — SEC EDGAR filings, equities, FX, crypto, treasury rates
  • Government & public records — Federal Register, Congress, FEC, BLS, US Census, nonprofits, licenses
  • Science & medicine — arXiv / PubMed / Semantic Scholar papers, ICD-10, clinical trials, chemistry, nutrition
  • Vehicles & aviation — NHTSA VIN decode & recalls, aircraft registry, flights, airports
  • Geospatial & weather — geocoding, NWS/NOAA forecasts, climate, earthquakes, tides, places, parks
  • Business & property — company registries, property records
  • Web & data utilities — URL → markdown, screenshots, schema extraction, hashing, barcodes, image description, AI summarization
  • Agent primitives — memory, marketplace, knowledge-delta

See the live catalog for everything currently shipped.

Try it free first

Pass --trial (or set TWOS_TRIAL=1) to make real calls without paying — one free call per endpoint per hour, no key required. Drop the flag and configure a key when you're ready to pay per call.

Claude Desktop setup

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "2sio": {
      "command": "npx",
      "args": ["-y", "@2sio/mcp"],
      "env": {
        "EVM_PRIVATE_KEY": "0x...your_funded_base_mainnet_key..."
      }
    }
  }
}

Restart Claude Desktop. The agent now has 200+ new tools — patent search, court-case lookup, SEC filings, VIN decode, ICD-10 lookup, sanctions screening, structured webpage extraction, geocoding, weather, and much more.

AgentKit / programmatic use

import { createTwoSioMcpServer } from '@2sio/mcp'
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'

const server = createTwoSioMcpServer({
  privateKey: process.env.EVM_PRIVATE_KEY as `0x${string}`,
  maxPriceUsd: 0.05,
})
await server.connect(new StdioServerTransport())

Safety

  • Default maxPriceUsd is $0.10 — the server refuses to sign any call advertising a higher price. Override via --max-price flag or the SDK option.
  • All payments use EIP-3009 single-use authorizations with a 60-second deadline. No spending allowances are issued; even if the key is compromised at rest, the attacker can only spend what's in the wallet at the moment of signing — and only at advertised prices.
  • The key is read from env / argv into memory only; it never appears in any outgoing 2s.io request.

Tools exposed

Same set as @2sio/sdk. See https://2s.io/api/directory for the live catalog and https://2s.io/.well-known/x402 for the machine-readable manifest.

Links