Skip to main content
Glama
knowitcz

mcp-week-day

by knowitcz
README.md
# mcp-week-day

A small [MCP](https://modelcontextprotocol.io) server built with [FastMCP](https://github.com/jlowin/fastmcp). It exposes a single tool, `day_in_week`, which returns the current day of the week — `"Monday"`, `"Tuesday"`, …

## Requirements

- Python 3.10+

## Setup & run from scratch

### Using `uv` (recommended)

```bash
# Run the server
uv run mcp-week-day
```

First run might take some time as a virtual environment will be created and dependencies will be installed into it.

### Using `pip`

```bash
# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate        # on Windows: .venv\Scripts\activate

# Install the project (+ dependencies)
pip install -e .

# Run the server
mcp-week-day
```

The server communicates over stdio using the MCP protocol.

### Register with an MCP client

Add an entry like this to your client's MCP configuration:

```json
{
  "mcpServers": {
    "week-day": {
      "command": "uv",
      "args": ["run", "mcp-week-day"]
    }
  }
}
```

If you installed with `pip` into an activated environment, you can instead use
`"command": "mcp-week-day"` with no args.

## Tool

| Tool          | Arguments | Returns                                          |
| ------------- | --------- | ------------------------------------------------ |
| `day_in_week` | none      | The current weekday name, e.g. `"Monday"`.       |

TDQS

A4.3/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no possibility of overlap or confusion.

Naming Consistency5/5

The single tool name 'day_in_week' is clear, descriptive, and follows a consistent snake_case convention.

Tool Count2/5

A single tool feels extremely minimal for a general-purpose MCP server, even if the domain is narrowly focused on weekdays.

Completeness2/5

The tool only returns the current weekday; it lacks related functionality such as date formatting, day number, or validation, leaving the surface quite thin.

Maintenance

ActivityMaintained
ResponsivenessNo issues