⚠️ DISCLAIMER: This is an UNOFFICIAL TimeTree MCP server for PERSONAL USE ONLY. Not affiliated with TimeTree, Inc. May break at any time. See DISCLAIMER.md for full details.
An unofficial MCP (Model Context Protocol) server that allows MCP clients (Claude Desktop, Claude Code, Codex, Antigravity, Cline, Cursor, Windsurf, etc.) to access your TimeTree calendar data.
Credits: This project was inspired by and uses API insights from TimeTree-Exporter by @eoleedi.
- 📅 List Calendars - Get all your TimeTree calendars
- 📆 Get Events - Retrieve events from any calendar with automatic pagination
- ➕ Create Events - Add new events to your calendars
- ✏️ Update Events - Modify existing events
- 🗑️ Delete Events - Remove events from your calendars
- 🔐 Secure Authentication - Email/password authentication (stored only in MCP config)
- ⚡ Rate Limiting - Token bucket algorithm to prevent API overload
- 🔄 Auto Pagination - Automatically fetches all events across multiple pages
- 🛡️ Error Handling - Comprehensive error handling with user-friendly messages
- 📝 Structured Logging - Detailed logs with sensitive data masking
- Node.js >= 18.0.0
- Git (for installation)
- A TimeTree account
- An MCP-compatible client (Claude Desktop, Claude Code, Codex, Antigravity, Cline, etc.)
One-line installation - Automatically clones, builds, and configures:
curl -fsSL https://raw.githubusercontent.com/ehs208/TimeTree-MCP/main/TimeTree-MCP-install.sh | bashThe script will show configuration instructions for all supported MCP clients. Just copy the config for your client and add your TimeTree credentials.
Uninstall:
curl -fsSL https://raw.githubusercontent.com/ehs208/TimeTree-MCP/main/TimeTree-MCP-uninstall.sh | bashClick to expand manual installation steps
- Clone and build:
git clone https://github.com/ehs208/TimeTree-MCP.git
cd TimeTree-MCP
npm install
npm run build- Link the package:
npm link- Configure your MCP client:
See the Configuration section below to set up your MCP client.
1️⃣ Claude Desktop (macOS)
File: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"timetree": {
"command": "npx",
"args": ["timetree-mcp"],
"env": {
"TIMETREE_EMAIL": "your-email@example.com",
"TIMETREE_PASSWORD": "your-password"
}
}
}
}Then: Restart Claude Desktop (Cmd+Q and reopen)
2️⃣ Claude Desktop (Windows)
File: %APPDATA%\Claude\claude_desktop_config.json
Configuration: Same as macOS (see above)
Then: Restart Claude Desktop
3️⃣ Claude Code (CLI)
claude mcp add timetree \
--env TIMETREE_EMAIL=your@email.com \
--env TIMETREE_PASSWORD=yourpass \
-- npx timetree-mcp4️⃣ Codex (OpenAI)
File: ~/.codex/config.toml (or .codex/config.toml for project-specific)
[[mcp.servers]]
name = "timetree"
command = "npx"
args = ["timetree-mcp"]
[mcp.servers.env]
TIMETREE_EMAIL = "your-email@example.com"
TIMETREE_PASSWORD = "your-password"Then: Restart Codex CLI or reload IDE extension
5️⃣ Google Antigravity
File (Windows): C:\Users\<USER_NAME>\.gemini\antigravity\mcp_config.json
File (macOS/Linux): ~/.gemini/antigravity/mcp_config.json
Or via UI: Click ⋮ (top right) → MCP Servers → Manage MCP Servers → View raw config
{
"mcpServers": {
"timetree": {
"command": "npx",
"args": ["timetree-mcp"],
"env": {
"TIMETREE_EMAIL": "your-email@example.com",
"TIMETREE_PASSWORD": "your-password"
}
}
}
}6️⃣ VS Code-based Editors (Cline, Cursor, Windsurf, etc.)
Configuration varies by editor. Most use similar MCP config format.
Example for Cline (VS Code Extension):
File: cline_mcp_settings.json
{
"mcpServers": {
"timetree": {
"command": "npx",
"args": ["timetree-mcp"],
"env": {
"TIMETREE_EMAIL": "your-email@example.com",
"TIMETREE_PASSWORD": "your-password"
}
}
}
}Then: Reload your editor window
7️⃣ Other MCP Clients
Most MCP clients support this standard format:
{
"command": "npx",
"args": ["timetree-mcp"],
"env": {
"TIMETREE_EMAIL": "your-email@example.com",
"TIMETREE_PASSWORD": "your-password"
}
}📖 See COMMANDS.md for detailed usage examples and workflows
- list_calendars - List all calendars with participating users
- get_events - Get events from a calendar with auto-pagination
- create_event - Create a new event in a calendar
- update_event - Update an existing event
- delete_event - Delete an event from a calendar
📖 See COMMANDS.md for parameters and usage details.
# Build the project
npm run build
# Watch mode (auto-rebuild on changes)
npm run dev- Unofficial API: May break if TimeTree changes their internal API
- Rate Limited: 10 requests/second (with automatic retry for 429 errors)
- No Official Support: TimeTree does not officially support this tool
- CSRF Token Required: Write operations require CSRF token (automatically extracted from TimeTree web page)
- Credentials are stored only in your local MCP configuration
- Session cookies are stored in memory only (never persisted to disk)
- Passwords and session IDs are automatically masked in logs
- All communication uses HTTPS
Make sure TIMETREE_EMAIL and TIMETREE_PASSWORD are set in your MCP configuration.
- Verify your email and password are correct
- Check if you can log in to TimeTree web app
- TimeTree might have changed their authentication API
- Verify you have calendars/events in your TimeTree account
- Check the logs for detailed error messages
- The API might have changed
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details.
See DISCLAIMER.md for important legal and usage information.
NOT AFFILIATED WITH TIMETREE, INC.
This is an independent, community-maintained project.