ICS Calendar MCP Server
Enables reading and interacting with ICS calendar feeds (e.g., Outlook, Google Calendar) with recurring event expansion, caching, and timezone support.
README
ICS Calendar MCP Server
A lightweight MCP (Model Context Protocol) server for reading ICS calendar feeds with proper recurring event expansion.
Features
- Fetch and parse ICS calendar feeds (Outlook, Google Calendar, etc.)
- Properly expands recurring events using
recurring-ical-events - Caches calendar data to reduce API calls
- Timezone-aware event handling
- Simple configuration via environment variables
Installation
Using uvx (recommended)
uvx --from git+https://github.com/adamchrabaszcz/ics-calendar-mcp ics-calendar-mcp
Using pip
pip install git+https://github.com/adamchrabaszcz/ics-calendar-mcp
From source
git clone https://github.com/adamchrabaszcz/ics-calendar-mcp
cd ics-calendar-mcp
pip install -e .
Configuration
Set the following environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
ICS_CALENDAR_URL |
Yes | - | URL to the ICS calendar feed |
ICS_CACHE_TTL |
No | 300 | Cache duration in seconds |
ICS_TIMEZONE |
No | Europe/Warsaw | Default timezone for events |
Example: Outlook Calendar
export ICS_CALENDAR_URL="https://outlook.office365.com/owa/calendar/xxx@domain.com/yyy/calendar.ics"
MCP Tools
get_events_today
Get all calendar events for today.
{
"date": "2024-03-10",
"events": [...],
"count": 3
}
get_events_range
Get events within a date range.
Parameters:
start_date(string): Start date in ISO format (YYYY-MM-DD)end_date(string): End date in ISO format (YYYY-MM-DD)
{
"start_date": "2024-03-01",
"end_date": "2024-03-31",
"events": [...],
"count": 15
}
get_event_details
Get detailed information about a specific event.
Parameters:
event_uid(string): The unique identifier of the event
list_recurring_events
List all recurring events with their recurrence rules.
{
"events": [
{
"uid": "event-123",
"summary": "Weekly Standup",
"recurrence": {
"frequency": "WEEKLY",
"days": ["MO", "TU", "WE", "TH", "FR"],
"description": "weekly on Monday, Tuesday, Wednesday, Thursday, Friday"
}
}
],
"count": 5
}
search_events
Search for events matching a query.
Parameters:
query(string): Search termstart_date(string, optional): Start date for search rangeend_date(string, optional): End date for search range
Claude Code Configuration
Add to your ~/.claude/mcp.json:
{
"mcpServers": {
"ics-calendar": {
"command": "uvx",
"args": ["--from", "git+https://github.com/adamchrabaszcz/ics-calendar-mcp", "ics-calendar-mcp"],
"env": {
"ICS_CALENDAR_URL": "https://your-calendar-url.ics"
}
}
}
}
Development
Setup
git clone https://github.com/adamchrabaszcz/ics-calendar-mcp
cd ics-calendar-mcp
pip install -e ".[dev]"
Run tests
pytest tests/
Run locally
ICS_CALENDAR_URL="https://your-calendar.ics" python -m ics_calendar_mcp
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.