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

trustsource-mcp

v0.1.6

Published

MCP server exposing TrustSource x402-paid domain verification APIs (trust score, SSL check, security headers, robots.txt) to any MCP-compatible client.

Readme

trustsource-mcp

MCP server exposing the TrustSource suite of x402-paid domain verification APIs to any MCP-compatible client (Claude Desktop, Claude Code, Cline, Continue, etc.).

Four tools, each settled per-call in USDC on Base Mainnet. No API keys, no signups, no accounts — just a wallet.

These tools are also discoverable to autonomous agents via Coinbase's Bazaar marketplace, where AI agents browse, pay for, and call x402-enabled services.

Tools

| Tool | Cost | What it does | |---|---|---| | trustsource_score | $0.003 USDC | Domain trust score 0–100 (WHOIS age, TLD, DNS, registrar) | | trustsource_ssl | $0.002 USDC | TLS certificate intelligence (chain, expiry, CA trust, TLS version) | | trustsource_headers | $0.003 USDC | HTTP security header audit (A+ to F grade) | | trustsource_robots | $0.002 USDC | robots.txt + AI bot policy across 24 known crawlers |

Install

npm install -g trustsource-mcp

Or run without installing:

npx -y trustsource-mcp

Configure

The server needs a Base Mainnet wallet private key. The wallet must hold:

USDC for per-call fees ($0.002–$0.003 per call) ETH for gas (minimal — Base Mainnet gas is fractions of a cent per call)

Suggested starter balance: $1 USDC + 0.0005 ETH on Base Mainnet covers ~300 calls. Bridge via bridge.base.org or buy directly to a Base wallet via Coinbase.

Set the private key in your MCP client's environment, not in any committed file.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "trustsource": {
      "command": "npx",
      "args": ["-y", "trustsource-mcp"],
      "env": {
        "WALLET_PRIVATE_KEY": "0xYOUR_BASE_MAINNET_PRIVATE_KEY"
      }
    }
  }
}

Restart Claude Desktop. The four tools appear automatically.

Cline / Continue / other MCP clients

Add to your client's MCP server configuration:

{
  "trustsource": {
    "command": "npx",
    "args": ["-y", "trustsource-mcp"],
    "env": {
      "WALLET_PRIVATE_KEY": "0x..."
    }
  }
}

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | WALLET_PRIVATE_KEY | yes | — | Base Mainnet wallet private key with USDC + ETH for gas | | TRUSTSOURCE_API_URL | no | https://api.trustsource.cc | Override the API base URL (useful for testing) |

How it works

  1. The MCP client calls a tool (e.g. trustsource_score).
  2. This server makes an HTTP request to the corresponding TrustSource endpoint.
  3. The API returns HTTP 402 with a PAYMENT-REQUIRED header.
  4. x402-fetch signs an EIP-3009 USDC transferWithAuthorization for the exact amount.
  5. The request is retried with the signed payment in X-PAYMENT.
  6. The Coinbase Developer Platform facilitator settles on-chain.
  7. The API returns the JSON response. The MCP client receives the result.

Total latency per call: typically 1–3 seconds including settlement.

Cost discipline

If your agent is making many calls, deduplicate by domain client-side before invoking tools. The API caches responses (1 hour for /trustscore and /sslcheck, up to 12 hours for /robots and /headers), but the cache reduces latency, not price — every call costs the same regardless of whether it hits cache.

Worst-case full domain audit: trustsource_score + trustsource_ssl + trustsource_headers + trustsource_robots = $0.010 USDC.

Build from source

git clone https://github.com/SurfEther/TrustSourceX402.git
cd TrustSourceX402/mcp-server
npm install
npm run build
npm start

Links

  • TrustSource site: https://trustsource.cc
  • OpenAPI spec: https://api.trustsource.cc/openapi.json
  • Discoverable in Bazaar: https://agentic.market
  • Contact: [email protected]

License

MIT