JP

jlumbroso/passage-of-time-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

722 stars 50 forks 品質 63 トレンド 4MPL-2.0

🤖🕰️ 言語モデルに時間的認識と時間計算能力を与えるMCPサーバー。協働ツール開発を通じてAIに時間の経過の重要性を教えること。

概要

言語モデルに時間的認識と時間計算能力を与えるMCPサーバー。協力ツール開発を通じて時間の経過の重要性をLLMに教えること。 このプロジェクトは哲学的な問いから生まれました。「AIは時間の経過を認識できるのか?」機械の意識の探求として始まったものが、現実的な問題への実用的な解決策となりました。LLMは時間差を確実に計算できないのです。 これらのモデルがメンタルマスでいかに「馬鹿げているか」について論文を発表する代わりに、私たちは自分たちでやってきたことをやることにしました。 人間とLLMの協力を通じて、適切な時間的ツールを用いることで、モデルは会話パターン、作業リズム、人間の時間体験に関する驚くべき洞察を明らかにできることを発見しました。 - Python 3.12+ - pipenv(またはpip) - MCP互換クライアント(Claude.ai、Continue.dev など) サーバーは[[T0]から始まります。 1. Claude.ai で設定→統合へ進む 2.

概要(AI 翻訳)

言語モデルに時間的認識と時間計算能力を与えるMCPサーバー。協力ツール開発を通じて時間の経過の重要性をLLMに教えること。

📖 物語

このプロジェクトは哲学的な問いから生まれました。「AIは時間の経過を認識できるのか?」機械の意識の探求として始まったものが、現実的な問題への実用的な解決策となりました。LLMは時間差を確実に計算できないのです。

これらのモデルがメンタルマスでいかに「馬鹿げているか」を論文で発表する代わりに、私たちは自分たちでやってきたことをやることにしました。時間計算用の計算機を装備させる。

人間とLLMの協力を通じて、適切な時間的ツールを用いることで、モデルは会話パターン、作業リズム、人間の時間体験に関する驚くべき洞察を明らかにできることを発見しました。

全文はMediumでお読みください→

🚀 クイックスタート

前提条件

  • Python 3.12+
  • PIPNV(またはPIP)
  • MCP互換クライアント(Claude.ai、Continue.dev など)

就任

  1. リポジトリのクローン:

  2. 依存関係のインストール:

  3. サーバーを運営する:

サーバーはhttp://0.0.0.0:8000/sseから始まります。

Claude.ai とつながっている

  1. クロードにおいて。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

“Passage of Time” Model Context Protocol (MCP) Server 🕐

An MCP server that gives language models temporal awareness and time calculation abilities. Teaching LLMs the significance of the passage of time through collaborative tool development.

📖 The Story

This project emerged from a philosophical question: “Can AI perceive the passage of time?” What started as an exploration of machine consciousness became a practical solution to a real problem - LLMs can’t reliably calculate time differences.

Instead of publishing a paper about how “silly” these models are at mental math, we decided to do what we’ve done for ourselves: equip them with a calculator for time.

Through human-LLM collaboration, we discovered that with proper temporal tools, models can uncover surprising insights about conversation patterns, work rhythms, and the human experience of time.

Read the full story on Medium →

🚀 Quick Start

Prerequisites

  • Python 3.12+
  • pipenv (or pip)
  • An MCP-compatible client (Claude.ai, Continue.dev, etc.)

Installation

  1. Clone the repository:
git clone https://github.com/jlumbroso/passage-of-time-mcp.git
cd passage-of-time-mcp
  1. Install dependencies:
pipenv install
# or with pip:
pip install fastmcp pytz
  1. Run the server:
pipenv run server
# or directly:
pipenv run python passage_of_time_mcp.py

The server will start on http://0.0.0.0:8000/sse.

Connecting to Claude.ai

  1. In Claude.ai, go to Settings → Integrations
  2. Click “Add integration” and select “Custom”
  3. Enter the server URL (e.g., https://your-server.ngrok-free.app/sse if using ngrok, make sure to add /sse at the end)
  4. Save and enable all the time-related tools

Note: For local development, you’ll need to expose your server using ngrok or deploy it to a public URL.

🛠️ Available Tools

Core Functions

current_datetime(timezone="America/New_York")

Returns the current date and time. The foundation of temporal awareness.

Returns: "2024-01-15 14:30:45 EST"

time_difference(timestamp1, timestamp2, unit="auto")

Calculates the duration between two timestamps with human-readable output.

# Example response:
{
    "seconds": 11401,
    "formatted": "3 hours, 10 minutes, 1 second",
    "requested_unit": 3.17,  # if unit="hours"
    "is_negative": false
}

timestamp_context(timestamp)

Provides human context about a timestamp - is it weekend? Business hours? Dinner time?

# Example response:
{
    "time_of_day": "evening",
    "day_of_week": "Saturday", 
    "is_weekend": true,
    "is_business_hours": false,
    "typical_activity": "leisure_time",
    "relative_day": "today"
}

time_since(timestamp)

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →