WhatTimeIsIt MCP Server
A lightweight mcp server that tells you exactly what time is it based on your IP.
Overview
WhatTimeIsIt MCP Server is a lightweight server that provides the current time based on the user's IP address, utilizing the World Time API.
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.
- Provides current time based on IP address. - Outputs time in ISO 8601 format. - Easy installation and configuration.
- 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.
Add to your AI client
Use these steps to connect WhatTimeIsIt MCP Server 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": {
"whattimeisit-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-whattimeisit-mcp-kukapay"
]
}
}
}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": {
"whattimeisit-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-whattimeisit-mcp-kukapay"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"whattimeisit-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-whattimeisit-mcp-kukapay"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"whattimeisit-mcp-kukapay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-whattimeisit-mcp-kukapay"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"whattimeisit-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-whattimeisit-mcp-kukapay"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"whattimeisit-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-whattimeisit-mcp-kukapay"
]
}
}
}FAQ
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.