
WhatTimeIsIt MCP Server
A lightweight mcp server that tells you exactly what time is it based on your IP.
What is WhatTimeIsIt MCP Server?
WhatTimeIsIt MCP Server is a lightweight server that provides the current time based on the user's IP address, utilizing the World Time API.
How to use WhatTimeIsIt MCP Server?
To use the server, clone the repository from GitHub, configure the client with the provided JSON settings, and run the main Python script to access the time tool.
Key features of WhatTimeIsIt MCP Server?
- Provides current time based on IP address.
- Outputs time in ISO 8601 format.
- Easy installation and configuration.
Use cases of WhatTimeIsIt MCP Server?
- Displaying local time for users in web applications.
- Time-based functionalities in software that require accurate local time.
- Integration into other services that need to know the user's time zone.
FAQ from WhatTimeIsIt MCP Server?
- How does the server determine the time?
It uses the World Time API to fetch the current time based on the user's IP address.
- Is there a specific programming language required to run it?
Yes, the server is written in Python, so Python must be installed to run it.
- Can I customize the output format?
Currently, the output is fixed to ISO 8601 format, but modifications can be made in the source code.
WhatTimeIsIt MCP Server
A lightweight mcp server that tells you exactly what time is it, powered by World Time.
Installation
-
Clone the Repository
git clone https://github.com/kukapay/whattimeisit-mcp.git
-
Client Configuration
{ "mcpServers": { "whattimeisit": { "command": "uv", "args": ["--directory", "path/to/whattimeisit-mcp", "run", "main.py"] } } }
Usage
MCP Tool
The server provides a single tool:
- Tool Name:
what_time_is_it
- Description: Returns the current time string based on the your current IP.
- Output: A string in ISO 8601 format (e.g.,
"2025-03-17T03:17:00+11:00"
).
License
This project is licensed under the MIT License. See the LICENSE file for details.