Azhar/claude-outlook-mcp
Built by Metorial, the integration platform for agentic AI.
Azhar/claude-outlook-mcp
Server Summary
Read unread and regular emails
Search emails by keywords
Send emails with to, cc, and bcc
Send HTML-formatted emails
Attach files to emails
List mail folders
View today's events
View upcoming events
Search for events
Create new calendar events
List contacts
Search contacts by name
This is a Model Context Protocol (MCP) tool that allows Claude to interact with Microsoft Outlook for macOS.
git clone https://github.com/syedazharmbnr1/claude-outlook-mcp.git
cd claude-outlook-mcp
bun install
chmod +x index.ts
Edit your claude_desktop_config.json
file (located at ~/Library/Application Support/Claude/claude_desktop_config.json
) to include this tool:
{
"mcpServers": {
"outlook-mcp": {
"command": "/Users/YOURUSERNAME/.bun/bin/bun",
"args": ["run", "/path/to/claude-outlook-mcp/index.ts"]
}
}
}
Make sure to replace YOURUSERNAME
with your actual macOS username and adjust the path to where you cloned this repository.
Restart Claude Desktop app
Grant permissions:
Once installed, you can use the Outlook tool directly from Claude by asking questions like:
Check my unread emails in Outlook
Send an email to [email protected] with subject "Project Update" and the following body: Here's the latest update on our project. We've completed phase 1 and are moving on to phase 2.
Send an HTML email to [email protected] with subject "Weekly Report" and attach the quarterly_results.pdf file
Search my emails for "budget meeting"
What events do I have today?
Create a calendar event for a team meeting tomorrow from 2pm to 3pm
Show me my upcoming events for the next 2 weeks
List all my Outlook contacts
Search for contact information for Jane Smith
You can send rich HTML-formatted emails by setting the isHtml
parameter to true:
Send an HTML email to [email protected] with the subject "Project Update" and body "Project UpdateWe've made significant progress on the project."
You can attach files to your emails by providing the file paths in the attachments
parameter:
Send an email to [email protected] with subject "Monthly Report" and attach the reports/march_2025.pdf file
For best results with attachments:
If you encounter issues with attachments:
If you encounter the error Cannot find module '@modelcontextprotocol/sdk/server/index.js'
:
bun install
to install all dependenciesbun add @modelcontextprotocol/sdk@^1.5.0
ls -la node_modules/@modelcontextprotocol/sdk/server/
If the error persists, try creating a new project with Bun:
mkdir -p ~/yourpath/claude-outlook-mcp
cd ~/yourpath/claude-outlook-mcp
bun init -y
Then copy the package.json and index.ts files to the new directory and run:
bun install
bun run index.ts
Update your claude_desktop_config.json to point to the new location.
MIT