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

mcp-wait-server

v1.1.0

Published

MCP server that provides wait and get_datetime tools

Readme

MCP Wait Server

Simple Model Context Protocol server providing time-related tools for Claude Desktop and other MCP clients:

  • wait - Pauses execution for a specified number of seconds, useful when you need to wait for long-running operations to complete
  • get_datetime - Returns the current date and time in ISO 8601 format

Implementation

  • Written in TypeScript
  • Located in src/index.ts (source) and build/index.js (compiled)
  • Run with: npm start or directly with node build/index.js

Installation

Option 1: Use with npx (Recommended - No Installation Required)

The simplest approach is to use npx, which runs the package without installing it. Configure Claude Desktop as shown in the "Usage" section below.

Option 2: Install from npm

If you prefer to install the package:

# Install globally
npm install -g mcp-wait-server

Option 3: Clone and Build from Source

For development or customization:

# Clone repository
git clone https://github.com/Amico1285/mcp-wait-server.git
cd mcp-wait-server

# Install dependencies
npm install

# Build the project
npm run build

# You can run it directly
npm start

Usage in Claude Desktop

  1. Create or edit your Claude Desktop configuration file:

    • Location: ~/.anthropic/config.json on macOS/Linux
    • Location: %APPDATA%\anthropic\config.json on Windows
    • Create directories/file if needed
  2. Recommended Method: Using npx (No Installation Required)

This is the simplest approach that works across all environments without requiring global installation:

{
  "mcpServers": {
    "wait_server": {
      "command": "npx",
      "args": [
        "mcp-wait-server@latest"
      ],
      "env": {
        "MCP_WAIT_MAX_DURATION_SECONDS": "210",
        "MCP_WAIT_TOOL_DESCRIPTION": "Waits for a specified number of seconds. Use this to create a delay after starting a long-running operation (like a script or download via another tool), allowing it time to complete before you proceed or check its status."
      }
    }
  }
}
  1. Alternative Methods:

If you installed globally:

{
  "mcpServers": {
    "wait_server": {
      "command": "mcp-wait-server",
      "env": {
        "MCP_WAIT_MAX_DURATION_SECONDS": "210",
        "MCP_WAIT_TOOL_DESCRIPTION": "Waits for a specified number of seconds. Use this to create a delay after starting a long-running operation (like a script or download via another tool), allowing it time to complete before you proceed or check its status."
      }
    }
  }
}

If you installed from source:

{
  "mcpServers": {
    "wait_server": {
      "command": "/path/to/your/mcp-wait-server/build/index.js",
      "env": {
        "MCP_WAIT_MAX_DURATION_SECONDS": "210",
        "MCP_WAIT_TOOL_DESCRIPTION": "Waits for a specified number of seconds. Use this to create a delay after starting a long-running operation (like a script or download via another tool), allowing it time to complete before you proceed or check its status."
      }
    }
  }
}
  1. Restart Claude Desktop

  2. The wait and get_datetime tools will now be available to Claude Desktop

Environment Variables

  • MCP_WAIT_MAX_DURATION_SECONDS - Maximum duration for one wait call (default: 210 seconds)
  • MCP_WAIT_TOOL_DESCRIPTION - Custom description for the wait tool

How It Works

Wait Tool

When Claude is given the wait tool, it can use it to wait for a specified number of seconds. This is particularly useful in scenarios like:

  • Waiting for a long-running script to complete
  • Pausing before checking the status of a process
  • Adding delays between API calls to avoid rate limits
  • Allowing time for downloads or uploads to complete

The tool has a maximum single wait duration (default 210 seconds), but will automatically handle longer waits by instructing Claude to call it again with the remaining time.

Get DateTime Tool

The get_datetime tool provides the current date and time in ISO 8601 format. This is useful for:

  • Timestamping operations or events
  • Calculating time differences
  • Scheduling or time-based decision making
  • Logging with accurate timestamps

Development

  • Node.js 18+ required
  • Install dependencies: npm install
  • Build: npm run build
  • Run: npm start