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

@otskit/mcp

v0.8.3

Published

OpenTimestamps MCP server — stamp, upgrade, verify via AI agents

Downloads

841

Readme

@otskit/mcp

CI npm version npm downloads TypeScript Node Coverage Quality Gate License smithery badge

OpenTimestamps MCP server - stamp, upgrade, and verify Bitcoin timestamps via AI agents.

Exposes a set of tools to any MCP-compatible agent so it can timestamp documents, monitor confirmation status, and verify proofs against the Bitcoin blockchain - all from a conversation.

Note on confirmation times: After stamping, a proof is pending until Bitcoin confirms it. Confirmations typically arrive within ~60 minutes, but can take several hours during network congestion. Use ots-mcp watch or upgrade_timestamp to monitor. A pending proof is not a failed proof.

Install

npm install -g @otskit/mcp

Agent setup

ots-mcp setup claude        # Claude Desktop
ots-mcp setup claude-code   # Claude Code CLI
ots-mcp setup codex         # Codex CLI

Each command writes the MCP entry into the agent's config file, makes a .bak backup if the file already exists, and skips if ots-mcp is already configured. Restart the agent afterwards to apply the changes.

CLI commands

| Command | Description | |---|---| | ots-mcp serve | Start the MCP server (stdio transport) | | ots-mcp stamp <sha256> | Stamp a SHA-256 hash against Bitcoin calendars | | ots-mcp upgrade <id> | Check if a pending stamp has been confirmed | | ots-mcp verify <id> | Verify a stamp against Bitcoin | | ots-mcp list [status] | List stamps (pending / confirmed / failed) | | ots-mcp watch [minutes] | Monitor pending stamps and attempt due upgrades (default: 30 min, minimum: 15 min) | | ots-mcp check-pending | Run one upgrade pass over all pending stamps | | ots-mcp scheduler install\|remove\|status | Manage OS-level scheduler for auto-upgrades | | ots-mcp backup [dest] | Backup the SQLite database | | ots-mcp setup <claude\|claude-code\|codex> | Configure MCP for an agent |

MCP tools exposed to agents

| Tool | Description | |---|---| | create_timestamp | Stamp a SHA-256 hash against 4 public OTS calendars | | upgrade_timestamp | Check if a pending stamp has been confirmed in Bitcoin | | verify_timestamp | Verify a stamp - proves hash existed before a given Bitcoin block | | inspect_timestamp | Inspect a stored proof file without network calls | | list_pending | List stamps with status, retry count, and filters | | watch | Open a terminal window monitoring pending stamps and attempting due upgrades | | hash_file | Compute the SHA-256 of a local file and return it as a 64-char hex string (no network calls) | | stamp_file | Compute SHA-256 of a local file and stamp it on Bitcoin in one step |

Data directory

All data is stored in ~/.ots-mcp/:

~/.ots-mcp/
  ots-mcp.db       # SQLite database (stamps, proof files)
  config.json      # Optional config overrides
  ots-mcp.log      # Log file

Configuration

Create ~/.ots-mcp/config.json to override defaults:

{
  "stamp_enabled": true,
  "scheduler_interval_minutes": 30,
  "retry_max_attempts": 20,
  "calendar_timeout_ms": 10000,
  "calendars": [
    "https://alice.btc.calendar.opentimestamps.org",
    "https://bob.btc.calendar.opentimestamps.org",
    "https://finney.calendar.eternitywall.com",
    "https://btc.calendar.catallaxy.com"
  ]
}

Development

npm run build    # production build
npm run dev      # watch mode
npm test         # run tests

Dependencies

Requires Node.js >= 20.