⏰ Time MCP Server: Giving LLMs Time Awareness Capabilities
51 stars
JavaScript
Updated Oct 23, 2025
agents
dayjs
llm
mcp
mcp-server
modelcontextprotocol
time
time-mcp
Documentation
🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities
A Model Context Protocol (MCP) server implementation that allows LLMs to have time awareness capabilities.
Tools
current_time: Get current time (UTC and local time)relative_time: Get relative timeget_timestamp: Get timestamp for the timedays_in_month: Get days in monthconvert_time: Convert time between timezonesget_week_year: Get week and isoWeek of the year
Installation
Installing via Smithery
To install time-mcp for Claude Desktop automatically via Smithery:
bash
npx -y @smithery/cli install @yokingma/time-mcp --client claudeManually install (Optional)
shell
npm install -g time-mcpusing npx
shell
npx -y time-mcpRunning on Claude Code
To add time-mcp to Claude Code, use the following command:
bash
claude mcp add time-mcp -- npx -y time-mcpTo verify the installation:
bash
claude mcp listYou should see time-mcp listed with a ✓ Connected status.
Usage in Claude Code
Once installed, you can use time-mcp tools in your conversations with Claude Code. For example:
- "What time is it now?"
- "Convert 2:00 PM from New York to Tokyo time"
- "How many days are in this month?"
- "What week of the year is it?"
The time-mcp server will automatically provide accurate time information to Claude.
Running on Cursor
Your mcp.json file will look like this:
json
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}Running on Windsurf
Add this to your ./codeium/windsurf/model_config.json file:
json
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}License
MIT License - see LICENSE file for details.
Similar MCP
Based on tags & features
Trending MCP
Most active this week