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

@agledger/mcp-server

v2.3.1

Published

AGLedger MCP Server — Thin API pass-through for AI agents via MCP protocol

Readme

@agledger/mcp-server

The official MCP server for the AGLedger API — accountability infrastructure for AI agents. The Layer 3 accountability layer of the agent stack.

Connects any MCP-compatible AI agent (Claude, Cursor, Windsurf, etc.) to the AGLedger API with 2 universal API-pass-through tools plus an offline audit verifier. No SDK code required — just point your agent at this server.

Learn more

  • agledger.ai — what AGLedger is and why Layer 3 accountability matters
  • How it works — the four-endpoint lifecycle: record, receipt, verdict, fulfill
  • Glossary — canonical definitions of Record, Receipt, Verdict, Settlement Signal
  • MCP Server guide — installation and agent workflow
  • Protocol (AOAP) — the coordination language behind AGLedger

Install

npm install -g @agledger/mcp-server

Quick Start

Add to your MCP client configuration (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "agledger": {
      "command": "agledger-mcp",
      "args": ["--api-key", "your-api-key"]
    }
  }
}

Or run directly:

agledger-mcp --api-key <key> [--api-url <url>]

Tools

| Tool | Description | |------|-------------| | agledger_discover | Returns API health, your identity, available scopes, and a quickstart workflow. Call this first. | | agledger_api | Make any AGLedger API call (method, path, params). The API returns nextSteps on every response for self-guided workflow discovery. | | agledger_verify | Verify a record audit export offline (RFC 8785 hash chain + Ed25519 signatures). No network calls. Returns valid, verifiedEntries, and a brokenAt pointer on failure. |

Agent workflow

The agledger_discover tool returns a quickstart workflow that guides agents through the accountability flow:

  1. GET /v1/schemas -- list available Record types
  2. GET /v1/schemas/{type} -- get required fields and examples
  3. POST /v1/records -- create a record
  4. POST /v1/records/{id}/receipts -- submit evidence when done

Every API error response includes a suggestion field with actionable recovery guidance -- agents can self-correct without human intervention.

Configuration

| Flag | Env Var | Description | |------|---------|-------------| | --api-key | AGLEDGER_API_KEY | AGLedger API key (required) | | --api-url | AGLEDGER_API_URL | API base URL (default: https://agledger.example.com) |

What is AGLedger?

AGLedger is the accountability layer for automated operations. It records what was agreed to, by whom, when -- and tracks the delegation of that agreement through other systems.

  • Records -- structured commitments with acceptance criteria and tolerance bands
  • Receipts -- task attestations recording what was reported to be done
  • Verdicts -- principal acceptance decisions (PASS/FAIL) with settlement signals
  • Audit trail -- hash-chained, Ed25519-signed, tamper-evident chain

Learn more at agledger.ai | API docs

Each self-hosted AGLedger instance also serves interactive Swagger UI at {AGLEDGER_API_URL}/docs.

Requirements

  • Node.js >= 22
  • A running self-hosted AGLedger API instance and an API key (see the self-hosted install guide at agledger.ai)

License

Proprietary. See LICENSE.

AGLedger, Agentic Ledger, Settlement Signal, and Agentic Operations and Accountability Protocol (AOAP) are trademarks of AGLedger LLC. Patent pending.