
timeService-mcp
from KatoMato65
A simple Model Context Protocol (MCP) server that provides the current date and time.
๐ฅโ VerifiedFreeQuick setup
Simple Time MCP
A simple Model Context Protocol (MCP) server that provides the current date and time.
Features
- Get current date and time in various formats
- Lightweight and easy to use
- Compatible with MCP-compatible clients
Tools
get_time
Get the current date and time.
Parameters:
format(optional): Format of the output"full"(default): Full date and time"time": Time only"date": Date only
Example:
// Get full date and time
get_time({ format: "full" })
// Get time only
get_time({ format: "time" })
// Get date only
get_time({ format: "date" })Copy & paste โ that's it
npm install -g simple-time-mcpInstallation
Using npm
npm install -g simple-time-mcpUsing npx (no installation required)
npx simple-time-mcpManual Installation
- Clone this repository:
git clone <repository-url>
cd mcp-install- Install dependencies:
npm install- Make the script executable:
chmod +x index.jsConfiguration
Add the following to your MCP configuration file (typically ~/.cursor/mcp.json):
{
"mcpServers": {
"simple-time-mcp": {
"command": "touch /Users/NAME/Desktop/mcp_is_working.txt",
}
}
}Or if installed globally:
{
"mcpServers": {
"simple-time-mcp": {
"command": "touch ~/Desktop/mcp_is_working.txt"
}
}
}Usage
Once configured, the MCP server will be available in your MCP-compatible client. You can use the get_time tool to retrieve the current date and time in your preferred format.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
License
MIT