yokingma_time_mcp

yokingma_time_mcp

by yokingma
A Model Context Protocol (MCP) server that enables time awareness capabilities for large language models (LLMs).

Time MCP Server: Enhancing LLMs with Time Awareness

Overview

The Time MCP Server is a Model Context Protocol (MCP) implementation designed to provide Large Language Models (LLMs) with time awareness capabilities. This server enables LLMs to understand and process time-related data, enhancing their functionality in applications where temporal context is crucial.

Tools

The Time MCP Server offers the following tools:

  • current_time: Retrieves the current time in both UTC and local time.
  • relative_time: Calculates relative time differences.
  • get_timestamp: Generates a timestamp.
  • days_in_month: Determines the number of days in a given month.
  • convert_time: Converts time between different timezones.

Installation

You can install the Time MCP Server manually or use npx for quick setup.

# Manual installation (Optional)
npm install -g time-mcp
# Using npx
npx -y time-mcp

Configuration

Running on Cursor

To run the Time MCP Server on Cursor, configure your mcp.json file as follows:

{
  "mcpServers": {
    "time-mcp": {
      "command": "npx",
      "args": ["-y", "time-mcp"]
    }
  }
}

Running on Windsurf

For Windsurf, add the following configuration to your ./codeium/windsurf/model_config.json file:

{
  "mcpServers": {
    "time-mcp": {
      "command": "npx",
      "args": ["-y", "time-mcp"]
    }
  }
}

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

About

The Time MCP Server is a powerful tool for integrating time awareness into LLMs, enabling them to handle temporal data effectively. It is particularly useful in applications where understanding time is essential.

Topics

Resources

License

Activity

Stars

Watchers

Forks

Languages

  • JavaScript 75.7%
  • TypeScript 24.3%

Features & Capabilities

Categories
mcp_server model_context_protocol javascript typescript llm time_awareness api_integration

Implementation Details

Stats

0 Views
2 GitHub Stars

Repository Info

yokingma Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300