GitHub Calendar MCP Server
Enables AI assistants to interact with GitHub project boards as calendar events, analyze team workloads, and provide scheduling insights. Supports team status tracking, workload distribution analysis, and smart task assignment recommendations.
README
GitHub Calendar MCP Server
A Model Context Protocol (MCP) server that provides GitHub project calendar and team management capabilities. This server allows AI assistants like Goose to interact with GitHub project boards, analyze team workloads, and provide scheduling insights.
Features
- 📅 Calendar Events: Fetch GitHub project issues as calendar events
- 👥 Team Status: Get current status of all team members
- 📊 Workload Analysis: Analyze team workload distribution
- 🎯 Smart Assignment: Find the best team member for new tasks
- 📋 Personal Schedules: Get individual team member schedules
- 🔍 Flexible Filtering: Filter by organization, project, dates, and assignees
Installation
-
Clone or create the project directory:
mkdir github-calendar-mcp-server cd github-calendar-mcp-server -
Install dependencies:
npm install -
Set up environment variables: Create a
.envfile or set environment variables:export GITHUB_TOKEN=your_github_personal_access_tokenTo create a GitHub token:
- Go to GitHub Settings → Developer settings → Personal access tokens
- Create a new token with these permissions:
repo(for private repositories)read:org(for organization data)read:project(for project boards)
Usage
Running the Server
npm start
The server will start and listen for MCP connections on stdio.
Integration with Goose
Add this configuration to your Goose MCP settings:
{
"mcpServers": {
"github-calendar": {
"command": "node",
"args": ["/full/path/to/github-calendar-mcp-server/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Available Tools
1. get_team_status
Get current status of all development team members.
Example prompts:
- "What's the current team status?"
- "Show me how busy everyone is"
- "Get team workload overview"
2. get_person_schedule
Get schedule for a specific team member.
Parameters:
login(required): GitHub usernamedays(optional): Number of days to look ahead (default: 7)
Example prompts:
- "What's Alice's schedule for the next week?"
- "Show me Bob's upcoming work for the next 14 days"
3. analyze_workload
Analyze team workload distribution.
Example prompts:
- "Analyze the team workload"
- "Who has the most/least work?"
- "Show me workload distribution"
4. find_best_assignee
Find the team member with the lightest workload.
Example prompts:
- "Who should I assign this new task to?"
- "Find the best person for a new assignment"
- "Who has the lightest workload?"
5. get_calendar_events
Get GitHub project calendar events with filtering options.
Parameters:
org(optional): GitHub organization (default: "squareup")project(optional): Project number (default: 333)since(optional): ISO date string to filter from (default: "2025-08-01")assignee(optional): Filter by GitHub username
Example prompts:
- "Show me all calendar events"
- "Get events for Alice"
- "Show me events since September 2025"
- "Get calendar events for the design team project"
Configuration
The server is pre-configured for:
- Organization:
squareup - Project:
333 - Label Filter:
area: devrel-opensource - Date Range: From August 2025 onwards
You can modify these defaults in the index.js file:
const DEFAULT_ORG = 'your-org';
const DEFAULT_PROJECT_NUMBER = 123;
const DEFAULT_LABEL = 'your-label';
Data Sources
The server fetches data from:
- GitHub Projects v2 API (GraphQL) - Primary source
- GitHub Search API - Fallback if GraphQL fails
- Issue custom fields - For start/end dates
- Issue body parsing - Backup date extraction
- Milestone due dates - Additional date source
Error Handling
The server includes comprehensive error handling:
- Authentication errors: Clear messages about GitHub token issues
- API rate limits: Graceful handling of GitHub API limits
- Network issues: Fallback between GraphQL and REST APIs
- Missing data: Sensible defaults for incomplete information
Example Interactions
You: "What's the team status?"
Goose: "Here's the current team status:
**alice**
- Active Issues: 3
- Upcoming Issues: 1
- Overdue Issues: 0
- Total Workload: 4
**bob**
- Active Issues: 1
- Upcoming Issues: 2
- Overdue Issues: 1
- Total Workload: 4"
You: "Who should I assign a new task to?"
Goose: "**alice** has the lightest workload:
- Current workload: 2 issues
- Active: 2
- Upcoming: 0
- Overdue: 0"
You: "Show me Bob's schedule for next week"
Goose: "# Schedule for bob (Next 7 days)
**Fix login bug** (open)
- Start: Sep 23, 2025
- End: Sep 25, 2025
- URL: https://github.com/org/repo/issues/123"
Troubleshooting
Common Issues
-
"Authentication failed" error:
- Verify your
GITHUB_TOKENis set correctly - Check that the token has required permissions
- Ensure the token hasn't expired
- Verify your
-
"Project not found" error:
- Verify the organization and project number
- Check that your token has access to the project
- Ensure the project exists and is accessible
-
"No events found" error:
- Check the date range (default starts from Aug 2025)
- Verify the label filter matches your issues
- Ensure issues exist with the specified criteria
-
Server doesn't start:
- Run
npm installto ensure dependencies are installed - Check Node.js version (requires 16+)
- Verify the
index.jsfile has execute permissions
- Run
Debug Mode
For debugging, you can add console logging by modifying the server code or checking the error output when running the server.
Development
To extend the server:
- Add new tools: Modify the
setupToolHandlers()method - Add new data sources: Extend the GitHub API integration
- Add UI components: Integrate with
@mcp-ui/serverfor interactive interfaces - Add caching: Implement Redis or file-based caching for better performance
License
MIT License - feel free to modify and distribute as needed.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.