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

@agent-signal/mcp

v1.3.0

Published

MCP server for AgentSignal — live LONG/FLAT/SHORT trading signals for AI agents

Readme

@agent-signal/mcp

MCP server for AgentSignal — live LONG/FLAT/SHORT trading signals, COMPASS macro score, RADAR calendar risk, and backtests for AI agents. Paid tools settle automatically via x402 micropayments in USDC on Base — no API key, no subscription.

Source: github.com/ToknWrks/agentsignal (this package lives at packages/mcp in the AgentSignal monorepo). For the standalone desktop app that executes trades against an exchange, see github.com/ToknWrks/trader — a separate project.

Install

claude mcp add agentsignal \
  --command npx \
  --args "-y @agent-signal/mcp@latest"

Or add it directly to your MCP client config:

{
  "mcpServers": {
    "agentsignal": {
      "command": "npx",
      "args": ["-y", "@agent-signal/mcp@latest"],
      "env": {
        "AGENT_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Environment variables

| Variable | Required | Description | |---|---|---| | AGENT_PRIVATE_KEY | Only for paid tools | 0x-prefixed EVM private key, funded with USDC on Base. Used to sign x402 payments locally — never sent to AgentSignal. Free tools (list_strategies, get_compass, get_radar, get_crypto_radar, get_signal_history, get_latest_report) work without it. | | AGENTSIGNAL_URL | No | Override the API base URL. Defaults to https://agentsignal.app. |

Without AGENT_PRIVATE_KEY, calling a paid tool returns an HTTP 402 error from AgentSignal rather than failing locally — you'll see the price in the error message.

Tools

| Tool | Cost | Description | |---|---|---| | get_signal | $0.01 via x402 | Live LONG/FLAT/SHORT signal for a saved strategy — direction, price, COMPASS score, per-condition results. | | run_backtest | $0.05 via x402 | Full historical backtest — return, alpha, Sharpe, Sortino, max drawdown, win rate, trade log. | | list_strategies | Free | List public template strategies. | | get_compass | Free | Latest COMPASS macro risk-on/off score (-7 to +7). | | get_radar | Free | Latest RADAR calendar risk score (FOMC/CPI proximity). | | get_crypto_radar | Free | AI-generated crypto market risk assessment. | | get_signal_history | Free | Last 30 days of stored signals for a strategy. | | get_latest_report | Free | Today's full market analyst report. | | get_premium_fade_signals | $0.10 via x402 | Premium fade options signals for a ticker. | | update_premium_fade_pos | Free | Close/update a premium fade position. |

Full parameter schemas are exposed via MCP tools/list — any MCP client will show them directly.

How x402 payment works here

  1. A paid tool call hits an AgentSignal endpoint that requires payment.
  2. This server catches the HTTP 402 response, signs an EIP-3009 USDC authorization with AGENT_PRIVATE_KEY via viem, and retries the request using @x402/core + @x402/evm.
  3. Coinbase's CDP facilitator settles the transfer on Base mainnet (eip155:8453). The tool call returns once payment clears — typically 1–3 seconds.

Your agent's model never sees or reasons about the private key or the payment flow — it just calls a tool and gets data back.

License

MIT