Alan's Date Time MCP
by ajnx
README.md
# Alan's Date Time MCP
An MCP (Model Context Protocol) server that provides current time and datetime with timezone support.
## Tools
- **`get_date`** — Returns date only (e.g. `2025-03-15`)
- **`get_time`** — Returns time only (e.g. `14:30:00`)
- **`get_datetime`** — Returns date and time (e.g. `2025-03-15 14:30:00`)
Both tools accept an optional `timezone` parameter:
- `"local"` (default) — System's local timezone
- `"utc"` — UTC
- IANA timezone string — e.g. `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`
## Installation
Add to your MCP configuration (e.g. Cursor, Claude Desktop):
### Option 1: npm (recommended — faster startup)
```json
{
"mcpServers": {
"alans-date-time-mcp": {
"command": "npx",
"args": ["-y", "alans-date-time-mcp"]
}
}
}
```
### Option 2: GitHub
```json
{
"mcpServers": {
"alans-date-time-mcp": {
"command": "npx",
"args": ["-y", "github:ajnx/alans-date-time-mcp"]
}
}
}
```
## Development
```bash
npm install
npm run build
npm start
```
## License
MIT
TDQS
A4.2/5.0
Scored across 3 tools
Disambiguation5/5
Each tool returns a distinct subset of the current date/time: date only, time only, or both. There is no overlap or ambiguity between them.
Naming Consistency5/5
All tool names follow the exact same get_<resource> pattern with clear, descriptive nouns. The naming is perfectly uniform and predictable.
Tool Count5/5
Three tools fully cover the trivial domain of fetching date/time information. The count is minimal but complete, with no redundant tools.
Completeness5/5
The server provides all practical variants (date, time, and combined datetime). There are no obvious missing operations for a date/time utility server.
Maintenance
ActivityInactive
ResponsivenessNo issues