MCP Time Server
About
A simple server that provides the current UTC time.
Details
- Author
- elims2
- Categories
- Other, Productivity
Jump to
Setup
Install MCP Time Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/elims2/mcp-time-server
Follow the installation instructions in the repository README, then restart your MCP client.
A simple Model Context Protocol (MCP) server that provides current UTC time functionality. This server can be integrated globally with Cursor IDE to provide time-related capabilities across all projects.
- Get current UTC time in multiple formats
- Simple MCP protocol implementation
- Global Cursor IDE integration
- Lightweight and fast
- Python 3.8 or higher
- pip package manager
- Clone or download this repository
- Navigate to the project directory
- Install the package:
# Run directly python -m mcp_time_server.server # Or use the installed script mcp-time-server
Get the current UTC time in various formats.
- format(optional): Output format
- "iso"(default): ISO 8601 format (2025-01-15T10:30:45Z)
- "datetime": Human-readable format (2025-01-15 10:30:45)
- "timestamp": Unix timestamp (1736939445)
Current UTC time: 2025-01-15T10:30:45.123456Z Format: iso Full ISO: 2025-01-15T10:30:45.123456Z
For permanent integration across all projects:
-
Create the global MCP configuration file:
- Windows:C:\Users\[USERNAME]\.cursor\mcp.json
- macOS/Linux:~/.cursor/mcp.json
{ "mcpServers": { "time-server": { "command": "python", "args": ["-m", "mcp_time_server.server"], "cwd": "/full/path/to/mcp-time-server/src", "env": { "PYTHONPATH": "/full/path/to/mcp-time-server/src" } } } }
- Restart Cursor IDE
- CheckTools & Integrations>MCPto verify the server is enabled
The server will now automatically start with Cursor IDE and work across all projects!
For project-only usage, create.cursor/mcp.jsonin your project directory with the same structure.
# Install with development dependencies pip install -e ".[dev]" # Run tests pytest # Format code black src/ isort src/ # Type checking mypy src/
mcp-time-server/ ├── src/ │ └── mcp_time_server/ │ ├── __init__.py │ └── server.py ├── pyproject.toml ├── requirements.txt ├── README.md ├── mcp_config.json └── PROJECT_PLAN.md
from mcp_time_server.server import get_current_time_utc # Test different formats print(get_current_time_utc("iso")) print(get_current_time_utc("datetime")) print(get_current_time_utc("timestamp"))
- Import errors: Make sure the package is installed withpip install -e .
- MCP connection issues: Verify the server path in your MCP configuration
- Permission errors: Ensure Python has necessary permissions to run the server
- Server not appearing: Check that the.cursordirectory exists andmcp.jsonis properly formatted
If you encounter issues with&&operator in PowerShell, use:
cd src; python -m mcp_time_server.server
# Windows tasklist | findstr python wmic process where "name='python.exe'" get ProcessId,CommandLine /format:list # macOS/Linux ps aux | grep mcp_time_server
Test connection in Cursor:Ask the AI assistant to get current time - it should use the MCP Time Server automatically.
cd src && python -m mcp_time_server.server
# Windows (replace PID with actual process ID) taskkill /PID [PID] /F
MIT License - see LICENSE file for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
- Initial release
- Basic UTC time functionality
- MCP protocol compliance
- FastMCP integration for simplified server management
- Global Cursor IDE configuration support
- Multiple time formats (ISO, datetime, timestamp)
- Comprehensive testing and documentation
- Process management and troubleshooting tools
- GitHub repository with MIT license
- Live testing confirmed across restart cycles
Google Sheets - [BlackHawkMCP](https://g📇 ☁️ - MCP server connecting AI to Google Sheets. Read, write, and manage spreadsheets via natural language.
Real-time pricing, ratings, and feature comparisons for 508+ SaaS, AI, and security products across 45 categories. Zero dependencies, no auth required.
A calculator server that performs basic math operations like addition, subtraction, multiplication, division, power, and square root.
Provides current local time, UTC time, and timezone information.
Get the current time and perform timezone conversions using IANA timezone names.
Provides time-related functions such as current time queries, timezone conversions, and time difference calculations.
An MCP server that exposes datetime information to agentic systems and chat REPLs.
Automated document processing and extraction
Great Question is an Agentic UX research platform for product builders. Its MCP lets AI agents create studies directly from any AI tool, surface insights, find the right research candidates, and query your entire research repository.
Create and edit Tally forms and analyze submissions
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




