mcpField
M
mcp-timeserver

mcp-timeserver

Local
github.com/jujialeProductivity0Updated 94w ago

About mcp-timeserver

mcp-timeserver is an MCP server for agentic systems and chat REPLs that need date and time information. It provides timezone-based datetime resources and a tool for the system's local time.

Key features

  1. 01Timezone-based datetime resources
  2. 02Current system-local time tool

Use cases

  1. 01Read the current time in a specified timezone
  2. 02Retrieve the system's local time

MCP support

Exposes datetime:// resources for current time in a given timezone and a tool that returns the system's current local time to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"MCP-timeserver": {
"command": "uvx",
"args": [
"MCP-timeserver"
]
}
}
}
Run commanduvx MCP-timeserver

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiMCP-timeserver

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP-timeserver

A simple MCP server that exposes datetime information to agentic systems and chat REPLs

MCP-timeserver MCP server

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:

>>> get_current_time()
"The current time is 2024-12-18 19:59:36"

Quickstart

Install

use the following json

{
  "mcpServers": {
    "MCP-timeserver": {
      "command": "uvx",
      "args": ["MCP-timeserver"]
    }
  }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.