MCP Hub
Back to servers

YearAtAGlance MCP Server

Integrates the YearAtAGlance calendar with AI assistants to manage events, categories, and event density heatmaps. It enables users to perform CRUD operations on calendar data and utilize AI-powered features like natural language milestone creation and yearly analysis.

glama
Updated
Jan 21, 2026

YearAtAGlance MCP Server

MCP (Model Context Protocol) server for integrating YearAtAGlance calendar with Claude Code and other MCP-compatible AI assistants.

Installation

npm install -g @yearataglance/mcp-server

Or use directly with npx:

npx @yearataglance/mcp-server

Configuration

1. Get your API Key

  1. Go to YearAtAGlance
  2. Navigate to Profile > API Keys
  3. Create a new API key with the permissions you need
  4. Copy the key (it's only shown once!)

2. Configure Claude Code

Add to your ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "yearataglance": {
      "command": "npx",
      "args": ["@yearataglance/mcp-server"],
      "env": {
        "YAAG_API_KEY": "your-api-key-here",
        "YAAG_API_URL": "https://yearataglance-backend-production.up.railway.app/api/v1"
      }
    }
  }
}

Available Tools

Events

ToolDescription
yaag_list_eventsList all events, optionally filtered by year and category
yaag_get_eventGet details of a specific event
yaag_create_eventCreate a new event
yaag_update_eventUpdate an existing event
yaag_delete_eventDelete an event
yaag_get_heatmapGet event density heatmap for a year

Categories

ToolDescription
yaag_list_categoriesList all categories
yaag_get_categoryGet details of a specific category
yaag_create_categoryCreate a new category
yaag_update_categoryUpdate an existing category
yaag_delete_categoryDelete a category

AI

ToolDescription
yaag_ai_statusCheck AI service status
yaag_ai_create_milestoneCreate event from natural language
yaag_ai_analyze_yearGet AI analysis of a year's events
yaag_ai_chatChat with AI about your calendar

Usage Examples

Once configured, you can use natural language in Claude Code:

"Show me all my events for 2025"
"Create an event called 'Team Offsite' from March 10-12"
"What categories do I have?"
"Create a new category called 'Health' with green color"
"Delete the event with ID xyz123"

Environment Variables

VariableRequiredDefaultDescription
YAAG_API_KEYYes-Your YearAtAGlance API key
YAAG_API_URLNoProduction URLAPI base URL

Permissions

API keys can have different permissions:

  • read: List and view events/categories
  • write: Create, update, delete events/categories
  • ai: Use AI features (milestone creation, analysis, chat)

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

License

MIT

Reviews

No reviews yet

Sign in to write a review