This MCP server enables AI assistants to manage Google Calendar through natural language interactions, providing a seamless way to create, update, and manage calendar events directly from Claude Desktop.
To install automatically using Smithery:
npx -y @smithery/cli install @falgom4/calendar-mcp --client claude
http://localhost:3000/oauth2callback
to the authorized redirect URIsgcp-oauth.keys.json
You can authenticate in two ways:
Global Authentication (Recommended):
# First time: Place gcp-oauth.keys.json in your home directory's .calendar-mcp folder
mkdir -p ~/.calendar-mcp
mv gcp-oauth.keys.json ~/.calendar-mcp/
# Run authentication from anywhere
npx @nchufa/calendar auth
Local Authentication:
# Place gcp-oauth.keys.json in your current directory
# The file will be automatically copied to global config
npx @nchufa/calendar auth
The authentication process will:
gcp-oauth.keys.json
in the current directory or ~/.calendar-mcp/
~/.calendar-mcp/
if found in the current directory~/.calendar-mcp/credentials.json
Add the following to your Claude Desktop configuration file:
{
"mcpServers": {
"calendar": {
"command": "npx",
"args": [
"@nchufa/calendar"
]
}
}
}
The server provides several tools for managing Google Calendar:
Create a new calendar event with details:
{
"summary": "Team Meeting",
"description": "Weekly team sync to discuss project progress",
"location": "Conference Room A",
"start": "2025-04-01T14:00:00",
"end": "2025-04-01T15:00:00",
"attendees": ["[email protected]", "[email protected]"],
"reminders": {
"useDefault": false,
"overrides": [
{
"method": "email",
"minutes": 30
},
{
"method": "popup",
"minutes": 10
}
]
}
}
You can also use natural language for dates:
{
"summary": "Coffee with John",
"location": "Starbucks Downtown",
"start": "tomorrow at 2:30pm",
"end": "tomorrow at 3:30pm"
}
Retrieve details of a specific event:
{
"eventId": "abc123xyz456",
"calendarId": "primary"
}
Update an existing event:
{
"eventId": "abc123xyz456",
"summary": "Updated Meeting Title",
"location": "New Location",
"start": "2025-04-01T15:00:00",
"end": "2025-04-01T16:00:00"
}
Delete a calendar event:
{
"eventId": "abc123xyz456",
"calendarId": "primary"
}
List events within a date range:
{
"calendarId": "primary",
"timeMin": "2025-04-01T00:00:00",
"timeMax": "2025-04-07T23:59:59",
"maxResults": 10,
"orderBy": "startTime"
}
Search for events matching a keyword:
{
"query": "meeting",
"calendarId": "primary",
"timeMin": "2025-04-01T00:00:00",
"maxResults": 5
}
List all available calendars:
{}
The server supports various formats for dates and times:
gcp-oauth.keys.json
is in your current directory or ~/.calendar-mcp/
web
or installed
credentialsTo add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "calendar" '{"command":"npx","args":["@nchufa/calendar"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"calendar": {
"command": "npx",
"args": [
"@nchufa/calendar"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"calendar": {
"command": "npx",
"args": [
"@nchufa/calendar"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect