Skip to main content
Glama
jeromeetienne

mcp-now

README.md
# mcp-now

An MCP server that provides tools to get the current date and time. Mainly designed to easily test MCP compatibility.

## Tools

### `get_current_datetime`

Returns the current date and time.

| Parameter  | Type   | Required | Description |
|------------|--------|----------|-------------|
| `timezone` | string | No       | IANA timezone name (e.g. `America/New_York`). Defaults to local system timezone. |

Example output: `03/17/2026, 10:45:00 AM EDT`

### `get_current_date`

Returns the current date only (no time).

| Parameter  | Type   | Required | Description |
|------------|--------|----------|-------------|
| `timezone` | string | No       | IANA timezone name (e.g. `America/New_York`). Defaults to local system timezone. |

Example output: `2026-03-17`

## Install

```bash
npm install -g mcp-now
```

Or run on demand without installing:

```bash
npx mcp-now
```

## Usage

### Build and run

```bash
npm install
npm run build
npm start
```

### Development

```bash
npm run dev
```

### Debug with MCP Inspector

```bash
npm run inspect
```

Opens a browser UI at `http://localhost:5173` where you can list tools, call them with custom arguments, and inspect raw JSON-RPC messages.

### MCP client configuration

Once installed globally (or available via `npx`), point your MCP client at the `mcp-now` binary:

```json
{
  "mcpServers": {
    "now": {
      "command": "npx",
      "args": ["mcp-now"]
    }
  }
}
```

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one returns only the current date, the other returns both date and time. No ambiguity exists between them.

Naming Consistency5/5

Both tools follow a consistent 'get_current_' prefix pattern with specific suffixes 'date' and 'datetime', making them predictable and easy to understand.

Tool Count5/5

For a server focused solely on providing current date/time information, two tools is appropriate and covers the essential use cases without being excessive or insufficient.

Completeness4/5

The server covers the primary need for current date and datetime but lacks timezone support or other date-related operations, which could be considered a minor gap.

Maintenance

ActivityStale
ResponsivenessNo issues