# outlook-mac-mcp [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/valter-araujo/outlook-mac-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/outlook-mac-mcp

## Description
MCP server for Outlook personal accounts (Hotmail/Outlook.com) via Microsoft Graph API

## Tools
Capabilities this server exposes over MCP:

- **count_emails** — Count emails matching the same filters as `list_emails`, exactly, without listing them.
- **get_email** — Fetch one email by id, body included.
- **list_emails** — List emails in a folder with any combination of filters (read state, sender, date range, attachments), sorted newest or oldest, with an exact total.
- **list_folders** — List the mailbox's well-known folders with their unread and total item counts, plus every user-created folder found by walking the mailbox tree, each identified by its full path.
- **list_largest_emails** — List a folder's largest emails by byte size, largest first, scanning up to 10,000 matching emails per call; emails with no determinable size are counted separately in `skipped`.
- **list_todays_events** — List today's calendar events, earliest first.
- **list_unread_emails** — List unread emails in a folder, newest first.
- **list_upcoming_events** — List calendar events from now through 1–30 days ahead.
- **search_contacts** — Search contacts by a display-name prefix or an exact email address.
- **search_emails** — Search a folder for a term, ranked by relevance, not by date.
- **top_senders** — Rank a folder's senders by how many emails each sent, scanning up to 10,000 matching emails per call.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/valter-araujo/outlook-mac-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/valter-araujo/outlook-mac-mcp.git
```

2. Install:

```sh
uv sync
```

3. Sign in:

```sh
uv run outlook-mac-mcp sign-in
```

## Documentation

## What outlook-mac-mcp does

The outlook-mac-mcp MCP server exposes read operations for personal Microsoft mailboxes through the Microsoft Graph API. It works with Hotmail, Outlook.com, and Live accounts, including accounts that use consumer Microsoft infrastructure rather than Exchange Online. The server does not control the Outlook desktop application, so Outlook for Mac does not need to be installed or open.

Email tools can enumerate folders, count matching messages, retrieve a message with its body, and list messages using combinations of read-state, sender, date-range, and attachment filters. Results can be ordered by newest or oldest. Additional tools find unread messages, search a folder by term, identify the largest messages, and rank senders by message count.

Calendar tools return events for the current day or for a selected period of one to 30 days ahead. Contact search accepts a display-name prefix or an exact email address.

## How it works

The server is a Python application using the stdio MCP transport. It authenticates with Microsoft Authentication Library through device-code flow as a public client, so no client secret is used. Microsoft Graph receives delegated permissions after the user signs in and grants consent.

Default permissions cover mail reading, calendar reading, contact reading, offline access, and basic user information. Network access is limited to Microsoft login and Graph endpoints over HTTPS. Refresh-token data is cached in the macOS Keychain.

## Setup and configuration

The supported runtime is macOS 13 Ventura or later with Python 3.12 or newer. The project manages Python dependencies with `uv` and includes a locked dependency file. You must register an application in Microsoft Entra ID and select the account type that supports both organizational directories and personal Microsoft accounts. A personal account requires its own tenant, created through the Azure Portal.

After registration, configure the MCP client to launch the Python stdio server and complete the device-code sign-in flow. The desktop Outlook application, Exchange Online, Node.js, Bun, and macOS Automation permissions are not required.

## Tools and capabilities

The outlook-mac-mcp MCP server includes these read tools:

- `count_emails` counts messages using the same filters as `list_emails`.
- `get_email` retrieves one message by ID, including its body.
- `list_emails` filters and sorts messages and returns an exact total.
- `list_folders` reports standard and discovered custom folders with unread and total counts.
- `list_largest_emails` ranks messages by byte size.
- `list_todays_events` returns today’s events in chronological order.
- `list_upcoming_events` returns events from now through a chosen future range.
- `list_unread_emails` returns unread messages, newest first.
- `search_contacts` searches names or exact addresses.
- `search_emails` ranks folder matches by relevance.
- `top_senders` ranks senders by message volume.

## Limitations and notes

Large-message and sender-ranking scans examine at most 10,000 matching messages per call. Messages without a determinable size are reported separately by `list_largest_emails`. Folder discovery walks the mailbox tree and identifies custom folders by full path; Microsoft-managed folders without a well-known classification may appear among custom folders.

The current read tools do not mark messages as read or send email. `search_contacts` has automated API coverage but had not been validated against a live mailbox in the supplied project notes. The reference validation used Claude Desktop with a personal Hotmail account and New Outlook, but the server communicates with Graph independently of the installed Outlook application.

_Full upstream README: https://allmcps.com/mcp/outlook-mac-mcp/readme_

