MCP Outlook Tools
Interact with Microsoft Outlook for calendar management, email operations, and search functionality.
MCP Outlook Tools
A Model Context Protocol (MCP) server implementation that enables AI assistants to interact with Microsoft Outlook for calendar management, email operations, and search functionality.
Features
-
š Calendar Management
- Get calendar items within a date range
- Add new appointments with full details
- Support for categories and busy status
-
š§ Email Operations
- Send emails with To/CC recipients
- Display confirmation before sending
- Full body formatting support
-
š Email Search
- Search emails by date and keyword
- Extract user information from addresses
- Japanese text encoding support
Requirements
- Windows OS (required for pywin32)
- Microsoft Outlook installed and configured
- Python 3.10 or higher
- MCP-compatible AI assistant (e.g., Claude Desktop)
Installation
- Clone the repository:
git clone https://github.com/wmoto-ai/mcp-outlook-tools.git
cd mcp-outlook-tools
- Install dependencies using uv:
uv pip install -e .
Or using pip:
pip install -e .
Configuration
For Claude Desktop
Add the following to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"outlook-tools": {
"command": "uv",
"args": [
"--directory",
"C:/path/to/mcp-outlook-tools",
"run",
"--with-editable",
".",
"-m",
"outlook_tools.server"
],
"cwd": "C:/path/to/mcp-outlook-tools",
"env": {
"PYTHONIOENCODING": "utf-8"
}
}
}
}
Usage
Once configured, the following tools are available in your AI assistant:
add_appointment
Add a new appointment to Outlook calendar
Parameters:
- subject: Appointment title
- start_time: Start datetime (YYYY-MM-DD HH:MM)
- end_time: End datetime (YYYY-MM-DD HH:MM)
- location: Meeting location (optional)
- description: Detailed description (optional)
- categories: Comma-separated categories (optional)
- busy_status: 0=Free, 1=Tentative, 2=Busy, 3=Out of Office (default: 1)
get_calendar
Get calendar items for a date range
Parameters:
- start_date: Start date (YYYY-MM-DD)
- end_date: End date (YYYY-MM-DD)
send_email
Send an email via Outlook
Parameters:
- to: Recipient email addresses (semicolon-separated)
- cc: CC recipients (semicolon-separated)
- subject: Email subject
- body: Email body text
Project Structure
mcp-outlook-tools/
āāā src/
ā āāā outlook_tools/
ā āāā __init__.py
ā āāā server.py # MCP server implementation
ā āāā calendar_service.py # Calendar operations
ā āāā search_service.py # Email search operations
āāā test/ # Test files
āāā pyproject.toml # Project configuration
āāā README.md # This file
Development
Running Tests
pytest test/
Type Checking
pyright src/
Linting
ruff check src/
Security Notes
- This tool requires access to your local Outlook installation
- Emails are displayed before sending for user confirmation
- No credentials are stored in the code
- All operations use Windows COM interface with existing Outlook authentication
Limitations
- Windows only (due to pywin32 dependency)
- Requires Outlook to be installed and configured
- Time zone handling assumes JST (+9 hours)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built with FastMCP framework
- Uses pywin32 for Outlook COM interface
Related Servers
md-pdf-mcp
Converts Markdown to styled PDFs using VS Code's markdown styling and Python's ReportLab.
Memory Graph
A graph-based Model Context Protocol (MCP) server that gives AI coding agents persistent memory. Originally built for Claude Code, MemoryGraph works with any MCP-enabled coding agent. Store development patterns, track relationships, and retrieve contextual knowledge across sessions and projects.
Peekaboo
a macOS-only MCP server that enables AI agents to capture screenshots of applications, or the entire system.
DeepSRT
Summarize YouTube videos using the DeepSRT API.
Guck MCP
Guck is a tiny, MCP-first telemetry store for agentic debugging
Home Assistant
Interact with Home Assistant to control smart home devices, query states, manage automations, and troubleshoot your smart home setup.
Dub.co
Interact with the Dub.co API to shorten links, manage custom domains, and track analytics.
Canvas MCP Server
An MCP server for Canvas LMS, providing full functionality for both students and instructors.
Planfix
An MCP server for integrating with the Planfix project management and CRM platform.
Anki Connect
Manage Anki flashcards and decks via the AnkiConnect plugin.