Skip to main content
Glama
stefanveliki

Vreme Temporal MCP

by stefanveliki
README.md
# Vreme Temporal MCP

**Temporal intelligence for AI assistants**

Give your AI assistant rich temporal awareness โ€” timezone intelligence, cultural calendars, astronomical events, and time-sensitive context.

Works with **Cursor**, **VS Code**, **Claude Desktop**, **Continue**, **Cline**, and any **MCP-compatible** client.

[![npm version](https://badge.fury.io/js/%40vreme%2Ftemporal-mcp.svg)](https://www.npmjs.com/package/@vreme/temporal-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## What This Does

Instead of just knowing what time it is, your AI gets **rich temporal context**:

```
You: "What time is it in Tokyo?"

Claude: "Sunday, November 30, 2025 at 1:36 PM JST. Sunset in 2 hours 51 minutes.

๐ŸŒ… Sunrise: 6:31 AM
๐ŸŒ‡ Sunset: 4:28 PM  
๐ŸŒ™ Moon: Full Moon (70% illuminated)

๐Ÿ“… Hebrew: 10 Kislev 5786
๐Ÿ“… Islamic: 9 Jumada al-Thani 1447 AH
๐Ÿ“… Chinese: Year 2025, Month 10, Day 11 (Metal Snake)

โฐ Weekend - Not appropriate for work calls"
```

## Features

- **๐ŸŒ 200+ Timezones** - All pytz timezones with DST handling
- **๐Ÿ“… 9 Cultural Calendars** - Hebrew, Islamic, Chinese, Hindu, Persian, Buddhist, Bahรก'รญ, Ethiopian, Mayan
- **๐Ÿ•Œ Islamic Prayer Times** - All 5 daily prayers with qibla direction
- **๐ŸŒ… Astronomical Events** - Sunrise, sunset, moon phases, twilight times
- **โœ… Activity Appropriateness** - Smart recommendations for calls, meetings, work
- **๐Ÿฝ๏ธ Religious Observances** - Fasting detection, work restrictions, holiday awareness
- **๐Ÿ’ฌ Natural Language** - No rigid schemas, just ask naturally

## Installation

```bash
npm install -g @vreme/temporal-mcp
```

## Configuration

Add to your MCP client configuration:

**Claude Desktop:**

**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`  
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`  
**Linux:** `~/.config/Claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "vreme": {
      "command": "vreme-temporal-mcp"
    }
  }
}
```

**Continue / Cline:**

Add to your MCP configuration following their respective setup guides.

Restart your AI client and you're ready!

## Example Queries

### Time & Timezones
- "What time is it in Tokyo?"
- "Current time in New York"
- "What timezone is Paris in?"

### Cultural Intelligence
- "Is it Shabbat in Jerusalem?"
- "Is it Ramadan?"
- "When is Chinese New Year?"
- "What's the Hebrew date today?"
- "When is Diwali 2025?"

### Activity Appropriateness
- "Is it a good time to call someone in Tokyo?"
- "Can I email someone in Jerusalem right now?"
- "Should I call Berlin now?"

### Astronomical Data
- "What time is sunrise in Tokyo?"
- "When does the sun set in Paris?"
- "What's the moon phase?"

### Prayer Times
- "What are prayer times in Dubai?"
- "When is Fajr in Istanbul?"
- "Prayer times in New York"

### Time Until
- "How long until sunset?"
- "Time until sunrise in Berlin"

## How It Works

The MCP server connects your AI client to the [Vreme Time API](https://api.vreme.ai), which provides:

1. **Natural language parsing** - Understands your questions
2. **Timezone calculations** - Accurate time conversions
3. **Cultural calendar conversions** - 9 calendar systems
4. **Astronomical computations** - Sunrise, sunset, moon data
5. **Activity analysis** - Cultural and temporal appropriateness

All responses include full temporal context, not just clock time.

## Architecture

```
AI Client (Claude Desktop / Continue / Cline)
    โ†“ (MCP Protocol)
@vreme/temporal-mcp
    โ†“ (HTTPS)
api.vreme.ai
    โ†“
Temporal Intelligence Engine
```

- **Stateless** - No data stored, pure computation
- **Fast** - <500ms response time (95th percentile)
- **Reliable** - Built on battle-tested libraries (pytz, astral, hijri-converter)

## Supported Features

### Cultural Calendars (9)
- Hebrew (with holiday detection)
- Islamic (with Ramadan, prayer times)
- Chinese (lunisolar, zodiac animals)
- Hindu (festival dates)
- Persian (Nowruz, etc.)
- Buddhist (Vesak, observances)
- Bahรก'รญ (calendar system)
- Ethiopian (unique calendar)
- Mayan (long count)

### Prayer Times
- All 5 daily prayers (Fajr, Dhuhr, Asr, Maghrib, Isha)
- Multiple calculation methods (MWL, ISNA, Egypt, Makkah, Karachi, Tehran, Jafari)
- Qibla direction to Mecca
- Next prayer countdown

### Religious Observances
- Shabbat detection and times
- Ramadan fasting hours
- Jewish holidays and restrictions
- Work permission status
- Fasting day detection

## Troubleshooting

### MCP Server Not Appearing
- Verify installation: `which vreme-temporal-mcp`
- Check your client's config file syntax (valid JSON)
- Completely restart your AI client (quit and reopen)

### Connection Issues
- Requires internet access (queries api.vreme.ai)
- Check API status: `curl https://api.vreme.ai/health`
- Firewall/VPN may be blocking

### Query Errors
- Try major city names first
- Use simple queries: "What time is it in London?"
- Some obscure locations may not be recognized

## API

This MCP server is powered by the public [Vreme Time API](https://api.vreme.ai).

**Endpoint:** `https://api.vreme.ai/query`

You can also use the API directly:

```bash
curl -X POST https://api.vreme.ai/query \
  -H "Content-Type: application/json" \
  -d '{"query": "What time is it in Tokyo?"}'
```

## Links

- **Website:** [www.vreme.ai](https://www.vreme.ai)
- **Documentation:** [www.vreme.ai/docs](https://www.vreme.ai/docs)
- **Examples:** [www.vreme.ai/docs/examples](https://www.vreme.ai/docs/examples)
- **GitHub:** [github.com/vreme-ai/temporal-mcp](https://github.com/vreme-ai/temporal-mcp)
- **API:** [api.vreme.ai](https://api.vreme.ai)

## License

MIT License - Free and open source forever.

## About Vreme

Vreme (Bulgarian: "time") is building temporal intelligence for AI. This time service is the first product โ€” validating the architecture for our upcoming temporal memory service.

**Time, understood.** Your AI knows what time it is anywhere, respects cultural calendars, and understands contextual appropriateness.

**Memory, preserved.** Coming Q2 2026: Your AI remembers every conversation, every insight, every step of your learning journey.

---

**Questions?** hello@vreme.ai

**Built with โค๏ธ for temporal awareness**

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation2/5

The tools have significant overlap, particularly between 'check_activity_appropriateness' and 'query_time', as both handle activity appropriateness, cultural/religious observances, and work restrictions. 'query_prayer_times' is more distinct but still overlaps with the Islamic calendar aspects of the other tools, leading to potential confusion for an agent trying to select the right tool.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, using clear verbs like 'check', 'query', and 'query' again. The naming is predictable and readable, with no deviations in style or convention across the three tools.

Tool Count3/5

With only 3 tools, the server feels thin for its broad scope covering temporal information, cultural calendars, religious observances, and activity appropriateness. This limited set may not fully support complex workflows, as agents might need more specialized tools for distinct aspects like calendar conversions or event tracking.

Completeness2/5

The tool surface has significant gaps for the inferred domain of temporal and cultural information. For example, there are no tools for creating or updating calendar events, converting between different calendar systems, or managing user-specific preferences. The existing tools provide querying capabilities but lack lifecycle operations, making the server incomplete for comprehensive temporal management tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues