MCP.so
ログイン

DateTime MCP Server

@bossjones

DateTime MCP Server について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

python

トランスポート

stdio

公開者

bossjones

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "datetime-mcp-server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

ツール

3

Add a new note with a name and content

Get the current time in various formats (ISO, readable, Unix timestamp, RFC3339)

Format a date string according to a specified format pattern

概要

What is DateTime MCP Server?

A MCP (Model Context Protocol) server that provides datetime functionality along with simple note management. It implements the MCP protocol and can be used by any MCP client to access date and time information and manage notes.

How to use DateTime MCP Server?

Clone the repository, create a virtual environment with uv, and install dependencies using uv sync. Run the server with uv run python -m datetime_mcp_server.server. Connect using any MCP client, for example uv run mcp connect datetime-mcp-server. The server listens on stdin/stdout for MCP protocol messages.

Key features of DateTime MCP Server

  • Provides datetime resources: current time, today’s date, current time in 24h format.
  • Allows note management via note://internal/{name} resources.
  • Offers tools: add-note, get-current-time (ISO, readable, Unix timestamp, RFC3339), format-date.
  • Includes prompts: summarize-notes, schedule-event.
  • Implements MCP protocol for client integration.

Use cases of DateTime MCP Server

  • Retrieve current date/time in multiple formats from an MCP client.
  • Format a date string with a custom pattern.
  • Store and retrieve simple notes by name.
  • Summarize all notes or schedule an event with a prompt.
  • Integrate datetime and note capabilities into AI assistant workflows.

FAQ from DateTime MCP Server

How do I install and run DateTime MCP Server?

Clone the repo, create a virtual environment, and run uv sync to install dependencies. Start the server with uv run python -m datetime_mcp_server.server.

What data does the server provide?

It provides current date/time, today’s date in ISO format, current time in 24-hour format, and user-created notes.

How can I add a note or get the current time?

Use the add-note tool with name and content, or get-current-time with a format parameter (iso, readable, unix, rfc3339).

What dependencies are required?

Python, uv (package manager), and a virtual environment. All dependencies are managed via uv sync and a lockfile.

How can I debug the server?

Use the MCP Inspector by running npx @modelcontextprotocol/inspector uv --directory ... run datetime-mcp-server. It provides a browser-based debugging interface.

コメント

「その他」の他のコンテンツ