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

@obolos_tech/mcp-server

v0.4.0

Published

MCP server for Obolos x402 API marketplace — lets AI agents discover, negotiate (ANP), and pay for APIs

Downloads

271

Readme

Obolos MCP Server

Let AI agents discover and pay for APIs on the Obolos x402 marketplace.

Every API on the Obolos marketplace becomes a tool your AI agent can call — with automatic USDC micropayments on Base.

Quick Setup

Claude Code

By default, claude mcp add registers the server for the current project only. To make Obolos available in every Claude Code session across all your projects, add --scope user:

Global (all projects):

claude mcp add obolos --scope user -e OBOLOS_PRIVATE_KEY=0xyour_private_key -- node /path/to/mcp-server/dist/index.js

Per-project (current project only):

claude mcp add obolos -e OBOLOS_PRIVATE_KEY=0xyour_private_key -- node /path/to/mcp-server/dist/index.js

Browse-only (no payments): omit the -e OBOLOS_PRIVATE_KEY=... flag to search and explore APIs without paying.

Scope reference:

| Scope | Flag | Stored in | Available | |-------|------|-----------|-----------| | Local | (default) | ~/.claude.json (project entry) | Current project only | | Project | --scope project | .mcp.json at repo root | Anyone who clones the repo | | User | --scope user | ~/.claude.json (global entry) | All projects on your machine |

If the same server name exists at multiple scopes, local wins over project, project wins over user.

Claude Desktop

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "obolos": {
      "command": "node",
      "args": ["/path/to/mcp-server/dist/index.js"],
      "env": {
        "OBOLOS_PRIVATE_KEY": "0xyour_private_key"
      }
    }
  }
}

Cursor / Windsurf / Other MCP Clients

Add to your MCP config:

{
  "obolos": {
    "command": "node",
    "args": ["/path/to/mcp-server/dist/index.js"],
    "env": {
      "OBOLOS_PRIVATE_KEY": "0xyour_private_key"
    }
  }
}

Tools

| Tool | Description | |------|-------------| | search_apis | Search the marketplace by query, category, or sort order | | list_categories | Browse available API categories | | get_api_details | Get full details, input fields, and pricing for an API | | call_api | Execute an API with automatic x402 USDC payment | | get_balance | Check your wallet's USDC balance on Base |

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | OBOLOS_PRIVATE_KEY | For payments | Private key of a Base wallet with USDC | | OBOLOS_API_URL | No | Marketplace URL (default: https://obolos.tech) |

Example Usage

Once configured, your AI agent can:

"Search for token price APIs on Obolos"
→ search_apis(query: "token price")

"How much does the DeFi portfolio API cost?"
→ get_api_details(api_id: "ext-abc123")

"Get the current ETH price using Obolos"
→ call_api(api_id: "ext-abc123", method: "GET", query_params: {"symbol": "ETH"})

"What's my Obolos wallet balance?"
→ get_balance()

How Payments Work

  1. Agent calls call_api with an API id and parameters
  2. MCP server sends request to Obolos proxy
  3. Proxy returns HTTP 402 with payment requirements
  4. Server signs an EIP-712 payment with your private key
  5. Retries request with payment header
  6. API response is returned to the agent

Payments are USDC micropayments on Base ($0.001–$0.10 per call). Only 1% platform fee — 99% goes directly to the API creator.

Build from Source

cd mcp-server
npm install
npm run build

License

MIT