Skip to main content
Glama
damianhunziker

date-today-mcp

date-today-mcp

Ein einfacher MCP-Server mit STDIO-Transport, der das aktuelle Datum in verschiedenen Formaten zurückgibt.

Installation

npm install
npm run build

Verwendung

# 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:

{
  "mcpServers": {
    "date-today": {
      "command": "node",
      "args": ["/pfad/zum/projekt/date-today-mcp/dist/index.js"]
    }
  }
}

Oder für den Entwicklungsmodus direkt mit tsx:

{
  "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

{
  "name": "get_today_date",
  "arguments": {
    "format": "european"
  }
}

Antwort

{
  "date": "04.06.2026",
  "format": "european",
  "timezone": "Asia/Bangkok",
  "timestamp": "2026-06-04T10:20:40.278Z"
}# date-today-mcp
# date-today-mcp
F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/damianhunziker/date-today-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server