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 🙏

© 2025 – Pkg Stats / Ryan Hefner

now-mcp

v1.0.0

Published

MCP server for getting current time and time-related operations

Readme

Now MCP

A Model Context Protocol (MCP) server that provides time-related tools and resources for Claude and other MCP clients.

Features

Tools

  1. get-current-time - Get the current date and time in various formats

    • Supports ISO, Unix timestamp, local, and UTC formats
    • Optional timezone specification
  2. convert-timezone - Convert time between different timezones

    • Convert from one timezone to another
    • Multiple output formats supported
  3. format-time - Format time according to specified patterns and locales

    • Custom format patterns
    • Locale-specific formatting
    • Timezone-aware formatting
  4. get-timezone-info - Get detailed information about a timezone

    • Timezone name and offset
    • Current time in the specified timezone

Resources

  1. time://current - Current time in ISO format
  2. time://timezone/{timezone} - Current time in a specific timezone
  3. time://timezones - List of common timezone identifiers

Installation

npm install now-mcp

Usage

With Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "time-server": {
      "command": "npx",
      "args": ["now-mcp"]
    }
  }
}

Direct Usage

# Install dependencies
npm install

# Build the project
npm run build

# Run the server
npm start

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

Examples

Get Current Time

// Get current time in ISO format
await callTool("get-current-time", {});

// Get current time in a specific timezone
await callTool("get-current-time", {
  format: "local",
  timezone: "America/New_York"
});

Convert Timezone

await callTool("convert-timezone", {
  datetime: "2025-09-11T10:30:00Z",
  fromTimezone: "UTC",
  toTimezone: "Asia/Tokyo",
  format: "local"
});

Format Time

await callTool("format-time", {
  datetime: "2025-09-11T10:30:00Z",
  locale: "en-US",
  timezone: "America/New_York"
});

Get Timezone Information

await callTool("get-timezone-info", {
  timezone: "Europe/London"
});

Supported Timezones

The server supports all standard IANA timezone identifiers. Common examples include:

  • UTC
  • America/New_York
  • America/Chicago
  • America/Denver
  • America/Los_Angeles
  • Europe/London
  • Europe/Paris
  • Europe/Berlin
  • Asia/Tokyo
  • Asia/Shanghai
  • Asia/Kolkata
  • Australia/Sydney
  • Pacific/Auckland

API Reference

Tools

get-current-time

Get the current date and time.

Parameters:

  • format (optional): Output format - "iso", "unix", "local", or "utc" (default: "iso")
  • timezone (optional): Timezone identifier (e.g., "America/New_York")

convert-timezone

Convert time between timezones.

Parameters:

  • datetime: Date and time to convert (ISO format or parseable string)
  • fromTimezone: Source timezone identifier
  • toTimezone: Target timezone identifier
  • format (optional): Output format - "iso", "local", or "utc" (default: "local")

format-time

Format time according to specified pattern and locale.

Parameters:

  • datetime: Date and time to format (ISO format or parseable string)
  • format (optional): Format pattern (default: "YYYY-MM-DD HH:mm:ss")
  • locale (optional): Locale for formatting (default: "en-US")
  • timezone (optional): Timezone for formatting

get-timezone-info

Get information about a timezone.

Parameters:

  • timezone: Timezone identifier

Resources

time://current

Returns the current time in ISO format.

time://timezone/{timezone}

Returns the current time in the specified timezone.

Parameters:

  • timezone: Timezone identifier (URL parameter)

time://timezones

Returns a JSON list of common timezone identifiers.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and questions, please open an issue on the GitHub repository.