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

@thryx/portfolio-mcp-server

v1.0.0

Published

MCP server exposing the THRYX onchain contract portfolio (14 mainnet contracts on Base) as agent-callable tools — DeadManSwitch, KeeperBountyLab, OnchainPrimitives (StealthAddressRegistry EIP-5564, AddressTaggingMarket, TimeCapsule, etc.), and Clanker-V4

Readme

@thryx/portfolio-mcp-server

MCP server for the THRYX onchain contract portfolio. Read-only tools that any AI agent can install in 30 seconds and immediately query 14 deployed contracts on Base mainnet.

npm

The THRYX treasury has shipped 14 contracts on Base mainnet so far:

  • DeadManSwitch — on-chain inheritance switch with bounty triggers
  • KeeperBountyLab (6) — ManualFloorOracle, VestingAutoClaim, EnsAutoRenewer, DaoProposalExecutor, NftCancelOnFloorDrop, CurveGraduationPusher
  • OnchainPrimitives Lab (7) — StealthAddressRegistry (EIP-5564 + EIP-6538), SlashablePromiseVault, ConditionalTokenDrop, TimeCapsule, AddressTaggingMarket, GroupBountyPool, AtomicSwapHTLC
  • 4 Clanker-V4 tokens — Aletheia (ALETH), Mnemosyne (MNEM), Huginn (HUGIN), Custos (CUSTOS)

Canonical machine-readable index: https://lordbasilaiassistant-sudo.github.io/thryx-deployments/addresses.json.

This MCP server wraps that index plus per-contract view-function helpers so any AI agent (Claude, Cursor, Cline, Continue, etc.) can:

  • Discover what's deployed without scraping web pages
  • Read DeadManSwitch state by switch ID
  • Look up address attestations from the AddressTaggingMarket
  • Resolve EIP-5564 stealth meta-addresses for any registrant
  • Check TimeCapsule unlock state
  • Query ERC-20 supplies and balances for THRYX-launched tokens
  • Call any whitelisted view function via a generic thryx_call_contract tool

Read-only by design. Nothing in this server can sign or submit a transaction.


Install — 30 seconds

Add to your MCP client config (Claude Desktop, Cursor, Cline, Continue, etc.):

{
  "mcpServers": {
    "thryx-portfolio": {
      "command": "npx",
      "args": ["-y", "@thryx/portfolio-mcp-server"]
    }
  }
}

Restart your client. The server pulls the live address index on first use and caches it for 60 seconds.

Optional: custom Base RPC

Default is the public Base RPC (https://mainnet.base.org). For higher rate limits, set BASE_RPC_URL:

{
  "mcpServers": {
    "thryx-portfolio": {
      "command": "npx",
      "args": ["-y", "@thryx/portfolio-mcp-server"],
      "env": { "BASE_RPC_URL": "https://base-mainnet.g.alchemy.com/v2/YOUR_KEY" }
    }
  }
}

Tools

Portfolio (no RPC required)

| Tool | What it returns | |---|---| | thryx_portfolio_summary | High-level summary: contract count, token count, treasury, chain, links | | thryx_list_contracts | Every contract; optional category filter | | thryx_get_contract | Single contract by name or address — incl. curated read-only ABI | | thryx_list_tokens | Every Clanker-V4 token in the portfolio | | thryx_get_token | Single token by symbol/name/address |

On-chain reads (Base mainnet)

| Tool | Reads | |---|---| | thryx_dms_get_switch | DeadManSwitch by ID — depositor, beneficiary, deadline, isAlive | | thryx_dms_total_switches | Count of all DeadManSwitch positions | | thryx_dms_switches_by | Switch IDs by depositor or beneficiary address | | thryx_attestations_for | AddressTaggingMarket attestations + top label for an address | | thryx_attestations_total | Total attestations ever made | | thryx_stealth_meta_address | EIP-5564 stealth meta-address for a registrant + scheme ID | | thryx_capsule_status | TimeCapsule unlock check + creator/recipient lookups | | thryx_token_supply | ERC-20 read for THRYX tokens or any Base ERC-20 | | thryx_call_contract | Generic ABI-gated view-fn caller for any portfolio contract |


Why MCP?

Model Context Protocol is the open standard for connecting AI assistants to real tools. Instead of asking an agent to describe a contract, this server lets the agent read it. Lower hallucination risk, real on-chain state, no custom client integration needed.

The THRYX deployments index is also consumable directly — just GET the JSON URL above. The MCP server adds typed tool surfaces and live chain reads on top.


Sibling packages

Anthony Snider also publishes:

This package is the portfolio server: discovery + read state on the contracts the THRYX treasury has actually shipped.


License

MIT. The deployments index itself is CC0-1.0.

Author

Anthony Snider · [email protected] · thryx.fun