🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities
🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities
Overview
Time MCP is a Model Context Protocol (MCP) server implementation that enables Large Language Models (LLMs) to have time awareness capabilities.
To use Time MCP, you can install it via npm or npx. For manual installation, use npm install -g time-mcp, or run it directly with npx -y time-mcp.
- Get current time - Get relative time - Get timestamp - Get days in month
- Enhancing LLMs with time-related queries.
- Enabling applications to provide time-sensitive responses.
- Integrating time awareness in conversational agents.
Add to your AI client
Use these steps to connect 🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"time-mcp-yokingma": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"time-mcp-yokingma": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"time-mcp-yokingma": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"time-mcp-yokingma": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"time-mcp-yokingma": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"time-mcp-yokingma": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}FAQ
Can Time MCP be used with any LLM?
Yes! Time MCP can be integrated with various LLMs that support MCP.
Is Time MCP free to use?
Yes! Time MCP is open-source and free to use under the MIT License.
How do I run Time MCP on different platforms?
You can run Time MCP on Cursor or Windsurf by configuring the respective JSON files as described in the documentation.