temporal-awareness-mcp
A Model Context Protocol (MCP) server that provides AI agents with comprehensive temporal awareness and time calculation capabilities.
Install / Use
claude mcp add pmbstyle -- npx -y github:pmbstyle/temporal-awareness-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of temporal-awareness-mcp
temporal-awareness-mcp scores 68/100 on our quality scale, 2662nd of 3,478 Development & Engineering skills we index.
Its MCP Server is 5.5 KB long, well organised into 30 sections with 10 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-09-20 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
temporal-awareness-mcp compared with similar skills
All 4 of these similar skills score higher than temporal-awareness-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| temporal-awareness-mcp (this skill)by pmbstyle | 68 | 3 | 15mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 86.1k | 13d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.1k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.5k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.2k | today | CLAUDE.md |
Frequently asked questions
- How do I install temporal-awareness-mcp?
- Run
claude mcp add pmbstyle -- npx -y github:pmbstyle/temporal-awareness-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does temporal-awareness-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is temporal-awareness-mcp safe to use?
- It is MIT-licensed and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is temporal-awareness-mcp still maintained?
- The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHubTemporal Awareness MCP Server
A Model Context Protocol (MCP) server that provides AI agents with comprehensive temporal awareness and time calculation capabilities.
Features
- Current Time: Get current date and time in any timezone
- Time Calculations: Calculate differences between timestamps
- Time Adjustments: Add or subtract durations from timestamps
- Contextual Analysis: Get human-readable context about timestamps
- Multiple Transports: Support for both stdio (local) and HTTP (remote) connections
- Docker Support: Ready for cloud deployment
Quick Start
For Local Development (Claude Desktop, Cursor)
-
Install dependencies:
git clone https://github.com/pmbstyle/temporal-awareness-mcp.git cd temporal-awareness-mcp poetry install -
Run with stdio transport:
poetry run python -m temporal_awareness_mcp.stdio_main
For Cloud Deployment
-
Run with Docker:
docker-compose up -d --build -
Or run directly with HTTP transport:
poetry run python -m temporal_awareness_mcp.http_main --host 0.0.0.0 --port 8000
Integration Guide
Claude Desktop
Add to your Claude Desktop configuration file:
For Windows:
{
"mcpServers": {
"temporal-awareness": {
"command": "cmd",
"args": ["/c", "cd /d \"C:\\path\\to\\temporal-awareness-mcp\" && poetry run python -m temporal_awareness_mcp.stdio_main"],
"env": {}
}
}
}
For macOS/Linux:
{
"mcpServers": {
"temporal-awareness": {
"command": "sh",
"args": ["-c", "cd '/path/to/temporal-awareness-mcp' && poetry run python -m temporal_awareness_mcp.stdio_main"],
"env": {}
}
}
}
Important: Replace
/path/to/temporal-awareness-mcpwith your actual project directory.
Alternative: Using Python with PYTHONPATH
If you prefer not to use Poetry:
{
"mcpServers": {
"temporal-awareness": {
"command": "python",
"args": ["-m", "temporal_awareness_mcp.stdio_main"],
"env": {
"PYTHONPATH": "/path/to/temporal-awareness-mcp/src"
}
}
}
}
Cursor IDE
Configure in Cursor Settings > Extensions > MCP:
{
"servers": {
"temporal-awareness": {
"command": "poetry",
"args": ["run", "python", "-m", "temporal_awareness_mcp.stdio_main"],
"cwd": "/path/to/temporal-awareness-mcp"
}
}
}
OpenAI and Cloud Clients
For cloud-based AI services, deploy the server and use HTTP transport:
-
Deploy with ngrok (development):
# Terminal 1: Start the server docker-compose up -d --build # Terminal 2: Expose with ngrok ngrok http 8000 -
Use the public URL in your MCP client:
{ "type": "mcp", "server_label": "temporal-awareness", "server_url": "https://your-ngrok-url.ngrok.app/sse", "require_approval": "never" } -
Production deployment: Deploy to Railway, Heroku, Google Cloud Run, etc.
Available Tools
get_current_time
Get the current date and time in a specified timezone.
Parameters:
timezone(string, optional): Timezone name (default: "UTC")format(string, optional): Output format - "iso", "human", or "timestamp" (default: "iso")
Example:
What time is it in Tokyo?
calculate_difference
Calculate the duration between two timestamps.
Parameters:
start_time(string): Start timestamp (ISO format or human readable)end_time(string): End timestamp (ISO format or human readable)unit(string, optional): Result unit - "seconds", "minutes", "hours", or "days" (default: "seconds")
Example:
How long is it from 9:00 AM to 5:30 PM?
get_timestamp_context
Provide human-readable context about a timestamp.
Parameters:
timestamp(string): Timestamp to analyzetimezone(string, optional): Timezone for context (default: "UTC")
Example:
Is March 15, 2024 2:30 PM a business day?
adjust_timestamp
Add or subtract a duration from a timestamp.
Parameters:
timestamp(string): Base timestampadjustment(string): Adjustment to apply (e.g., "+1 day", "-2 hours")timezone(string, optional): Timezone for calculation (default: "UTC")
Example:
What date is 30 days after March 1, 2024?
Testing the Server
Try these example prompts with your AI agent:
Basic Operations
- "What time is it right now?"
- "What's the current time in Tokyo?"
- "Convert 3:30 PM EST to Pacific Time"
Date Calculations
- "How many days until Christmas?"
- "What day of the week was January 1st, 2000?"
- "Add 45 days to March 15, 2024"
Complex Scenarios
- "I have a flight departing Los Angeles at 11:30 PM on Friday. If the flight is 14 hours long, what time will I arrive in Tokyo local time?"
- "Calculate work hours in February 2024, assuming 8-hour workdays Monday through Friday"
Development
Prerequisites
- Python 3.12+
- Poetry for dependency management
- Docker (optional, for containerized deployment)
Setup
# Clone and install
git clone <repository-url>
cd temporal-awareness-mcp
poetry install
# Run tests
poetry run pytest
Deployment
Docker
# Build and run
docker-compose up -d --build
# Check logs
docker-compose logs temporal-awareness-mcp-server
# Stop
docker-compose down
Environment Variables
For production deployment, you can configure:
HOST: Server host (default: "0.0.0.0")PORT: Server port (default: 8000)
License
MIT License
Related Skills
Agent-Reach
86.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.5k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
CowAgent
47.2kOpen-source super AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
