date-today-mcp
README.md
# date-today-mcp
Ein einfacher MCP-Server mit STDIO-Transport, der das aktuelle Datum in verschiedenen Formaten zurückgibt.
## Installation
```bash
npm install
npm run build
```
## Verwendung
```bash
# Server starten (lauscht auf STDIO)
npm start
# Entwicklungsmodus mit automatischem Neustart
npm run dev
```
## Als MCP-Server konfigurieren
Füge in deiner MCP-Konfigurationsdatei (`cline_mcp_settings.json` oder ähnlich) hinzu:
```json
{
"mcpServers": {
"date-today": {
"command": "node",
"args": ["/pfad/zum/projekt/date-today-mcp/dist/index.js"]
}
}
}
```
Oder für den Entwicklungsmodus direkt mit `tsx`:
```json
{
"mcpServers": {
"date-today": {
"command": "npx",
"args": ["tsx", "/pfad/zum/projekt/date-today-mcp/src/index.ts"]
}
}
}
```
> **Hinweis zu STDIO:** Der Server kommuniziert über stdin/stdout per JSON-RPC. Es darf nichts auf stdout geschrieben werden, deshalb erfolgt das Logging ausschließlich auf stderr.
## Tool: get_today_date
Gibt das aktuelle Datum zurück mit konfigurierbarem Format.
### Parameter
| Parameter | Typ | Standard | Beschreibung |
| --------- | ------ | ----------- | ------------- |
| format | string | "european" | Datumsformat |
### Verfügbare Formate
- `european` - 04.06.2026 (Standard)
- `iso` - 2026-06-04
- `us` - 06/04/2026
- `full` - Thursday, 04. June 2026
- `short` - 4.6.2026
- `long` - 04. June 2026
### Beispiel
```json
{
"name": "get_today_date",
"arguments": {
"format": "european"
}
}
```
### Antwort
```json
{
"date": "04.06.2026",
"format": "european",
"timezone": "Asia/Bangkok",
"timestamp": "2026-06-04T10:20:40.278Z"
}# date-today-mcp
# date-today-mcp
TDQS
A4.4/5.0
Scored across 1 tool
Disambiguation5/5
With only one tool, there is no possibility of confusion or overlap between tools. The purpose is clear and unambiguous.
Naming Consistency5/5
The single tool name 'get_today_date' follows a clear verb_noun pattern, which is internally consistent and self-explanatory.
Tool Count3/5
The server has only one tool, which feels thin for a typical MCP server. However, the narrow purpose of returning today's date is fully served by this single tool, making it a borderline case.
Completeness5/5
The tool fully covers the domain of retrieving today's date with multiple format options. There are no obvious gaps, as the server's stated purpose is strictly date retrieval.
Maintenance
ActivityInactive
ResponsivenessNo issues