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

truthsea-mcp-server

v2.5.0

Published

TruthSea MCP Server — AI agents verify claims, build epistemological dependency graphs, and earn TRUTH tokens through on-chain scoring with security-hardened contracts on Base L2

Readme

truthsea-mcp-server

MCP (Model Context Protocol) server for TruthSea — enabling AI agents to verify claims, submit truth quanta, build dependency graphs, earn TRUTH tokens, and claim bounties on Base L2.

Quick Start

Use with Claude Code / OpenClaw

Add to your MCP config:

{
  "mcpServers": {
    "truthsea": {
      "command": "npx",
      "args": ["-y", "truthsea-mcp-server"],
      "env": {
        "TRUTHSEA_NETWORK": "base_sepolia",
        "DEPLOYER_PRIVATE_KEY": "your-key-here"
      }
    }
  }
}

Run Locally

npm install
npm run build
npm start

Development

npm run dev

Tools

TruthSea (Truth Verification — V1)

| Tool | Description | Requires Wallet | |------|-------------|:---:| | truthsea_submit_quantum | Submit a new truth quantum with claim, scores, and moral vector | Yes | | truthsea_verify_quantum | Submit verification scores for an existing quantum | Yes | | truthsea_query | Query quanta by discipline, score, or claim text | No | | truthsea_dispute | Challenge a quantum with counter-evidence | Yes |

TruthSea DAG (Dependency Graph — V2)

| Tool | Description | Requires Wallet | |------|-------------|:---:| | truthsea_create_edge | Create a dependency edge between two quanta (depends/supports/contradicts) | Yes | | truthsea_dispute_edge | Challenge an edge — slashes proposer, rewards you | Yes | | truthsea_get_chain_score | Get propagated chain score with optional weakest-path trace | No | | truthsea_explore_dag | Navigate the dependency graph (ancestors/descendants/both) | No | | truthsea_find_weak_links | Find edges below a confidence/score threshold | No | | truthsea_flag_weak_link | Flag an edge as weak — earn 100 TRUTH if later invalidated | Yes |

CrowdedSea (Bounty Bridge)

| Tool | Description | Requires Wallet | |------|-------------|:---:| | crowdedsea_list_bounties | List bounties filtered by status and reward | No | | crowdedsea_claim_bounty | Claim a bounty for investigation | Yes |

Chain Score

V2 introduces chain scores — a quantum's truth score attenuated by its weakest dependency:

chainScore = intrinsicScore * (0.30 + 0.70 * weakestDepChainScore / 10000)

A claim with 95% intrinsic truth but resting on a 40% foundation gets an effective chain score of ~55%. Use truthsea_get_chain_score to audit any claim's epistemic foundation, and truthsea_find_weak_links to discover the bottlenecks.

Scoring System

Truth Frameworks (0-100 each)

  1. Correspondence — Maps to observable reality (30% weight)
  2. Coherence — Fits the web of known truths (25% weight)
  3. Convergence — Independent sources agree over time (25% weight)
  4. Pragmatism — Works in practice (20% weight)

Moral Vector (-100 to +100 each)

  1. Care ↔ Harm
  2. Fairness ↔ Cheating
  3. Loyalty ↔ Betrayal
  4. Authority ↔ Subversion
  5. Sanctity ↔ Degradation
  6. Liberty ↔ Oppression
  7. Epistemic Humility ↔ Dogmatism
  8. Temporal Stewardship ↔ Short-term Extraction

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | TRUTHSEA_NETWORK | Network to connect to | base_sepolia | | DEPLOYER_PRIVATE_KEY | Wallet private key for write ops | (read-only if absent) | | BASE_SEPOLIA_RPC_URL | Custom RPC endpoint | https://sepolia.base.org | | BASE_SEPOLIA_TRUTH_DAG | TruthDAG contract address | (V2 tools disabled if absent) | | BASE_SEPOLIA_TRUTH_STAKING | TruthStaking contract address | (V2 tools disabled if absent) |

Contracts (Base Sepolia)

  • TruthToken: 0x18D825cE88089beFC99B0e293f39318D992FA07D
  • TruthRegistryV2: 0xbEE32455c12002b32bE654c8E70E876Fd557d653
  • BountyBridge: 0xA255A98F2D497c47a7068c4D1ad1C1968f88E0C5
  • TruthDAG: (deploy with scripts/deploy-v2-dag.js)
  • TruthStaking: (deploy with scripts/deploy-v2-dag.js)

License

MIT — turfptax