Date MCP Server
Date MCP Server (English)
A simple MCP Server that provides the current date and time.
Features
- Get Current Date and Time: Returns the current date and time in the specified format and timezone
Tools
get_now- Get the current date and time
- Inputs:
format(optional string): Date format - 'ISO' or 'YYYY-MM-DD' (default: "ISO")timezone(optional string): Timezone - 'Asia/Tokyo' or 'UTC' (default: "Asia/Tokyo")
- Returns: Current date and time in the specified format and timezone
Setup
- Install dependencies:
npm install # or pnpm install - Build the TypeScript project:
npm run build # or pnpm run build
Docker Setup
You can build using Docker with the following command:
docker build -t date-mcp .
Usage with Claude Desktop
To use this with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"date": {
"command": "node",
"args": [
"/path/to/date-mcp/build/index.js"
]
}
}
}
If you're using Docker, you can configure it like this:
{
"mcpServers": {
"date": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"date-mcp"
]
}
}
}
Usage with VS Code
For quick installation in VS Code, configure your settings:
- Open User Settings (JSON) in VS Code (
Ctrl+Shift+P→Preferences: Open User Settings (JSON)) - Add the following configuration:
{
"mcp": {
"servers": {
"date": {
"command": "node",
"args": [
"/path/to/date-mcp/build/index.js"
]
}
}
}
}
If you're using Docker, you can configure it like this:
{
"mcp": {
"servers": {
"date": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"date-mcp"
]
}
}
}
}
Alternatively, you can add this to a .vscode/mcp.json file in your workspace (without the mcp key):
{
"servers": {
"date": {
"command": "node",
"args": [
"/path/to/date-mcp/build/index.js"
]
}
}
}
If you're using Docker, you can configure it like this:
{
"servers": {
"date": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"date-mcp"
]
}
}
}
Recommend MCP Servers 💡
@kukapay/whoami-mcp
A lightweight MCP server that retrieves the username of the current system user.
MCP-SynoLink
An MCP server for Synology NAS that enables AI assistants to perform file operations like listing, uploading, downloading, and managing files and folders.
koido/extreme-p-mcp
An MCP server providing API access to extreme p-value calculation functions (z, t, F, chi-square, SAIGE) using R and Python.
i18n-mcp-server
MCP server for managing internationalization by translating JSON-based language files using language models via stdio transport
mcp-git
A Model Context Protocol server for Git repository interaction and automation via Large Language Models.
APIMatic Validator
Validates OpenAPI specifications (2.0 and 3.0, JSON/YAML) using APIMatic's API, integrating as an MCP server for seamless validation within AI clients like Claude Desktop.