https://github.com/SecretiveShell/MCP-timeserver
A simple MCP server that exposes datetime information to agentic systems and chat REPLs
https://github.com/SecretiveShell/MCP-timeserver
Last synced: 25 days ago
JSON representation
A simple MCP server that exposes datetime information to agentic systems and chat REPLs
- Host: GitHub
- URL: https://github.com/SecretiveShell/MCP-timeserver
- Owner: SecretiveShell
- License: mit
- Created: 2024-12-18T22:53:23.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-01-07T13:03:52.000Z (3 months ago)
- Last Synced: 2025-03-19T21:46:04.300Z (28 days ago)
- Language: Python
- Size: 15.6 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-list - SecretiveShell/MCP-timeserver - timeserver?style=social)](https://github.com/SecretiveShell/MCP-timeserver): Provides the current time in any timezone. (Uncategorized / Uncategorized)
- awesome-mcp-servers - SecretiveShell/MCP-timeserver - Access the time in any timezone and get the current local time (Legend / 🗺️ <a name="location-services"></a>Location Services)
- awesome-mcp-servers - SecretiveShell/MCP-timeserver - Access the time in any timezone and get the current local time (Legend / 🗺️ <a name="location-services"></a>Location Services)
- awesome-mcp-servers - MCP Time Server - A simple MCP server that exposes datetime information to agentic systems and chat REPLs (Table of Contents / Other Tools and Integrations)
- awesome-mcp-servers - MCP Time Server - A simple MCP server that exposes datetime information to agentic systems and chat REPLs (Table of Contents / Other Tools and Integrations)
README
# MCP-timeserver
A simple MCP server that exposes datetime information to agentic systems and chat REPLs
## Components
### Resources
The server implements a simple datetime:// URI scheme for accessing the current date/time in a given timezone, for example:
```
datetime://Africa/Freetown/now
datetime://Europe/London/now
datetime://America/New_York/now
```### Tools
The server exposes a tool to get the current local time in the system timezone:
```python
>>> get_current_time()
"The current time is 2024-12-18 19:59:36"
```## Quickstart
### Install
use the following json
```json
{
"mcpServers": {
"MCP-timeserver": {
"command": "uvx",
"args": ["MCP-timeserver"]
}
}
}
```